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

Public Member Functions

RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Package Functions

 ST_StartPoint ()
 

Detailed Description

Definition at line 2052 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 2053 of file HeavyDBSqlOperatorTable.java.

2053  {
2054  super("ST_StartPoint",
2055  SqlKind.OTHER_FUNCTION,
2056  null,
2057  null,
2058  OperandTypes.family(SqlTypeFamily.ANY),
2059  SqlFunctionCategory.SYSTEM);
2060  }

Member Function Documentation

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

Definition at line 2063 of file HeavyDBSqlOperatorTable.java.

2063  {
2064  assert opBinding.getOperandCount() == 1;
2065  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
2066  return typeFactory.createTypeWithNullability(
2067  typeFactory.createSqlType(SqlTypeName.INTEGER),
2068  opBinding.getOperandType(0).isNullable());
2069  }

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