public class HiveParserSqlFunctionConverter extends Object
Modifier and Type | Class and Description |
---|---|
static class |
HiveParserSqlFunctionConverter.CalciteSqlFn
CalciteSqlFn.
|
static interface |
HiveParserSqlFunctionConverter.CanAggregateDistinct
CanAggregateDistinct.
|
Constructor and Description |
---|
HiveParserSqlFunctionConverter() |
Modifier and Type | Method and Description |
---|---|
static org.apache.calcite.sql.SqlAggFunction |
getCalciteAggFn(String hiveUdfName,
boolean isDistinct,
List<org.apache.calcite.rel.type.RelDataType> calciteArgTypes,
org.apache.calcite.rel.type.RelDataType calciteRetType) |
static org.apache.calcite.sql.SqlOperator |
getCalciteFn(String hiveUdfName,
List<org.apache.calcite.rel.type.RelDataType> calciteArgTypes,
org.apache.calcite.rel.type.RelDataType calciteRetType,
boolean deterministic,
SqlFunctionConverter functionConverter) |
static org.apache.calcite.sql.SqlOperator |
getCalciteOperator(String funcTextName,
org.apache.hadoop.hive.ql.udf.generic.GenericUDF hiveUDF,
List<org.apache.calcite.rel.type.RelDataType> calciteArgTypes,
org.apache.calcite.rel.type.RelDataType retType,
SqlFunctionConverter functionConverter) |
public static org.apache.calcite.sql.SqlOperator getCalciteOperator(String funcTextName, org.apache.hadoop.hive.ql.udf.generic.GenericUDF hiveUDF, List<org.apache.calcite.rel.type.RelDataType> calciteArgTypes, org.apache.calcite.rel.type.RelDataType retType, SqlFunctionConverter functionConverter) throws org.apache.hadoop.hive.ql.parse.SemanticException
org.apache.hadoop.hive.ql.parse.SemanticException
public static org.apache.calcite.sql.SqlOperator getCalciteFn(String hiveUdfName, List<org.apache.calcite.rel.type.RelDataType> calciteArgTypes, org.apache.calcite.rel.type.RelDataType calciteRetType, boolean deterministic, SqlFunctionConverter functionConverter)
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.