public class DistributedLookupBatch extends Object implements org.gridgain.internal.h2.index.IndexLookupBatch
| Constructor and Description |
|---|
DistributedLookupBatch(H2TreeIndex idx,
GridCacheContext<?,?> cctx,
QueryContextRegistry qryCtxRegistry,
boolean ucast,
int affColId) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addSearchRows(org.gridgain.internal.h2.engine.Session ses,
org.gridgain.internal.h2.result.SearchRow firstRow,
org.gridgain.internal.h2.result.SearchRow lastRow) |
List<SegmentKey> |
broadcastSegments() |
static GridH2IndexRangeRequest |
createRequest(DistributedJoinContext joinCtx,
int batchLookupId,
int segmentId) |
List<Future<org.gridgain.internal.h2.index.Cursor>> |
find() |
String |
getPlanSQL() |
boolean |
isBatchFull() |
SegmentKey |
rangeSegment(Object affKeyObj) |
void |
reset(boolean beforeQry) |
public DistributedLookupBatch(H2TreeIndex idx, GridCacheContext<?,?> cctx, QueryContextRegistry qryCtxRegistry, boolean ucast, int affColId)
cctx - Cache Cache context.ucast - Unicast or broadcast query.affColId - Affinity column ID.public boolean addSearchRows(org.gridgain.internal.h2.engine.Session ses,
org.gridgain.internal.h2.result.SearchRow firstRow,
org.gridgain.internal.h2.result.SearchRow lastRow)
addSearchRows in interface org.gridgain.internal.h2.index.IndexLookupBatchpublic boolean isBatchFull()
isBatchFull in interface org.gridgain.internal.h2.index.IndexLookupBatchpublic List<Future<org.gridgain.internal.h2.index.Cursor>> find()
find in interface org.gridgain.internal.h2.index.IndexLookupBatchpublic void reset(boolean beforeQry)
reset in interface org.gridgain.internal.h2.index.IndexLookupBatchpublic String getPlanSQL()
getPlanSQL in interface org.gridgain.internal.h2.index.IndexLookupBatchpublic SegmentKey rangeSegment(Object affKeyObj)
affKeyObj - Affinity key.public List<SegmentKey> broadcastSegments()
public static GridH2IndexRangeRequest createRequest(DistributedJoinContext joinCtx, int batchLookupId, int segmentId)
joinCtx - Join context.batchLookupId - Batch lookup ID.segmentId - Segment ID.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 8.9.23-p1 Release Date : November 19 2025