OmniSciDB  c07336695a
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 1279 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

◆ ST_Point()

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

Definition at line 1280 of file MapDSqlOperatorTable.java.

1280  {
1281  super("ST_Point",
1282  SqlKind.OTHER_FUNCTION,
1283  null,
1284  null,
1285  OperandTypes.family(SqlTypeFamily.NUMERIC, SqlTypeFamily.NUMERIC),
1286  SqlFunctionCategory.SYSTEM);
1287  }

Member Function Documentation

◆ inferReturnType()

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

Definition at line 1290 of file MapDSqlOperatorTable.java.

1290  {
1291  assert opBinding.getOperandCount() == 2;
1292  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1293  return typeFactory.createSqlType(SqlTypeName.INTEGER);
1294  }

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