OmniSciDB  a5dc49c757
 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 2595 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 2596 of file HeavyDBSqlOperatorTable.java.

2596  {
2597  super("ST_SetSRID",
2598  SqlKind.OTHER_FUNCTION,
2599  null,
2600  null,
2601  OperandTypes.family(SqlTypeFamily.ANY, SqlTypeFamily.INTEGER),
2602  SqlFunctionCategory.SYSTEM);
2603  }

Member Function Documentation

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

Definition at line 2606 of file HeavyDBSqlOperatorTable.java.

2606  {
2607  assert opBinding.getOperandCount() == 1;
2608  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
2609  return typeFactory.createTypeWithNullability(
2610  typeFactory.createSqlType(SqlTypeName.INTEGER),
2611  opBinding.getOperandType(0).isNullable());
2612  }

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