OmniSciDB  06b3bd477c
 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 1328 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1329 of file MapDSqlOperatorTable.java.

1329  {
1330  super("ST_EndPoint",
1331  SqlKind.OTHER_FUNCTION,
1332  null,
1333  null,
1334  OperandTypes.family(SqlTypeFamily.ANY),
1335  SqlFunctionCategory.SYSTEM);
1336  }

Member Function Documentation

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

Definition at line 1339 of file MapDSqlOperatorTable.java.

References assert().

1339  {
1340  assert opBinding.getOperandCount() == 1;
1341  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1342  return typeFactory.createTypeWithNullability(
1343  typeFactory.createSqlType(SqlTypeName.INTEGER),
1344  opBinding.getOperandType(0).isNullable());
1345  }
int64_t const int32_t sz assert(dest)

+ Here is the call graph for this function:


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