OmniSciDB  dfae7c3b14
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 1572 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

◆ ST_SRID()

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

Definition at line 1573 of file MapDSqlOperatorTable.java.

1573  {
1574  super("ST_SRID",
1575  SqlKind.OTHER_FUNCTION,
1576  null,
1577  null,
1578  OperandTypes.family(SqlTypeFamily.ANY),
1579  SqlFunctionCategory.SYSTEM);
1580  }

Member Function Documentation

◆ inferReturnType()

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

Definition at line 1583 of file MapDSqlOperatorTable.java.

1583  {
1584  assert opBinding.getOperandCount() == 1;
1585  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1586  return typeFactory.createTypeWithNullability(
1587  typeFactory.createSqlType(SqlTypeName.INTEGER),
1588  opBinding.getOperandType(0).isNullable());
1589  }

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