OmniSciDB  c07336695a
com.mapd.calcite.parser.MapDSqlOperatorTable.ST_SetSRID Class Reference
+ Inheritance diagram for com.mapd.calcite.parser.MapDSqlOperatorTable.ST_SetSRID:
+ Collaboration diagram for com.mapd.calcite.parser.MapDSqlOperatorTable.ST_SetSRID:

Public Member Functions

RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Package Functions

 ST_SetSRID ()
 

Detailed Description

Definition at line 1261 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

◆ ST_SetSRID()

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

Definition at line 1262 of file MapDSqlOperatorTable.java.

1262  {
1263  super("ST_SetSRID",
1264  SqlKind.OTHER_FUNCTION,
1265  null,
1266  null,
1267  OperandTypes.family(SqlTypeFamily.ANY, SqlTypeFamily.INTEGER),
1268  SqlFunctionCategory.SYSTEM);
1269  }

Member Function Documentation

◆ inferReturnType()

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

Definition at line 1272 of file MapDSqlOperatorTable.java.

1272  {
1273  assert opBinding.getOperandCount() == 1;
1274  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1275  return typeFactory.createSqlType(SqlTypeName.INTEGER);
1276  }

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