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

Public Member Functions

RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Package Functions

 ST_SetSRID ()
 

Detailed Description

Definition at line 1488 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1489 of file MapDSqlOperatorTable.java.

1489  {
1490  super("ST_SetSRID",
1491  SqlKind.OTHER_FUNCTION,
1492  null,
1493  null,
1494  OperandTypes.family(SqlTypeFamily.ANY, SqlTypeFamily.INTEGER),
1495  SqlFunctionCategory.SYSTEM);
1496  }

Member Function Documentation

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

Definition at line 1499 of file MapDSqlOperatorTable.java.

References assert().

1499  {
1500  assert opBinding.getOperandCount() == 1;
1501  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1502  return typeFactory.createTypeWithNullability(
1503  typeFactory.createSqlType(SqlTypeName.INTEGER),
1504  opBinding.getOperandType(0).isNullable());
1505  }
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: