OmniSciDB  4201147b46
 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 1973 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1974 of file HeavyDBSqlOperatorTable.java.

1974  {
1975  super("ST_SetSRID",
1976  SqlKind.OTHER_FUNCTION,
1977  null,
1978  null,
1979  OperandTypes.family(SqlTypeFamily.ANY, SqlTypeFamily.INTEGER),
1980  SqlFunctionCategory.SYSTEM);
1981  }

Member Function Documentation

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

Definition at line 1984 of file HeavyDBSqlOperatorTable.java.

1984  {
1985  assert opBinding.getOperandCount() == 1;
1986  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1987  return typeFactory.createTypeWithNullability(
1988  typeFactory.createSqlType(SqlTypeName.INTEGER),
1989  opBinding.getOperandType(0).isNullable());
1990  }

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