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

Public Member Functions

RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Package Functions

 ST_SetSRID ()
 

Detailed Description

Definition at line 2198 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 2199 of file HeavyDBSqlOperatorTable.java.

2199  {
2200  super("ST_SetSRID",
2201  SqlKind.OTHER_FUNCTION,
2202  null,
2203  null,
2204  OperandTypes.family(SqlTypeFamily.ANY, SqlTypeFamily.INTEGER),
2205  SqlFunctionCategory.SYSTEM);
2206  }

Member Function Documentation

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

Definition at line 2209 of file HeavyDBSqlOperatorTable.java.

2209  {
2210  assert opBinding.getOperandCount() == 1;
2211  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
2212  return typeFactory.createTypeWithNullability(
2213  typeFactory.createSqlType(SqlTypeName.INTEGER),
2214  opBinding.getOperandType(0).isNullable());
2215  }

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