OmniSciDB  c07336695a
com.mapd.calcite.parser.MapDSqlOperatorTable.ST_PointN Class Reference
+ Inheritance diagram for com.mapd.calcite.parser.MapDSqlOperatorTable.ST_PointN:
+ Collaboration diagram for com.mapd.calcite.parser.MapDSqlOperatorTable.ST_PointN:

Public Member Functions

RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Package Functions

 ST_PointN ()
 

Detailed Description

Definition at line 1099 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

◆ ST_PointN()

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

Definition at line 1100 of file MapDSqlOperatorTable.java.

1100  {
1101  super("ST_PointN",
1102  SqlKind.OTHER_FUNCTION,
1103  null,
1104  null,
1105  OperandTypes.family(SqlTypeFamily.ANY, SqlTypeFamily.INTEGER),
1106  SqlFunctionCategory.SYSTEM);
1107  }

Member Function Documentation

◆ inferReturnType()

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

Definition at line 1110 of file MapDSqlOperatorTable.java.

1110  {
1111  assert opBinding.getOperandCount() == 1;
1112  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1113  return typeFactory.createSqlType(SqlTypeName.INTEGER);
1114  }

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