OmniSciDB  c07336695a
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 1243 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

◆ ST_SRID()

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

Definition at line 1244 of file MapDSqlOperatorTable.java.

1244  {
1245  super("ST_SRID",
1246  SqlKind.OTHER_FUNCTION,
1247  null,
1248  null,
1249  OperandTypes.family(SqlTypeFamily.ANY),
1250  SqlFunctionCategory.SYSTEM);
1251  }

Member Function Documentation

◆ inferReturnType()

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

Definition at line 1254 of file MapDSqlOperatorTable.java.

1254  {
1255  assert opBinding.getOperandCount() == 1;
1256  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1257  return typeFactory.createSqlType(SqlTypeName.INTEGER);
1258  }

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