public class SingleMultimapAggregationState extends Object implements MultimapAggregationState
| Constructor and Description |
|---|
SingleMultimapAggregationState(Type keyType,
Type valueType) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(Block key,
Block value,
int position) |
void |
forEach(MultimapAggregationStateConsumer consumer) |
int |
getEntryCount() |
long |
getEstimatedSize() |
boolean |
isEmpty() |
void |
reset() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitmergepublic void add(Block key, Block value, int position)
add in interface MultimapAggregationStatepublic void forEach(MultimapAggregationStateConsumer consumer)
forEach in interface MultimapAggregationStatepublic boolean isEmpty()
isEmpty in interface MultimapAggregationStatepublic int getEntryCount()
getEntryCount in interface MultimapAggregationStatepublic long getEstimatedSize()
getEstimatedSize in interface MultimapAggregationStategetEstimatedSize in interface AccumulatorStatepublic void reset()
reset in interface MultimapAggregationStateCopyright © 2012–2019. All rights reserved.