OmniSciDB  1dac507f6e
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 1293 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1294 of file MapDSqlOperatorTable.java.

1294  {
1295  super("ST_SetSRID",
1296  SqlKind.OTHER_FUNCTION,
1297  null,
1298  null,
1299  OperandTypes.family(SqlTypeFamily.ANY, SqlTypeFamily.INTEGER),
1300  SqlFunctionCategory.SYSTEM);
1301  }

Member Function Documentation

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

Definition at line 1304 of file MapDSqlOperatorTable.java.

References assert().

1304  {
1305  assert opBinding.getOperandCount() == 1;
1306  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1307  return typeFactory.createSqlType(SqlTypeName.INTEGER);
1308  }
int64_t const int32_t sz assert(dest)

+ Here is the call graph for this function:


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