OmniSciDB  3a86f6ec37
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 1570 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

◆ ST_StartPoint()

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

Definition at line 1571 of file MapDSqlOperatorTable.java.

1571  {
1572  super("ST_StartPoint",
1573  SqlKind.OTHER_FUNCTION,
1574  null,
1575  null,
1576  OperandTypes.family(SqlTypeFamily.ANY),
1577  SqlFunctionCategory.SYSTEM);
1578  }

Member Function Documentation

◆ inferReturnType()

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

Definition at line 1581 of file MapDSqlOperatorTable.java.

1581  {
1582  assert opBinding.getOperandCount() == 1;
1583  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1584  return typeFactory.createTypeWithNullability(
1585  typeFactory.createSqlType(SqlTypeName.INTEGER),
1586  opBinding.getOperandType(0).isNullable());
1587  }

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