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

Constructor & Destructor Documentation

◆ ST_SetSRID()

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

Definition at line 1323 of file MapDSqlOperatorTable.java.

1323  {
1324  super("ST_SetSRID",
1325  SqlKind.OTHER_FUNCTION,
1326  null,
1327  null,
1328  OperandTypes.family(SqlTypeFamily.ANY, SqlTypeFamily.INTEGER),
1329  SqlFunctionCategory.SYSTEM);
1330  }

Member Function Documentation

◆ inferReturnType()

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

Definition at line 1333 of file MapDSqlOperatorTable.java.

1333  {
1334  assert opBinding.getOperandCount() == 1;
1335  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1336  return typeFactory.createSqlType(SqlTypeName.INTEGER);
1337  }

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