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 -
Method Summary
Modifier and TypeMethodDescriptionvoidensureCapacity(long size) get()longvoidset(NumericHistogram value) Methods inherited from class io.trino.operator.aggregation.state.AbstractGroupedAccumulatorState
getGroupId, setGroupIdMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.trino.spi.function.AccumulatorState
copy
-
Constructor Details
-
GroupedState
public GroupedState()
-
-
Method Details
-
ensureCapacity
public void ensureCapacity(long size) - Specified by:
ensureCapacityin interfaceGroupedAccumulatorState
-
get
- Specified by:
getin interfaceDoubleHistogramAggregation.State
-
set
- Specified by:
setin interfaceDoubleHistogramAggregation.State
-
getEstimatedSize
public long getEstimatedSize()- Specified by:
getEstimatedSizein interfaceAccumulatorState
-