Class RankAggFunction
java.lang.Object
org.apache.flink.table.functions.UserDefinedFunction
org.apache.flink.table.functions.DeclarativeAggregateFunction
org.apache.flink.table.planner.functions.aggfunctions.RankLikeAggFunctionBase
org.apache.flink.table.planner.functions.aggfunctions.RankAggFunction
- All Implemented Interfaces:
Serializable,org.apache.flink.table.functions.FunctionDefinition
- Direct Known Subclasses:
PercentRankAggFunction
built-in rank aggregate function.
- See Also:
-
Field Summary
Fields inherited from class org.apache.flink.table.planner.functions.aggfunctions.RankLikeAggFunctionBase
lastValues, orderKeyTypes, sequence -
Constructor Summary
ConstructorsConstructorDescriptionRankAggFunction(org.apache.flink.table.types.logical.LogicalType[] orderKeyTypes) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.flink.table.expressions.Expression[]org.apache.flink.table.expressions.UnresolvedReferenceExpression[]org.apache.flink.table.types.DataType[]org.apache.flink.table.expressions.Expression[]Methods inherited from class org.apache.flink.table.planner.functions.aggfunctions.RankLikeAggFunctionBase
generateInitLiteral, getResultType, getValueExpression, mergeExpressions, operandCount, orderKeyEqualsExpression, retractExpressionsMethods inherited from class org.apache.flink.table.functions.DeclarativeAggregateFunction
getKind, getTypeInference, mergeOperand, mergeOperands, operand, operandsMethods inherited from class org.apache.flink.table.functions.UserDefinedFunction
close, functionIdentifier, open, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.flink.table.functions.FunctionDefinition
getRequirements, isDeterministic, supportsConstantFolding
-
Constructor Details
-
RankAggFunction
public RankAggFunction(org.apache.flink.table.types.logical.LogicalType[] orderKeyTypes)
-
-
Method Details
-
aggBufferAttributes
public org.apache.flink.table.expressions.UnresolvedReferenceExpression[] aggBufferAttributes()- Specified by:
aggBufferAttributesin classorg.apache.flink.table.functions.DeclarativeAggregateFunction
-
getAggBufferTypes
public org.apache.flink.table.types.DataType[] getAggBufferTypes()- Specified by:
getAggBufferTypesin classorg.apache.flink.table.functions.DeclarativeAggregateFunction
-
initialValuesExpressions
public org.apache.flink.table.expressions.Expression[] initialValuesExpressions()- Specified by:
initialValuesExpressionsin classorg.apache.flink.table.functions.DeclarativeAggregateFunction
-
accumulateExpressions
public org.apache.flink.table.expressions.Expression[] accumulateExpressions()- Specified by:
accumulateExpressionsin classorg.apache.flink.table.functions.DeclarativeAggregateFunction
-