@Deprecated public class HiveAggSqlFunction extends org.apache.flink.table.planner.functions.utils.AggSqlFunction
AggSqlFunction
.
Override getFunction to clone function and invoke HiveUDAF#setArgumentTypesAndConstants
.
Override SqlReturnTypeInference to invoke HiveUDAF#getHiveResultType
instead of
HiveUDAF#getResultType
.Constructor and Description |
---|
HiveAggSqlFunction(String name,
String displayName,
AggregateFunction aggregateFunction,
org.apache.flink.table.planner.calcite.FlinkTypeFactory typeFactory)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
AggregateFunction |
makeFunction(Object[] constantArguments,
LogicalType[] argTypes)
Deprecated.
|
$lessinit$greater$default$8, apply, externalAccType, externalResultType, getParamTypes, isDeterministic, toString
getParameterTypes, getReturnType
allowsFilter, allowsNullTreatment, isAggregator, isQuantifierAllowed, requiresGroupOrder, requiresOrder, requiresOver, unwrap, validateCall
deriveType, getFunctionType, getNameAsId, getParamNames, getSqlIdentifier, getSyntax, unparse, validateQuantifier
acceptCall, acceptCall, adjustType, allowsFraming, argumentMustBeScalar, checkOperandCount, checkOperandTypes, constructArgNameList, constructArgTypeList, constructOperandList, createCall, createCall, createCall, createCall, equals, getAllowedSignatures, getAllowedSignatures, getKind, getLeftPrec, getMonotonicity, getMonotonicity, getName, getOperandCountRange, getOperandTypeChecker, getOperandTypeInference, getReturnTypeInference, getRightPrec, getSignatureTemplate, hashCode, inferReturnType, inferReturnType, isDynamicFunction, isGroup, isGroupAuxiliary, isName, leftPrec, preValidateCall, requiresDecimalExpansion, rewriteCall, rightPrec, unparseListClause, unparseListClause, validateOperands, validRexOperands
public HiveAggSqlFunction(String name, String displayName, AggregateFunction aggregateFunction, org.apache.flink.table.planner.calcite.FlinkTypeFactory typeFactory)
public AggregateFunction makeFunction(Object[] constantArguments, LogicalType[] argTypes)
makeFunction
in class org.apache.flink.table.planner.functions.utils.AggSqlFunction
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.