Class PercentileAggFunction.SinglePercentileAggFunction
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.SinglePercentileAggFunction
- All Implemented Interfaces:
Serializable,org.apache.flink.table.functions.FunctionDefinition
- Enclosing class:
- PercentileAggFunction<T>
public static class PercentileAggFunction.SinglePercentileAggFunction
extends PercentileAggFunction<Double>
Percentile agg function with only one percentage parameter.
- 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
ConstructorsConstructorDescriptionSinglePercentileAggFunction(org.apache.flink.table.types.logical.LogicalType valueType, org.apache.flink.table.types.logical.LogicalType frequencyType) -
Method Summary
Modifier and TypeMethodDescriptionList<org.apache.flink.table.types.DataType>org.apache.flink.table.types.DataTypeMethods 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
-
SinglePercentileAggFunction
public SinglePercentileAggFunction(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>
-