OmniSciDB  dfae7c3b14
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 1272 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

◆ ST_Transform()

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

Definition at line 1273 of file MapDSqlOperatorTable.java.

1273  {
1274  super("ST_Transform",
1275  SqlKind.OTHER_FUNCTION,
1276  null,
1277  null,
1278  OperandTypes.family(SqlTypeFamily.ANY, SqlTypeFamily.INTEGER),
1279  SqlFunctionCategory.SYSTEM);
1280  }

Member Function Documentation

◆ inferReturnType()

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

Definition at line 1283 of file MapDSqlOperatorTable.java.

1283  {
1284  assert opBinding.getOperandCount() == 1;
1285  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1286  return typeFactory.createTypeWithNullability(
1287  typeFactory.createSqlType(SqlTypeName.INTEGER),
1288  opBinding.getOperandType(0).isNullable());
1289  }

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