OmniSciDB  04ee39c94c
com.mapd.calcite.parser.MapDSqlOperatorTable.ST_Transform Class Reference
+ Inheritance diagram for com.mapd.calcite.parser.MapDSqlOperatorTable.ST_Transform:
+ Collaboration diagram for com.mapd.calcite.parser.MapDSqlOperatorTable.ST_Transform:

Public Member Functions

RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Package Functions

 ST_Transform ()
 

Detailed Description

Definition at line 973 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

◆ ST_Transform()

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

Definition at line 974 of file MapDSqlOperatorTable.java.

974  {
975  super("ST_Transform",
976  SqlKind.OTHER_FUNCTION,
977  null,
978  null,
979  OperandTypes.family(SqlTypeFamily.ANY, SqlTypeFamily.INTEGER),
980  SqlFunctionCategory.SYSTEM);
981  }

Member Function Documentation

◆ inferReturnType()

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

Definition at line 984 of file MapDSqlOperatorTable.java.

984  {
985  assert opBinding.getOperandCount() == 1;
986  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
987  return typeFactory.createSqlType(SqlTypeName.INTEGER);
988  }

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