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

Public Member Functions

RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Package Functions

 ST_EndPoint ()
 

Detailed Description

Definition at line 1341 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1342 of file MapDSqlOperatorTable.java.

1342  {
1343  super("ST_EndPoint",
1344  SqlKind.OTHER_FUNCTION,
1345  null,
1346  null,
1347  OperandTypes.family(SqlTypeFamily.ANY),
1348  SqlFunctionCategory.SYSTEM);
1349  }

Member Function Documentation

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

Definition at line 1352 of file MapDSqlOperatorTable.java.

References INTEGER.

1352  {
1353  assert opBinding.getOperandCount() == 1;
1354  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1355  return typeFactory.createTypeWithNullability(
1356  typeFactory.createSqlType(SqlTypeName.INTEGER),
1357  opBinding.getOperandType(0).isNullable());
1358  }
#define INTEGER

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