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

Public Member Functions

RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Package Functions

 ST_StartPoint ()
 

Detailed Description

Definition at line 1422 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1423 of file MapDSqlOperatorTable.java.

1423  {
1424  super("ST_StartPoint",
1425  SqlKind.OTHER_FUNCTION,
1426  null,
1427  null,
1428  OperandTypes.family(SqlTypeFamily.ANY),
1429  SqlFunctionCategory.SYSTEM);
1430  }

Member Function Documentation

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

Definition at line 1433 of file MapDSqlOperatorTable.java.

References INTEGER.

1433  {
1434  assert opBinding.getOperandCount() == 1;
1435  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1436  return typeFactory.createTypeWithNullability(
1437  typeFactory.createSqlType(SqlTypeName.INTEGER),
1438  opBinding.getOperandType(0).isNullable());
1439  }
#define INTEGER

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