OmniSciDB  085a039ca4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
com.mapd.calcite.parser.HeavyDBSqlOperatorTable.ST_EndPoint Class Reference
+ Inheritance diagram for com.mapd.calcite.parser.HeavyDBSqlOperatorTable.ST_EndPoint:
+ Collaboration diagram for com.mapd.calcite.parser.HeavyDBSqlOperatorTable.ST_EndPoint:

Public Member Functions

RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Package Functions

 ST_EndPoint ()
 

Detailed Description

Definition at line 1816 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

com.mapd.calcite.parser.HeavyDBSqlOperatorTable.ST_EndPoint.ST_EndPoint ( )
inlinepackage

Definition at line 1817 of file HeavyDBSqlOperatorTable.java.

1817  {
1818  super("ST_EndPoint",
1819  SqlKind.OTHER_FUNCTION,
1820  null,
1821  null,
1822  OperandTypes.family(SqlTypeFamily.ANY),
1823  SqlFunctionCategory.SYSTEM);
1824  }

Member Function Documentation

RelDataType com.mapd.calcite.parser.HeavyDBSqlOperatorTable.ST_EndPoint.inferReturnType ( SqlOperatorBinding  opBinding)
inline

Definition at line 1827 of file HeavyDBSqlOperatorTable.java.

1827  {
1828  assert opBinding.getOperandCount() == 1;
1829  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1830  return typeFactory.createTypeWithNullability(
1831  typeFactory.createSqlType(SqlTypeName.INTEGER),
1832  opBinding.getOperandType(0).isNullable());
1833  }

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