Class PercentileAggFunction.MultiPercentileAggFunction
java.lang.Object
org.apache.flink.table.functions.UserDefinedFunction
org.apache.flink.table.functions.ImperativeAggregateFunction<T,ACC>
org.apache.flink.table.functions.AggregateFunction<T,ACC>
org.apache.flink.table.runtime.functions.aggregate.BuiltInAggregateFunction<T,PercentileAggFunction.PercentileAccumulator>
org.apache.flink.table.runtime.functions.aggregate.PercentileAggFunction<Double[]>
org.apache.flink.table.runtime.functions.aggregate.PercentileAggFunction.MultiPercentileAggFunction
- All Implemented Interfaces:
Serializable,org.apache.flink.table.functions.FunctionDefinition
- Enclosing class:
- PercentileAggFunction<T>
public static class PercentileAggFunction.MultiPercentileAggFunction
extends PercentileAggFunction<Double[]>
Percentile agg function with multiple percentage parameters.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.flink.table.runtime.functions.aggregate.PercentileAggFunction
PercentileAggFunction.MultiPercentileAggFunction, PercentileAggFunction.PercentileAccumulator, PercentileAggFunction.SinglePercentileAggFunction -
Field Summary
Fields inherited from class org.apache.flink.table.runtime.functions.aggregate.PercentileAggFunction
frequencyType, valueType -
Constructor Summary
ConstructorsConstructorDescriptionMultiPercentileAggFunction(org.apache.flink.table.types.logical.LogicalType valueType, org.apache.flink.table.types.logical.LogicalType frequencyType) -
Method Summary
Methods inherited from class org.apache.flink.table.runtime.functions.aggregate.PercentileAggFunction
accumulate, accumulate, accumulate, accumulate, createAccumulator, getAccumulatorDataType, merge, retract, retract, retract, retractMethods inherited from class org.apache.flink.table.runtime.functions.aggregate.BuiltInAggregateFunction
getRequirements, getTypeInference, isDeterministicMethods inherited from class org.apache.flink.table.functions.AggregateFunction
getKindMethods inherited from class org.apache.flink.table.functions.ImperativeAggregateFunction
getAccumulatorType, getResultTypeMethods 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
supportsConstantFolding
-
Constructor Details
-
MultiPercentileAggFunction
public MultiPercentileAggFunction(org.apache.flink.table.types.logical.LogicalType valueType, org.apache.flink.table.types.logical.LogicalType frequencyType)
-
-
Method Details
-
getArgumentDataTypes
- Overrides:
getArgumentDataTypesin classBuiltInAggregateFunction<Double[],PercentileAggFunction.PercentileAccumulator>
-
getOutputDataType
public org.apache.flink.table.types.DataType getOutputDataType()- Overrides:
getOutputDataTypein classBuiltInAggregateFunction<Double[],PercentileAggFunction.PercentileAccumulator>
-
getValue
- Specified by:
getValuein classorg.apache.flink.table.functions.AggregateFunction<Double[],PercentileAggFunction.PercentileAccumulator>
-