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

Public Member Functions

RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Package Functions

 ST_NPoints ()
 

Detailed Description

Definition at line 1207 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

◆ ST_NPoints()

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

Definition at line 1208 of file MapDSqlOperatorTable.java.

1208  {
1209  super("ST_NPoints",
1210  SqlKind.OTHER_FUNCTION,
1211  null,
1212  null,
1213  OperandTypes.family(SqlTypeFamily.ANY),
1214  SqlFunctionCategory.SYSTEM);
1215  }

Member Function Documentation

◆ inferReturnType()

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

Definition at line 1218 of file MapDSqlOperatorTable.java.

1218  {
1219  assert opBinding.getOperandCount() == 1;
1220  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1221  return typeFactory.createSqlType(SqlTypeName.INTEGER);
1222  }

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