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

Public Member Functions

RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Package Functions

 ST_EndPoint ()
 

Detailed Description

Definition at line 2019 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 2020 of file HeavyDBSqlOperatorTable.java.

2020  {
2021  super("ST_EndPoint",
2022  SqlKind.OTHER_FUNCTION,
2023  null,
2024  null,
2025  OperandTypes.family(SqlTypeFamily.ANY),
2026  SqlFunctionCategory.SYSTEM);
2027  }

Member Function Documentation

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

Definition at line 2030 of file HeavyDBSqlOperatorTable.java.

2030  {
2031  assert opBinding.getOperandCount() == 1;
2032  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
2033  return typeFactory.createTypeWithNullability(
2034  typeFactory.createSqlType(SqlTypeName.INTEGER),
2035  opBinding.getOperandType(0).isNullable());
2036  }

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