Package io.trino.operator.aggregation
Class NumericHistogramStateFactory.GroupedState
- java.lang.Object
-
- io.trino.operator.aggregation.state.AbstractGroupedAccumulatorState
-
- io.trino.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 voidensureCapacity(long size)NumericHistogramget()longgetEstimatedSize()voidset(NumericHistogram value)-
Methods inherited from class io.trino.operator.aggregation.state.AbstractGroupedAccumulatorState
getGroupId, setGroupId
-
-
-
-
Method Detail
-
ensureCapacity
public void ensureCapacity(long size)
- Specified by:
ensureCapacityin interfaceGroupedAccumulatorState
-
get
public NumericHistogram get()
- Specified by:
getin interfaceDoubleHistogramAggregation.State
-
set
public void set(NumericHistogram value)
- Specified by:
setin interfaceDoubleHistogramAggregation.State
-
getEstimatedSize
public long getEstimatedSize()
- Specified by:
getEstimatedSizein interfaceAccumulatorState
-
-