public static class ApproximateMostFrequentStateFactory.GroupedApproximateMostFrequentState extends AbstractGroupedAccumulatorState implements ApproximateMostFrequentState
Constructor and Description |
---|
GroupedApproximateMostFrequentState() |
Modifier and Type | Method and Description |
---|---|
void |
ensureCapacity(long size) |
long |
getEstimatedSize() |
StreamSummary |
getStateSummary() |
void |
setStateSummary(StreamSummary histogram) |
getGroupId, setGroupId
public StreamSummary getStateSummary()
getStateSummary
in interface ApproximateMostFrequentState
public void setStateSummary(StreamSummary histogram)
setStateSummary
in interface ApproximateMostFrequentState
public void ensureCapacity(long size)
ensureCapacity
in interface GroupedAccumulatorState
public long getEstimatedSize()
getEstimatedSize
in interface AccumulatorState
Copyright © 2012–2022. All rights reserved.