OmniSciDB  471d68cefb
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups 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 1581 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1582 of file MapDSqlOperatorTable.java.

1582  {
1583  super("ST_Point",
1584  SqlKind.OTHER_FUNCTION,
1585  null,
1586  null,
1587  OperandTypes.family(SqlTypeFamily.NUMERIC, SqlTypeFamily.NUMERIC),
1588  SqlFunctionCategory.SYSTEM);
1589  }

Member Function Documentation

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

Definition at line 1592 of file MapDSqlOperatorTable.java.

References INTEGER.

1592  {
1593  assert opBinding.getOperandCount() == 2;
1594  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1595  return typeFactory.createSqlType(SqlTypeName.INTEGER);
1596  }
#define INTEGER

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