Package io.trino.operator.aggregation
Class LongApproximateMostFrequentStateFactory
- java.lang.Object
-
- io.trino.operator.aggregation.LongApproximateMostFrequentStateFactory
-
- All Implemented Interfaces:
AccumulatorStateFactory<BigintApproximateMostFrequent.State>
public class LongApproximateMostFrequentStateFactory extends Object implements AccumulatorStateFactory<BigintApproximateMostFrequent.State>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLongApproximateMostFrequentStateFactory.GroupedLongApproximateMostFrequentStatestatic classLongApproximateMostFrequentStateFactory.SingleLongApproximateMostFrequentState
-
Constructor Summary
Constructors Constructor Description LongApproximateMostFrequentStateFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BigintApproximateMostFrequent.StatecreateGroupedState()BigintApproximateMostFrequent.StatecreateSingleState()
-
-
-
Method Detail
-
createSingleState
public BigintApproximateMostFrequent.State createSingleState()
- Specified by:
createSingleStatein interfaceAccumulatorStateFactory<BigintApproximateMostFrequent.State>
-
createGroupedState
public BigintApproximateMostFrequent.State createGroupedState()
- Specified by:
createGroupedStatein interfaceAccumulatorStateFactory<BigintApproximateMostFrequent.State>
-
-