ostore.dataobj
Interface Btree.Predicate
- All Known Implementing Classes:
- TputGenerateChkptTest.RemoveGuidsHelper
- Enclosing interface:
- Btree
- public static interface Btree.Predicate
This interface must be implemented by clients wishing to use
any of the Depth-First Search (DFS) methods.
predicate
public boolean predicate(BtreeNode node,
int index,
HandleStore handle_store)
throws CacheException
- Evaluates whether a DFS should descend into a child node.
- Parameters:
node
- the node in the btree which is currently being
searchedindex
- the index of the child which is being considered for
descent
- Returns:
- true iff the search should descend to the child at
the given index
CacheException