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

Constructor & Destructor Documentation

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

Definition at line 1691 of file MapDSqlOperatorTable.java.

1691  {
1692  super("ST_SRID",
1693  SqlKind.OTHER_FUNCTION,
1694  null,
1695  null,
1696  OperandTypes.family(SqlTypeFamily.ANY),
1697  SqlFunctionCategory.SYSTEM);
1698  }

Member Function Documentation

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

Definition at line 1701 of file MapDSqlOperatorTable.java.

1701  {
1702  assert opBinding.getOperandCount() == 1;
1703  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1704  return typeFactory.createTypeWithNullability(
1705  typeFactory.createSqlType(SqlTypeName.INTEGER),
1706  opBinding.getOperandType(0).isNullable());
1707  }

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