|
||||||||||
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.EqualityEvaluator<T>
public class EqualityEvaluator<T>
An Evaluator which determines if candidates are matched by GreaterEqNode assertions.
Constructor Summary | |
---|---|
EqualityEvaluator(org.apache.directory.shared.ldap.filter.EqualityNode<T> node,
Store<ServerEntry> db,
Registries registries)
|
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.EqualityNode<T> |
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 EqualityEvaluator(org.apache.directory.shared.ldap.filter.EqualityNode<T> node, Store<ServerEntry> db, Registries registries) throws java.lang.Exception
java.lang.Exception
Method Detail |
---|
public org.apache.directory.shared.ldap.filter.EqualityNode<T> getExpression()
Evaluator
getExpression
in interface Evaluator<org.apache.directory.shared.ldap.filter.EqualityNode<T>,ServerEntry>
public boolean evaluate(IndexEntry<?,ServerEntry> indexEntry) throws java.lang.Exception
Evaluator
evaluate
in interface Evaluator<org.apache.directory.shared.ldap.filter.EqualityNode<T>,ServerEntry>
indexEntry
- the index record of the entry to evaluate
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.EqualityNode<T>,ServerEntry>
entry
- the candidate entry
java.lang.Exception
- if there are faults during evaluationpublic boolean evaluate(java.lang.Long id) throws java.lang.Exception
Evaluator
evaluate
in interface Evaluator<org.apache.directory.shared.ldap.filter.EqualityNode<T>,ServerEntry>
id
- the identifier for the candidate entry
java.lang.Exception
- if there are faults during evaluation
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |