public abstract static class BatchApproxCountDistinctAggFunctions.ApproxCountDistinctAggFunction<T> extends BuiltInAggregateFunction<Long,HllBuffer>
| 构造器和说明 |
|---|
ApproxCountDistinctAggFunction(org.apache.flink.table.types.logical.LogicalType valueType) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
accumulate(HllBuffer buffer,
Object input) |
HllBuffer |
createAccumulator() |
org.apache.flink.table.types.DataType |
getAccumulatorDataType() |
List<org.apache.flink.table.types.DataType> |
getArgumentDataTypes() |
org.apache.flink.table.types.DataType |
getOutputDataType() |
Long |
getValue(HllBuffer buffer) |
void |
merge(HllBuffer buffer,
Iterable<HllBuffer> it) |
void |
resetAccumulator(HllBuffer buffer) |
getRequirements, getTypeInference, isDeterministicgetAccumulatorType, getResultTypeclose, functionIdentifier, open, toStringpublic ApproxCountDistinctAggFunction(org.apache.flink.table.types.logical.LogicalType valueType)
public HllBuffer createAccumulator()
public void resetAccumulator(HllBuffer buffer)
public List<org.apache.flink.table.types.DataType> getArgumentDataTypes()
public org.apache.flink.table.types.DataType getAccumulatorDataType()
public org.apache.flink.table.types.DataType getOutputDataType()
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.