org.apache.directory.server.core.partition.impl.btree
Interface IndexAssertion<K,E,ID>
public interface IndexAssertion<K,E,ID>
Asserts whether or not a candidate should be returned in searching based on
hard coded logic. This interface is not related to the filter AssertionNode.
It is strictly used for purposes internal to the search engine.
- Author:
- Apache Directory Project
|
Method Summary |
boolean |
assertCandidate(IndexEntry<K,ID> entry)
Tests to see if a perspective candidate should be returned based on
the evaluation of hard coded logic. |
assertCandidate
boolean assertCandidate(IndexEntry<K,ID> entry)
throws Exception
- Tests to see if a perspective candidate should be returned based on
the evaluation of hard coded logic. If the entry has not been
resusitated then the getObject member of the record will be null. As
a side-effect an index assertion may populate the entry attribute after
resusitating an entry from the master table.
- Parameters:
entry - an index record of the entry
- Returns:
- true if the entry should be returned, false otherwise
- Throws:
Exception - if their are failures while asserting the
condition
Copyright © 2003-2012 The Apache Software Foundation. All Rights Reserved.