OmniSciDB  bf83d84833
 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 1730 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1731 of file MapDSqlOperatorTable.java.

1731  {
1732  super("ST_Point",
1733  SqlKind.OTHER_FUNCTION,
1734  null,
1735  null,
1736  OperandTypes.family(SqlTypeFamily.NUMERIC, SqlTypeFamily.NUMERIC),
1737  SqlFunctionCategory.SYSTEM);
1738  }

Member Function Documentation

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

Definition at line 1741 of file MapDSqlOperatorTable.java.

1741  {
1742  assert opBinding.getOperandCount() == 2;
1743  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1744  return typeFactory.createSqlType(SqlTypeName.INTEGER);
1745  }

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