|
||||||||||
| 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.OrEvaluator<ID>
public class OrEvaluator<ID>
An Evaluator for logical disjunction (OR) expressions.
| Constructor Summary | |
|---|---|
OrEvaluator(org.apache.directory.shared.ldap.model.filter.OrNode node,
List<Evaluator<? extends org.apache.directory.shared.ldap.model.filter.ExprNode,org.apache.directory.shared.ldap.model.entry.Entry,ID>> evaluators)
|
|
| Method Summary | |
|---|---|
boolean |
evaluate(IndexEntry<?,ID> indexEntry)
Evaluates a candidate to determine if a filter expression selects it. |
boolean |
evaluateEntry(org.apache.directory.shared.ldap.model.entry.Entry entry)
Evaluates whether or not a candidate, satisfies the expression associated with this Evaluator . |
org.apache.directory.shared.ldap.model.filter.OrNode |
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 OrEvaluator(org.apache.directory.shared.ldap.model.filter.OrNode node,
List<Evaluator<? extends org.apache.directory.shared.ldap.model.filter.ExprNode,org.apache.directory.shared.ldap.model.entry.Entry,ID>> evaluators)
| Method Detail |
|---|
public boolean evaluate(IndexEntry<?,ID> indexEntry)
throws Exception
Evaluator
evaluate in interface Evaluator<org.apache.directory.shared.ldap.model.filter.OrNode,org.apache.directory.shared.ldap.model.entry.Entry,ID>indexEntry - the index record of the entry to evaluate
Exception - if there are faults during evaluation
public boolean evaluateEntry(org.apache.directory.shared.ldap.model.entry.Entry entry)
throws Exception
Evaluator
evaluateEntry in interface Evaluator<org.apache.directory.shared.ldap.model.filter.OrNode,org.apache.directory.shared.ldap.model.entry.Entry,ID>entry - the candidate entry
Exception - if there are faults during evaluationpublic org.apache.directory.shared.ldap.model.filter.OrNode getExpression()
Evaluator
getExpression in interface Evaluator<org.apache.directory.shared.ldap.model.filter.OrNode,org.apache.directory.shared.ldap.model.entry.Entry,ID>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||