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

Public Member Functions

RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Package Functions

 ST_SRID ()
 

Detailed Description

Definition at line 2575 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 2576 of file HeavyDBSqlOperatorTable.java.

2576  {
2577  super("ST_SRID",
2578  SqlKind.OTHER_FUNCTION,
2579  null,
2580  null,
2581  OperandTypes.family(SqlTypeFamily.ANY),
2582  SqlFunctionCategory.SYSTEM);
2583  }

Member Function Documentation

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

Definition at line 2586 of file HeavyDBSqlOperatorTable.java.

2586  {
2587  assert opBinding.getOperandCount() == 1;
2588  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
2589  return typeFactory.createTypeWithNullability(
2590  typeFactory.createSqlType(SqlTypeName.INTEGER),
2591  opBinding.getOperandType(0).isNullable());
2592  }

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