OmniSciDB  471d68cefb
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups 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 1561 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1562 of file MapDSqlOperatorTable.java.

1562  {
1563  super("ST_SetSRID",
1564  SqlKind.OTHER_FUNCTION,
1565  null,
1566  null,
1567  OperandTypes.family(SqlTypeFamily.ANY, SqlTypeFamily.INTEGER),
1568  SqlFunctionCategory.SYSTEM);
1569  }

Member Function Documentation

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

Definition at line 1572 of file MapDSqlOperatorTable.java.

References INTEGER.

1572  {
1573  assert opBinding.getOperandCount() == 1;
1574  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1575  return typeFactory.createTypeWithNullability(
1576  typeFactory.createSqlType(SqlTypeName.INTEGER),
1577  opBinding.getOperandType(0).isNullable());
1578  }
#define INTEGER

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