Class TDigestStateFactory.SingleTDigestState
- java.lang.Object
-
- io.trino.operator.aggregation.state.TDigestStateFactory.SingleTDigestState
-
- All Implemented Interfaces:
TDigestState,AccumulatorState
- Enclosing class:
- TDigestStateFactory
public static class TDigestStateFactory.SingleTDigestState extends Object implements TDigestState
-
-
Constructor Summary
Constructors Constructor Description SingleTDigestState()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddMemoryUsage(int value)longgetEstimatedSize()io.airlift.stats.TDigestgetTDigest()voidsetTDigest(io.airlift.stats.TDigest 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
-
getTDigest
public io.airlift.stats.TDigest getTDigest()
- Specified by:
getTDigestin interfaceTDigestState
-
setTDigest
public void setTDigest(io.airlift.stats.TDigest value)
- Specified by:
setTDigestin interfaceTDigestState
-
addMemoryUsage
public void addMemoryUsage(int value)
- Specified by:
addMemoryUsagein interfaceTDigestState
-
getEstimatedSize
public long getEstimatedSize()
- Specified by:
getEstimatedSizein interfaceAccumulatorState
-
-