Class TDigestStateFactory.SingleTDigestState
java.lang.Object
io.trino.operator.aggregation.state.TDigestStateFactory.SingleTDigestState
- All Implemented Interfaces:
TDigestState,AccumulatorState
- Enclosing class:
TDigestStateFactory
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddMemoryUsage(int value) longio.airlift.stats.TDigestvoidsetTDigest(io.airlift.stats.TDigest value) Methods 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
-
SingleTDigestState
public SingleTDigestState()
-
-
Method Details
-
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
-