OmniSciDB  a5dc49c757
 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 2255 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 2256 of file HeavyDBSqlOperatorTable.java.

2256  {
2257  super("ST_Transform",
2258  SqlKind.OTHER_FUNCTION,
2259  null,
2260  null,
2261  OperandTypes.family(SqlTypeFamily.ANY, SqlTypeFamily.INTEGER),
2262  SqlFunctionCategory.SYSTEM);
2263  }

Member Function Documentation

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

Definition at line 2266 of file HeavyDBSqlOperatorTable.java.

2266  {
2267  assert opBinding.getOperandCount() == 1;
2268  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
2269  return typeFactory.createTypeWithNullability(
2270  typeFactory.createSqlType(SqlTypeName.INTEGER),
2271  opBinding.getOperandType(0).isNullable());
2272  }

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