Class InlineTreeFilterClosure
- java.lang.Object
-
- org.apache.ignite.internal.cache.query.index.sorted.inline.InlineTreeFilterClosure
-
- All Implemented Interfaces:
BPlusTree.TreeRowClosure<IndexRow,IndexRow>
public class InlineTreeFilterClosure extends Object implements BPlusTree.TreeRowClosure<IndexRow,IndexRow>
Represents filter that allow query only primary partitions.
-
-
Constructor Summary
Constructors Constructor Description InlineTreeFilterClosure(IndexingQueryCacheFilter cacheFilter, BPlusTree.TreeRowClosure<IndexRow,IndexRow> rowFilter)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanapply(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).StringtoString()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.ignite.internal.processors.cache.persistence.tree.BPlusTree.TreeRowClosure
lastRow
-
-
-
-
Constructor Detail
-
InlineTreeFilterClosure
public InlineTreeFilterClosure(IndexingQueryCacheFilter cacheFilter, BPlusTree.TreeRowClosure<IndexRow,IndexRow> rowFilter)
Constructor.
-
-
Method Detail
-
apply
public boolean apply(BPlusTree<IndexRow,IndexRow> tree, BPlusIO<IndexRow> io, long pageAddr, int idx) throws IgniteCheckedException
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).- Specified by:
applyin interfaceBPlusTree.TreeRowClosure<IndexRow,IndexRow>- Parameters:
tree- The tree.io- Th tree IO object.pageAddr- The page address.idx- The item index.- Returns:
Trueif the item passes the predicate.- Throws:
IgniteCheckedException- If failed.
-
-