org.apache.directory.server.core.partition.impl.btree
Interface IndexAssertion<K,E>
public interface IndexAssertion<K,E>
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.
- Version:
- $Rev: 642356 $
- Author:
- Apache Directory Project
Method Summary |
boolean |
assertCandidate(IndexEntry<K,E> entry)
Tests to see if a perspective candidate should be returned based on
the evaluation of hard coded logic. |
assertCandidate
boolean assertCandidate(IndexEntry<K,E> entry)
throws java.lang.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:
javax.naming.NamingException
- if their are failures while asserting the
condition
java.lang.Exception
Copyright © 2003-2009 Apache Software Foundation. All Rights Reserved.