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