public interface Reducer
| Modifier and Type | Interface and Description |
|---|---|
static interface |
Reducer.RowComparator
Rows comparator.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addPage(ReduceResultPage page)
Offer result page for reduce.
|
boolean |
fetchedAll()
Check if all rows has been fetched from all sources.
|
org.h2.index.Cursor |
find(@Nullable org.h2.result.SearchRow first,
@Nullable org.h2.result.SearchRow last)
Find a rows and create a cursor to iterate over the result.
|
boolean |
hasSource(UUID nodeId)
Check if node with given nodeId is data source node for the index.
|
void |
onFailure(UUID nodeId,
javax.cache.CacheException e)
Fail cursor callback.
|
void |
setPageSize(int pageSize) |
void |
setSources(Map<ClusterNode,BitSet> nodesToSegmentsCnt)
Set source nodes.
|
Set<UUID> |
sources() |
boolean hasSource(UUID nodeId)
nodeId - Node ID.true If this index needs data from the given source node, false otherwise.void setSources(Map<ClusterNode,BitSet> nodesToSegmentsCnt)
nodesToSegmentsCnt - Mapping of nodes to expected count of segments to scan.void addPage(ReduceResultPage page)
page - Page.void setPageSize(int pageSize)
pageSize - Page size.boolean fetchedAll()
true If all rows has been fetched, false otherwise.org.h2.index.Cursor find(@Nullable
@Nullable org.h2.result.SearchRow first,
@Nullable
@Nullable org.h2.result.SearchRow last)
first - Lower bound.last - Upper bound.void onFailure(UUID nodeId, javax.cache.CacheException e)
nodeId - Node ID.e - Exception.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.16.0 Release Date : December 15 2023