public class InlineTreeFilterClosure extends Object implements BPlusTree.TreeRowClosure<IndexRow,IndexRow>, MvccDataPageClosure
| Constructor and Description |
|---|
InlineTreeFilterClosure(IndexingQueryCacheFilter filter,
MvccSnapshot mvccSnapshot,
GridCacheContext<?,?> cctx,
IgniteLogger log)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
apply(BPlusTree<IndexRow,IndexRow> tree,
BPlusIO<IndexRow> io,
long pageAddr,
int idx)
Performs inspection or operation on a specified row and returns true if this row is
required or matches or /operation successful (depending on the context).
|
boolean |
applyMvcc(DataPageIO io,
long dataPageAddr,
int itemId,
int pageSize) |
String |
toString() |
public InlineTreeFilterClosure(IndexingQueryCacheFilter filter, MvccSnapshot mvccSnapshot, GridCacheContext<?,?> cctx, IgniteLogger log)
public boolean apply(BPlusTree<IndexRow,IndexRow> tree, BPlusIO<IndexRow> io, long pageAddr, int idx) throws IgniteCheckedException
apply in interface BPlusTree.TreeRowClosure<IndexRow,IndexRow>tree - The tree.io - Th tree IO object.pageAddr - The page address.idx - The item index.True if the item passes the predicate.IgniteCheckedException - If failed.public boolean applyMvcc(DataPageIO io, long dataPageAddr, int itemId, int pageSize) throws IgniteCheckedException
applyMvcc in interface MvccDataPageClosureio - Data page IO.dataPageAddr - Data page address.itemId - Item Id.pageSize - Page size.true If the row is visible.IgniteCheckedException - If failed.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.11.0 Release Date : September 11 2021