Class HyperLogLogStateFactory
- java.lang.Object
-
- io.trino.operator.aggregation.state.HyperLogLogStateFactory
-
- All Implemented Interfaces:
AccumulatorStateFactory<HyperLogLogState>
public class HyperLogLogStateFactory extends Object implements AccumulatorStateFactory<HyperLogLogState>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classHyperLogLogStateFactory.GroupedHyperLogLogStatestatic classHyperLogLogStateFactory.SingleHyperLogLogState
-
Constructor Summary
Constructors Constructor Description HyperLogLogStateFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HyperLogLogStatecreateGroupedState()HyperLogLogStatecreateSingleState()Class<? extends HyperLogLogState>getGroupedStateClass()Class<? extends HyperLogLogState>getSingleStateClass()
-
-
-
Method Detail
-
createSingleState
public HyperLogLogState createSingleState()
- Specified by:
createSingleStatein interfaceAccumulatorStateFactory<HyperLogLogState>
-
getSingleStateClass
public Class<? extends HyperLogLogState> getSingleStateClass()
- Specified by:
getSingleStateClassin interfaceAccumulatorStateFactory<HyperLogLogState>
-
createGroupedState
public HyperLogLogState createGroupedState()
- Specified by:
createGroupedStatein interfaceAccumulatorStateFactory<HyperLogLogState>
-
getGroupedStateClass
public Class<? extends HyperLogLogState> getGroupedStateClass()
- Specified by:
getGroupedStateClassin interfaceAccumulatorStateFactory<HyperLogLogState>
-
-