OmniSciDB  a987f07e93
 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 2179 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 2180 of file HeavyDBSqlOperatorTable.java.

2180  {
2181  super("ST_SRID",
2182  SqlKind.OTHER_FUNCTION,
2183  null,
2184  null,
2185  OperandTypes.family(SqlTypeFamily.ANY),
2186  SqlFunctionCategory.SYSTEM);
2187  }

Member Function Documentation

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

Definition at line 2190 of file HeavyDBSqlOperatorTable.java.

2190  {
2191  assert opBinding.getOperandCount() == 1;
2192  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
2193  return typeFactory.createTypeWithNullability(
2194  typeFactory.createSqlType(SqlTypeName.INTEGER),
2195  opBinding.getOperandType(0).isNullable());
2196  }

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