Class QuantileDigestStateFactory
- java.lang.Object
-
- io.trino.operator.aggregation.state.QuantileDigestStateFactory
-
- All Implemented Interfaces:
AccumulatorStateFactory<QuantileDigestState>
public class QuantileDigestStateFactory extends Object implements AccumulatorStateFactory<QuantileDigestState>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classQuantileDigestStateFactory.GroupedQuantileDigestStatestatic classQuantileDigestStateFactory.SingleQuantileDigestState
-
Constructor Summary
Constructors Constructor Description QuantileDigestStateFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description QuantileDigestStatecreateGroupedState()QuantileDigestStatecreateSingleState()Class<? extends QuantileDigestState>getGroupedStateClass()Class<? extends QuantileDigestState>getSingleStateClass()
-
-
-
Method Detail
-
createSingleState
public QuantileDigestState createSingleState()
- Specified by:
createSingleStatein interfaceAccumulatorStateFactory<QuantileDigestState>
-
getSingleStateClass
public Class<? extends QuantileDigestState> getSingleStateClass()
- Specified by:
getSingleStateClassin interfaceAccumulatorStateFactory<QuantileDigestState>
-
createGroupedState
public QuantileDigestState createGroupedState()
- Specified by:
createGroupedStatein interfaceAccumulatorStateFactory<QuantileDigestState>
-
getGroupedStateClass
public Class<? extends QuantileDigestState> getGroupedStateClass()
- Specified by:
getGroupedStateClassin interfaceAccumulatorStateFactory<QuantileDigestState>
-
-