OmniSciDB  29e35f4d58
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 1304 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

◆ ST_SRID()

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

Definition at line 1305 of file MapDSqlOperatorTable.java.

1305  {
1306  super("ST_SRID",
1307  SqlKind.OTHER_FUNCTION,
1308  null,
1309  null,
1310  OperandTypes.family(SqlTypeFamily.ANY),
1311  SqlFunctionCategory.SYSTEM);
1312  }

Member Function Documentation

◆ inferReturnType()

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

Definition at line 1315 of file MapDSqlOperatorTable.java.

1315  {
1316  assert opBinding.getOperandCount() == 1;
1317  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1318  return typeFactory.createSqlType(SqlTypeName.INTEGER);
1319  }

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