OmniSciDB  29e35f4d58
com.mapd.calcite.parser.MapDSqlOperatorTable.ST_Point Class Reference
+ Inheritance diagram for com.mapd.calcite.parser.MapDSqlOperatorTable.ST_Point:
+ Collaboration diagram for com.mapd.calcite.parser.MapDSqlOperatorTable.ST_Point:

Public Member Functions

RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Package Functions

 ST_Point ()
 

Detailed Description

Definition at line 1340 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

◆ ST_Point()

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

Definition at line 1341 of file MapDSqlOperatorTable.java.

1341  {
1342  super("ST_Point",
1343  SqlKind.OTHER_FUNCTION,
1344  null,
1345  null,
1346  OperandTypes.family(SqlTypeFamily.NUMERIC, SqlTypeFamily.NUMERIC),
1347  SqlFunctionCategory.SYSTEM);
1348  }

Member Function Documentation

◆ inferReturnType()

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

Definition at line 1351 of file MapDSqlOperatorTable.java.

1351  {
1352  assert opBinding.getOperandCount() == 2;
1353  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1354  return typeFactory.createSqlType(SqlTypeName.INTEGER);
1355  }

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