|
||||||||||
| 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.PresenceEvaluator<ID>
public class PresenceEvaluator<ID extends Comparable<ID>>
An Evaluator which determines if candidates are matched by GreaterEqNode assertions.
| Constructor Summary | |
|---|---|
PresenceEvaluator(org.apache.directory.shared.ldap.model.filter.PresenceNode node,
Store<org.apache.directory.shared.ldap.model.entry.Entry,ID> db,
org.apache.directory.shared.ldap.model.schema.SchemaManager schemaManager)
|
|
| 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 . |
boolean |
evaluateId(ID id)
|
org.apache.directory.shared.ldap.model.schema.AttributeType |
getAttributeType()
|
org.apache.directory.shared.ldap.model.filter.PresenceNode |
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 PresenceEvaluator(org.apache.directory.shared.ldap.model.filter.PresenceNode node,
Store<org.apache.directory.shared.ldap.model.entry.Entry,ID> db,
org.apache.directory.shared.ldap.model.schema.SchemaManager schemaManager)
throws Exception
Exception| Method Detail |
|---|
public org.apache.directory.shared.ldap.model.filter.PresenceNode getExpression()
Evaluator
getExpression in interface Evaluator<org.apache.directory.shared.ldap.model.filter.PresenceNode,org.apache.directory.shared.ldap.model.entry.Entry,ID extends Comparable<ID>>public org.apache.directory.shared.ldap.model.schema.AttributeType getAttributeType()
public boolean evaluate(IndexEntry<?,ID> indexEntry)
throws Exception
Evaluator
evaluate in interface Evaluator<org.apache.directory.shared.ldap.model.filter.PresenceNode,org.apache.directory.shared.ldap.model.entry.Entry,ID extends Comparable<ID>>indexEntry - the index record of the entry to evaluate
Exception - if there are faults during evaluation
public boolean evaluateId(ID id)
throws Exception
Exception
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.PresenceNode,org.apache.directory.shared.ldap.model.entry.Entry,ID extends Comparable<ID>>entry - the candidate entry
Exception - if there are faults during evaluation
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||