Package io.trino.operator.aggregation
Class NumericHistogramStateFactory.SingleState
- java.lang.Object
-
- io.trino.operator.aggregation.NumericHistogramStateFactory.SingleState
-
- All Implemented Interfaces:
DoubleHistogramAggregation.State,AccumulatorState
- Enclosing class:
- NumericHistogramStateFactory
public static class NumericHistogramStateFactory.SingleState extends Object implements DoubleHistogramAggregation.State
-
-
Constructor Summary
Constructors Constructor Description SingleState()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NumericHistogramget()longgetEstimatedSize()voidset(NumericHistogram value)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.trino.spi.function.AccumulatorState
copy
-
-
-
-
Method Detail
-
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
-
-