Class TDigestStateFactory.GroupedTDigestState
java.lang.Object
io.trino.operator.aggregation.state.AbstractGroupedAccumulatorState
io.trino.operator.aggregation.state.TDigestStateFactory.GroupedTDigestState
- All Implemented Interfaces:
TDigestState,AccumulatorState,GroupedAccumulatorState
- Enclosing class:
TDigestStateFactory
public static class TDigestStateFactory.GroupedTDigestState
extends AbstractGroupedAccumulatorState
implements TDigestState
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddMemoryUsage(int value) voidensureCapacity(long size) longio.airlift.stats.TDigestvoidsetTDigest(io.airlift.stats.TDigest 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
-
GroupedTDigestState
public GroupedTDigestState()
-
-
Method Details
-
ensureCapacity
public void ensureCapacity(long size) - Specified by:
ensureCapacityin interfaceGroupedAccumulatorState
-
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
-