@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(FunctionIdentifier identifier,
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, aggregateFunction, apply, displayName, externalAccType, externalResultType, getParamTypes, isDeterministic, toString
getOperandTypeChecker
allowsFilter, allowsNullTreatment, getDistinctOptionality, getParameterTypes, getReturnType, 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, getOperandTypeInference, getReturnTypeInference, getRightPrec, getSignatureTemplate, getStrongPolicyInference, hashCode, inferReturnType, inferReturnType, isDynamicFunction, isGroup, isGroupAuxiliary, isName, isSymmetrical, leftPrec, preValidateCall, requiresDecimalExpansion, rewriteCall, rightPrec, unparseListClause, unparseListClause, validateOperands, validRexOperands
public HiveAggSqlFunction(FunctionIdentifier identifier, 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–2022 The Apache Software Foundation. All rights reserved.