OmniSciDB  04ee39c94c
com.mapd.calcite.parser.MapDSqlOperatorTable.ST_NRings Class Reference
+ Inheritance diagram for com.mapd.calcite.parser.MapDSqlOperatorTable.ST_NRings:
+ Collaboration diagram for com.mapd.calcite.parser.MapDSqlOperatorTable.ST_NRings:

Public Member Functions

RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Package Functions

 ST_NRings ()
 

Detailed Description

Definition at line 1225 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

◆ ST_NRings()

com.mapd.calcite.parser.MapDSqlOperatorTable.ST_NRings.ST_NRings ( )
inlinepackage

Definition at line 1226 of file MapDSqlOperatorTable.java.

1226  {
1227  super("ST_NRings",
1228  SqlKind.OTHER_FUNCTION,
1229  null,
1230  null,
1231  OperandTypes.family(SqlTypeFamily.ANY),
1232  SqlFunctionCategory.SYSTEM);
1233  }

Member Function Documentation

◆ inferReturnType()

RelDataType com.mapd.calcite.parser.MapDSqlOperatorTable.ST_NRings.inferReturnType ( SqlOperatorBinding  opBinding)
inline

Definition at line 1236 of file MapDSqlOperatorTable.java.

1236  {
1237  assert opBinding.getOperandCount() == 1;
1238  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1239  return typeFactory.createSqlType(SqlTypeName.INTEGER);
1240  }

The documentation for this class was generated from the following file: