OmniSciDB  085a039ca4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
com.mapd.calcite.parser.HeavyDBSqlOperatorTable.ST_Transform Class Reference
+ Inheritance diagram for com.mapd.calcite.parser.HeavyDBSqlOperatorTable.ST_Transform:
+ Collaboration diagram for com.mapd.calcite.parser.HeavyDBSqlOperatorTable.ST_Transform:

Public Member Functions

RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Package Functions

 ST_Transform ()
 

Detailed Description

Definition at line 1656 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1657 of file HeavyDBSqlOperatorTable.java.

1657  {
1658  super("ST_Transform",
1659  SqlKind.OTHER_FUNCTION,
1660  null,
1661  null,
1662  OperandTypes.family(SqlTypeFamily.ANY, SqlTypeFamily.INTEGER),
1663  SqlFunctionCategory.SYSTEM);
1664  }

Member Function Documentation

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

Definition at line 1667 of file HeavyDBSqlOperatorTable.java.

1667  {
1668  assert opBinding.getOperandCount() == 1;
1669  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1670  return typeFactory.createTypeWithNullability(
1671  typeFactory.createSqlType(SqlTypeName.INTEGER),
1672  opBinding.getOperandType(0).isNullable());
1673  }

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