Class TDigestAndPercentileStateFactory
- java.lang.Object
-
- io.trino.operator.aggregation.state.TDigestAndPercentileStateFactory
-
- All Implemented Interfaces:
AccumulatorStateFactory<TDigestAndPercentileState>
public class TDigestAndPercentileStateFactory extends Object implements AccumulatorStateFactory<TDigestAndPercentileState>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTDigestAndPercentileStateFactory.GroupedTDigestAndPercentileStatestatic classTDigestAndPercentileStateFactory.SingleTDigestAndPercentileState
-
Constructor Summary
Constructors Constructor Description TDigestAndPercentileStateFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TDigestAndPercentileStatecreateGroupedState()TDigestAndPercentileStatecreateSingleState()
-
-
-
Method Detail
-
createSingleState
public TDigestAndPercentileState createSingleState()
- Specified by:
createSingleStatein interfaceAccumulatorStateFactory<TDigestAndPercentileState>
-
createGroupedState
public TDigestAndPercentileState createGroupedState()
- Specified by:
createGroupedStatein interfaceAccumulatorStateFactory<TDigestAndPercentileState>
-
-