OmniSciDB  8fa3bf436f
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros 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 1361 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1362 of file MapDSqlOperatorTable.java.

1362  {
1363  super("ST_StartPoint",
1364  SqlKind.OTHER_FUNCTION,
1365  null,
1366  null,
1367  OperandTypes.family(SqlTypeFamily.ANY),
1368  SqlFunctionCategory.SYSTEM);
1369  }

Member Function Documentation

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

Definition at line 1372 of file MapDSqlOperatorTable.java.

References INTEGER.

1372  {
1373  assert opBinding.getOperandCount() == 1;
1374  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1375  return typeFactory.createTypeWithNullability(
1376  typeFactory.createSqlType(SqlTypeName.INTEGER),
1377  opBinding.getOperandType(0).isNullable());
1378  }
#define INTEGER

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