public abstract class UnsortedBaseReducer extends AbstractReducer
| Modifier and Type | Class and Description |
|---|---|
static interface |
Reducer.RowComparator
Rows comparator.
|
| Modifier and Type | Field and Description |
|---|---|
protected AtomicInteger |
activeSourcesCnt |
protected Iterator<org.gridgain.internal.h2.value.Value[]> |
iter |
protected org.apache.ignite.internal.processors.query.h2.twostep.UnsortedBaseReducer.PollableQueue<ReduceResultPage> |
queue |
fetched, memTracker, srcNodes| Constructor and Description |
|---|
UnsortedBaseReducer(GridKernalContext ctx)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
addPage0(ReduceResultPage page) |
boolean |
fetchedAll() |
protected org.gridgain.internal.h2.index.Cursor |
findAllFetched(List<org.gridgain.internal.h2.result.Row> fetched,
@Nullable org.gridgain.internal.h2.result.SearchRow first,
@Nullable org.gridgain.internal.h2.result.SearchRow last) |
void |
setSources(Map<ClusterNode,BitSet> nodesToSegmentsCnt)
Set source nodes.
|
addPage, checkBounds, createDummyLastPage, fail, find, findInStream, hasSource, memoryTracker, memoryTracker, onBlockEvict, onFailure, pollNextIterator, setPageSize, sourcesprotected final AtomicInteger activeSourcesCnt
protected final org.apache.ignite.internal.processors.query.h2.twostep.UnsortedBaseReducer.PollableQueue<ReduceResultPage> queue
protected Iterator<org.gridgain.internal.h2.value.Value[]> iter
public UnsortedBaseReducer(GridKernalContext ctx)
ctx - Context.public void setSources(Map<ClusterNode,BitSet> nodesToSegmentsCnt)
setSources in class AbstractReducernodesToSegmentsCnt - Mapping of nodes to expected count of segments to scan.public boolean fetchedAll()
protected void addPage0(ReduceResultPage page)
addPage0 in class AbstractReducerpage - Page.protected org.gridgain.internal.h2.index.Cursor findAllFetched(List<org.gridgain.internal.h2.result.Row> fetched, @Nullable @Nullable org.gridgain.internal.h2.result.SearchRow first, @Nullable @Nullable org.gridgain.internal.h2.result.SearchRow last)
findAllFetched in class AbstractReducerfetched - Fetched data.first - Row.last - Row.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 8.9.23-p1 Release Date : November 19 2025