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

Constructor & Destructor Documentation

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

Definition at line 1402 of file MapDSqlOperatorTable.java.

1402  {
1403  super("ST_EndPoint",
1404  SqlKind.OTHER_FUNCTION,
1405  null,
1406  null,
1407  OperandTypes.family(SqlTypeFamily.ANY),
1408  SqlFunctionCategory.SYSTEM);
1409  }

Member Function Documentation

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

Definition at line 1412 of file MapDSqlOperatorTable.java.

References INTEGER.

1412  {
1413  assert opBinding.getOperandCount() == 1;
1414  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1415  return typeFactory.createTypeWithNullability(
1416  typeFactory.createSqlType(SqlTypeName.INTEGER),
1417  opBinding.getOperandType(0).isNullable());
1418  }
#define INTEGER

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