OmniSciDB  16c4e035a1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 1242 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1243 of file MapDSqlOperatorTable.java.

1243  {
1244  super("ST_Transform",
1245  SqlKind.OTHER_FUNCTION,
1246  null,
1247  null,
1248  OperandTypes.family(SqlTypeFamily.ANY, SqlTypeFamily.INTEGER),
1249  SqlFunctionCategory.SYSTEM);
1250  }

Member Function Documentation

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

Definition at line 1253 of file MapDSqlOperatorTable.java.

References INTEGER.

1253  {
1254  assert opBinding.getOperandCount() == 1;
1255  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1256  return typeFactory.createTypeWithNullability(
1257  typeFactory.createSqlType(SqlTypeName.INTEGER),
1258  opBinding.getOperandType(0).isNullable());
1259  }
#define INTEGER

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