OmniSciDB  bf83d84833
 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 1710 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1711 of file MapDSqlOperatorTable.java.

1711  {
1712  super("ST_SetSRID",
1713  SqlKind.OTHER_FUNCTION,
1714  null,
1715  null,
1716  OperandTypes.family(SqlTypeFamily.ANY, SqlTypeFamily.INTEGER),
1717  SqlFunctionCategory.SYSTEM);
1718  }

Member Function Documentation

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

Definition at line 1721 of file MapDSqlOperatorTable.java.

1721  {
1722  assert opBinding.getOperandCount() == 1;
1723  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1724  return typeFactory.createTypeWithNullability(
1725  typeFactory.createSqlType(SqlTypeName.INTEGER),
1726  opBinding.getOperandType(0).isNullable());
1727  }

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