OmniSciDB  85c2d10cdc
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 1521 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1522 of file MapDSqlOperatorTable.java.

1522  {
1523  super("ST_Point",
1524  SqlKind.OTHER_FUNCTION,
1525  null,
1526  null,
1527  OperandTypes.family(SqlTypeFamily.NUMERIC, SqlTypeFamily.NUMERIC),
1528  SqlFunctionCategory.SYSTEM);
1529  }

Member Function Documentation

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

Definition at line 1532 of file MapDSqlOperatorTable.java.

References INTEGER.

1532  {
1533  assert opBinding.getOperandCount() == 2;
1534  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1535  return typeFactory.createSqlType(SqlTypeName.INTEGER);
1536  }
#define INTEGER

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