OmniSciDB  4201147b46
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
com.mapd.calcite.parser.HeavyDBSqlOperatorTable.ST_SRID Class Reference
+ Inheritance diagram for com.mapd.calcite.parser.HeavyDBSqlOperatorTable.ST_SRID:
+ Collaboration diagram for com.mapd.calcite.parser.HeavyDBSqlOperatorTable.ST_SRID:

Public Member Functions

RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Package Functions

 ST_SRID ()
 

Detailed Description

Definition at line 1953 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1954 of file HeavyDBSqlOperatorTable.java.

1954  {
1955  super("ST_SRID",
1956  SqlKind.OTHER_FUNCTION,
1957  null,
1958  null,
1959  OperandTypes.family(SqlTypeFamily.ANY),
1960  SqlFunctionCategory.SYSTEM);
1961  }

Member Function Documentation

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

Definition at line 1964 of file HeavyDBSqlOperatorTable.java.

1964  {
1965  assert opBinding.getOperandCount() == 1;
1966  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1967  return typeFactory.createTypeWithNullability(
1968  typeFactory.createSqlType(SqlTypeName.INTEGER),
1969  opBinding.getOperandType(0).isNullable());
1970  }

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