Interface BPlusTree.TreeRowClosure<L,T extends L>

Enclosing class:
BPlusTree<L,T extends L>

public static interface BPlusTree.TreeRowClosure<L,T extends L>
A generic visitor-style interface for performing filtering/modifications/miscellaneous operations on the tree.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    apply(BPlusTree<L,T> tree, BPlusIO<L> 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).
  • Method Details

    • apply

      boolean apply(BPlusTree<L,T> tree, BPlusIO<L> 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).
      Parameters:
      tree - The tree.
      io - Th tree IO object.
      pageAddr - The page address.
      idx - The item index.
      Returns:
      True if the item passes the predicate.
      Throws:
      IgniteCheckedException - If failed.