public abstract class AbstractGroupCollectionAggregationState<T> extends AbstractGroupedAccumulatorState
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractGroupCollectionAggregationState(PageBuilder pageBuilder) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
accept(T consumer,
PageBuilder pageBuilder,
int currentPosition) |
protected void |
appendAtChannel(int channel,
Block block,
int position) |
void |
ensureCapacity(long size) |
void |
forEach(T consumer) |
int |
getEntryCount() |
long |
getEstimatedSize() |
boolean |
isEmpty() |
protected void |
prepareAdd()
This method should be called before
appendAtChannel(int, Block, int) to update the internal linked list, where
appendAtChannel(int, Block, int) is called for each channel that has a new entry to be added. |
getGroupId, setGroupIdprotected AbstractGroupCollectionAggregationState(PageBuilder pageBuilder)
public void ensureCapacity(long size)
public long getEstimatedSize()
protected final void prepareAdd()
appendAtChannel(int, Block, int) to update the internal linked list, where
appendAtChannel(int, Block, int) is called for each channel that has a new entry to be added.protected final void appendAtChannel(int channel,
Block block,
int position)
public void forEach(T consumer)
public boolean isEmpty()
public final int getEntryCount()
protected abstract void accept(T consumer, PageBuilder pageBuilder, int currentPosition)
Copyright © 2012–2019. All rights reserved.