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

Public Member Functions

RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Package Functions

 ST_SRID ()
 

Detailed Description

Definition at line 1541 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1542 of file MapDSqlOperatorTable.java.

1542  {
1543  super("ST_SRID",
1544  SqlKind.OTHER_FUNCTION,
1545  null,
1546  null,
1547  OperandTypes.family(SqlTypeFamily.ANY),
1548  SqlFunctionCategory.SYSTEM);
1549  }

Member Function Documentation

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

Definition at line 1552 of file MapDSqlOperatorTable.java.

References INTEGER.

1552  {
1553  assert opBinding.getOperandCount() == 1;
1554  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1555  return typeFactory.createTypeWithNullability(
1556  typeFactory.createSqlType(SqlTypeName.INTEGER),
1557  opBinding.getOperandType(0).isNullable());
1558  }
#define INTEGER

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