Package io.trino.operator.aggregation
Class StringApproximateMostFrequentStateFactory.SingleLongApproximateMostFrequentState
java.lang.Object
io.trino.operator.aggregation.StringApproximateMostFrequentStateFactory.SingleLongApproximateMostFrequentState
- All Implemented Interfaces:
VarcharApproximateMostFrequent.State,AccumulatorState
- Enclosing class:
StringApproximateMostFrequentStateFactory
public static class StringApproximateMostFrequentStateFactory.SingleLongApproximateMostFrequentState
extends Object
implements VarcharApproximateMostFrequent.State
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionApproximateMostFrequentHistogram<io.airlift.slice.Slice> get()longvoidset(ApproximateMostFrequentHistogram<io.airlift.slice.Slice> 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 interfaceVarcharApproximateMostFrequent.State
-
set
- Specified by:
setin interfaceVarcharApproximateMostFrequent.State
-
getEstimatedSize
public long getEstimatedSize()- Specified by:
getEstimatedSizein interfaceAccumulatorState
-