OmniSciDB  06b3bd477c
 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 1168 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1169 of file MapDSqlOperatorTable.java.

1169  {
1170  super("ST_Transform",
1171  SqlKind.OTHER_FUNCTION,
1172  null,
1173  null,
1174  OperandTypes.family(SqlTypeFamily.ANY, SqlTypeFamily.INTEGER),
1175  SqlFunctionCategory.SYSTEM);
1176  }

Member Function Documentation

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

Definition at line 1179 of file MapDSqlOperatorTable.java.

References assert().

1179  {
1180  assert opBinding.getOperandCount() == 1;
1181  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1182  return typeFactory.createTypeWithNullability(
1183  typeFactory.createSqlType(SqlTypeName.INTEGER),
1184  opBinding.getOperandType(0).isNullable());
1185  }
int64_t const int32_t sz assert(dest)

+ Here is the call graph for this function:


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