OmniSciDB  72c90bc290
 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 2274 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 2275 of file HeavyDBSqlOperatorTable.java.

2275  {
2276  super("ST_EndPoint",
2277  SqlKind.OTHER_FUNCTION,
2278  null,
2279  null,
2280  OperandTypes.family(SqlTypeFamily.ANY),
2281  SqlFunctionCategory.SYSTEM);
2282  }

Member Function Documentation

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

Definition at line 2285 of file HeavyDBSqlOperatorTable.java.

2285  {
2286  assert opBinding.getOperandCount() == 1;
2287  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
2288  return typeFactory.createTypeWithNullability(
2289  typeFactory.createSqlType(SqlTypeName.INTEGER),
2290  opBinding.getOperandType(0).isNullable());
2291  }

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