OmniSciDB  a5dc49c757
 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 2415 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 2416 of file HeavyDBSqlOperatorTable.java.

2416  {
2417  super("ST_EndPoint",
2418  SqlKind.OTHER_FUNCTION,
2419  null,
2420  null,
2421  OperandTypes.family(SqlTypeFamily.ANY),
2422  SqlFunctionCategory.SYSTEM);
2423  }

Member Function Documentation

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

Definition at line 2426 of file HeavyDBSqlOperatorTable.java.

2426  {
2427  assert opBinding.getOperandCount() == 1;
2428  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
2429  return typeFactory.createTypeWithNullability(
2430  typeFactory.createSqlType(SqlTypeName.INTEGER),
2431  opBinding.getOperandType(0).isNullable());
2432  }

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