Class QuantileDigestStateFactory.SingleQuantileDigestState
- java.lang.Object
-
- io.trino.operator.aggregation.state.QuantileDigestStateFactory.SingleQuantileDigestState
-
- All Implemented Interfaces:
QuantileDigestState,AccumulatorState
- Enclosing class:
- QuantileDigestStateFactory
public static class QuantileDigestStateFactory.SingleQuantileDigestState extends Object implements QuantileDigestState
-
-
Constructor Summary
Constructors Constructor Description SingleQuantileDigestState()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddMemoryUsage(int value)longgetEstimatedSize()io.airlift.stats.QuantileDigestgetQuantileDigest()voidsetQuantileDigest(io.airlift.stats.QuantileDigest 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
-
getQuantileDigest
public io.airlift.stats.QuantileDigest getQuantileDigest()
- Specified by:
getQuantileDigestin interfaceQuantileDigestState
-
setQuantileDigest
public void setQuantileDigest(io.airlift.stats.QuantileDigest value)
- Specified by:
setQuantileDigestin interfaceQuantileDigestState
-
addMemoryUsage
public void addMemoryUsage(int value)
- Specified by:
addMemoryUsagein interfaceQuantileDigestState
-
getEstimatedSize
public long getEstimatedSize()
- Specified by:
getEstimatedSizein interfaceAccumulatorState
-
-