|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.directory.server.xdbm.search.impl.AndEvaluator
public class AndEvaluator
An Evaluator for logical conjunction (AND) expressions.
Constructor Summary | |
---|---|
AndEvaluator(org.apache.directory.shared.ldap.filter.AndNode node,
java.util.List<Evaluator<? extends org.apache.directory.shared.ldap.filter.ExprNode,ServerEntry>> evaluators)
|
Method Summary | |
---|---|
boolean |
evaluate(IndexEntry<?,ServerEntry> indexEntry)
Evaluates a candidate to determine if a filter expression selects it. |
boolean |
evaluate(java.lang.Long id)
Evaluates whether or not a candidate, specified by an id, satisfies the expression associated with this Evaluator . |
boolean |
evaluate(ServerEntry entry)
Evaluates whether or not a candidate, satisfies the expression associated with this Evaluator . |
org.apache.directory.shared.ldap.filter.AndNode |
getExpression()
Gets the expression used by this expression Evaluator. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AndEvaluator(org.apache.directory.shared.ldap.filter.AndNode node, java.util.List<Evaluator<? extends org.apache.directory.shared.ldap.filter.ExprNode,ServerEntry>> evaluators)
Method Detail |
---|
public boolean evaluate(java.lang.Long id) throws java.lang.Exception
Evaluator
evaluate
in interface Evaluator<org.apache.directory.shared.ldap.filter.AndNode,ServerEntry>
id
- the identifier for the candidate entry
java.lang.Exception
- if there are faults during evaluationpublic boolean evaluate(ServerEntry entry) throws java.lang.Exception
Evaluator
evaluate
in interface Evaluator<org.apache.directory.shared.ldap.filter.AndNode,ServerEntry>
entry
- the candidate entry
java.lang.Exception
- if there are faults during evaluationpublic boolean evaluate(IndexEntry<?,ServerEntry> indexEntry) throws java.lang.Exception
Evaluator
evaluate
in interface Evaluator<org.apache.directory.shared.ldap.filter.AndNode,ServerEntry>
indexEntry
- the index record of the entry to evaluate
java.lang.Exception
- if there are faults during evaluationpublic org.apache.directory.shared.ldap.filter.AndNode getExpression()
Evaluator
getExpression
in interface Evaluator<org.apache.directory.shared.ldap.filter.AndNode,ServerEntry>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |