Class NumericHistogramStateFactory.GroupedState
- java.lang.Object
-
- io.prestosql.operator.aggregation.state.AbstractGroupedAccumulatorState
-
- io.prestosql.operator.aggregation.NumericHistogramStateFactory.GroupedState
-
- All Implemented Interfaces:
DoubleHistogramAggregation.State
,AccumulatorState
,GroupedAccumulatorState
- Enclosing class:
- NumericHistogramStateFactory
public static class NumericHistogramStateFactory.GroupedState extends AbstractGroupedAccumulatorState implements DoubleHistogramAggregation.State
-
-
Constructor Summary
Constructors Constructor Description GroupedState()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
ensureCapacity(long size)
NumericHistogram
get()
long
getEstimatedSize()
void
set(NumericHistogram value)
-
Methods inherited from class io.prestosql.operator.aggregation.state.AbstractGroupedAccumulatorState
getGroupId, setGroupId
-
-
-
-
Method Detail
-
ensureCapacity
public void ensureCapacity(long size)
- Specified by:
ensureCapacity
in interfaceGroupedAccumulatorState
-
get
public NumericHistogram get()
- Specified by:
get
in interfaceDoubleHistogramAggregation.State
-
set
public void set(NumericHistogram value)
- Specified by:
set
in interfaceDoubleHistogramAggregation.State
-
getEstimatedSize
public long getEstimatedSize()
- Specified by:
getEstimatedSize
in interfaceAccumulatorState
-
-