|
||||||||||
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.filter.OrNode node,
java.util.List<Evaluator<? extends org.apache.directory.shared.ldap.filter.ExprNode,org.apache.directory.shared.ldap.entry.ServerEntry,ID>> evaluators)
|
Method Summary | |
---|---|
boolean |
evaluate(IndexEntry<?,org.apache.directory.shared.ldap.entry.ServerEntry,ID> indexEntry)
Evaluates a candidate to determine if a filter expression selects it. |
boolean |
evaluateEntry(org.apache.directory.shared.ldap.entry.ServerEntry entry)
Evaluates whether or not a candidate, satisfies the expression associated with this Evaluator . |
boolean |
evaluateId(ID id)
Evaluates whether or not a candidate, specified by an id, satisfies the expression associated with this Evaluator . |
org.apache.directory.shared.ldap.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.filter.OrNode node, java.util.List<Evaluator<? extends org.apache.directory.shared.ldap.filter.ExprNode,org.apache.directory.shared.ldap.entry.ServerEntry,ID>> evaluators)
Method Detail |
---|
public boolean evaluate(IndexEntry<?,org.apache.directory.shared.ldap.entry.ServerEntry,ID> indexEntry) throws java.lang.Exception
Evaluator
evaluate
in interface Evaluator<org.apache.directory.shared.ldap.filter.OrNode,org.apache.directory.shared.ldap.entry.ServerEntry,ID>
indexEntry
- the index record of the entry to evaluate
java.lang.Exception
- if there are faults during evaluationpublic boolean evaluateId(ID id) throws java.lang.Exception
Evaluator
evaluateId
in interface Evaluator<org.apache.directory.shared.ldap.filter.OrNode,org.apache.directory.shared.ldap.entry.ServerEntry,ID>
id
- the identifier for the candidate entry
java.lang.Exception
- if there are faults during evaluationpublic boolean evaluateEntry(org.apache.directory.shared.ldap.entry.ServerEntry entry) throws java.lang.Exception
Evaluator
evaluateEntry
in interface Evaluator<org.apache.directory.shared.ldap.filter.OrNode,org.apache.directory.shared.ldap.entry.ServerEntry,ID>
entry
- the candidate entry
java.lang.Exception
- if there are faults during evaluationpublic org.apache.directory.shared.ldap.filter.OrNode getExpression()
Evaluator
getExpression
in interface Evaluator<org.apache.directory.shared.ldap.filter.OrNode,org.apache.directory.shared.ldap.entry.ServerEntry,ID>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |