OmniSciDB  2e3a973ef4
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 1509 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

◆ ST_Point()

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

Definition at line 1510 of file MapDSqlOperatorTable.java.

1510  {
1511  super("ST_Point",
1512  SqlKind.OTHER_FUNCTION,
1513  null,
1514  null,
1515  OperandTypes.family(SqlTypeFamily.NUMERIC, SqlTypeFamily.NUMERIC),
1516  SqlFunctionCategory.SYSTEM);
1517  }

Member Function Documentation

◆ inferReturnType()

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

Definition at line 1520 of file MapDSqlOperatorTable.java.

1520  {
1521  assert opBinding.getOperandCount() == 2;
1522  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1523  return typeFactory.createSqlType(SqlTypeName.INTEGER);
1524  }

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