OmniSciDB  fe05a0c208
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros 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 1181 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1182 of file MapDSqlOperatorTable.java.

1182  {
1183  super("ST_Transform",
1184  SqlKind.OTHER_FUNCTION,
1185  null,
1186  null,
1187  OperandTypes.family(SqlTypeFamily.ANY, SqlTypeFamily.INTEGER),
1188  SqlFunctionCategory.SYSTEM);
1189  }

Member Function Documentation

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

Definition at line 1192 of file MapDSqlOperatorTable.java.

References INTEGER.

1192  {
1193  assert opBinding.getOperandCount() == 1;
1194  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1195  return typeFactory.createTypeWithNullability(
1196  typeFactory.createSqlType(SqlTypeName.INTEGER),
1197  opBinding.getOperandType(0).isNullable());
1198  }
#define INTEGER

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