org.apache.directory.server.core.partition.impl.btree
Interface IndexAssertion
- public interface IndexAssertion
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: 434579 $
- Author:
- Apache Directory Project
Method Summary |
boolean |
assertCandidate(IndexRecord record)
Tests to see if a perspective candidate should be returned based on
the evaluation of hard coded logic. |
assertCandidate
public boolean assertCandidate(IndexRecord record)
throws javax.naming.NamingException
- 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 getAttributes 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:
record
- 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