@Deprecated public class LegacyHistogramGroupState extends AbstractGroupedAccumulatorState implements HistogramState
| Constructor and Description |
|---|
LegacyHistogramGroupState(Type keyType,
int expectedEntriesCount)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addMemoryUsage(long memory)
Deprecated.
|
void |
deserialize(Block block,
Type type,
int expectedSize)
Deprecated.
|
void |
ensureCapacity(long size)
Deprecated.
|
TypedHistogram |
get()
Deprecated.
will create an empty histogram if none exists
|
long |
getEstimatedSize()
Deprecated.
|
getGroupId, setGroupIdpublic LegacyHistogramGroupState(Type keyType, int expectedEntriesCount)
public void ensureCapacity(long size)
ensureCapacity in interface GroupedAccumulatorStatepublic TypedHistogram get()
HistogramStateget in interface HistogramStatepublic void addMemoryUsage(long memory)
addMemoryUsage in interface HistogramStatepublic long getEstimatedSize()
getEstimatedSize in interface AccumulatorStatepublic void deserialize(Block block, Type type, int expectedSize)
deserialize in interface HistogramStateCopyright © 2012–2019. All rights reserved.