Package io.trino.operator.aggregation
Class LongApproximateMostFrequentStateFactory.SingleLongApproximateMostFrequentState
java.lang.Object
io.trino.operator.aggregation.LongApproximateMostFrequentStateFactory.SingleLongApproximateMostFrequentState
- All Implemented Interfaces:
BigintApproximateMostFrequent.State,AccumulatorState
- Enclosing class:
LongApproximateMostFrequentStateFactory
public static class LongApproximateMostFrequentStateFactory.SingleLongApproximateMostFrequentState
extends Object
implements BigintApproximateMostFrequent.State
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionget()longvoidset(ApproximateMostFrequentHistogram<Long> histogram) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.trino.spi.function.AccumulatorState
copy
-
Constructor Details
-
SingleLongApproximateMostFrequentState
public SingleLongApproximateMostFrequentState()
-
-
Method Details
-
get
- Specified by:
getin interfaceBigintApproximateMostFrequent.State
-
set
- Specified by:
setin interfaceBigintApproximateMostFrequent.State
-
getEstimatedSize
public long getEstimatedSize()- Specified by:
getEstimatedSizein interfaceAccumulatorState
-