OmniSciDB  72c90bc290
 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 2294 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 2295 of file HeavyDBSqlOperatorTable.java.

2295  {
2296  super("ST_StartPoint",
2297  SqlKind.OTHER_FUNCTION,
2298  null,
2299  null,
2300  OperandTypes.family(SqlTypeFamily.ANY),
2301  SqlFunctionCategory.SYSTEM);
2302  }

Member Function Documentation

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

Definition at line 2305 of file HeavyDBSqlOperatorTable.java.

2305  {
2306  assert opBinding.getOperandCount() == 1;
2307  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
2308  return typeFactory.createTypeWithNullability(
2309  typeFactory.createSqlType(SqlTypeName.INTEGER),
2310  opBinding.getOperandType(0).isNullable());
2311  }

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