|
||||||||||
| 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.OneLevelScopeEvaluator<E,ID>
public class OneLevelScopeEvaluator<E,ID extends Comparable<ID>>
Evaluates one level scope assertions on candidates using an entry database.
| Constructor Summary | |
|---|---|
OneLevelScopeEvaluator(Store<E,ID> db,
org.apache.directory.shared.ldap.model.filter.ScopeNode node)
Creates a one level scope node Evaluator for search expressions. |
|
| Method Summary | |
|---|---|
boolean |
evaluate(IndexEntry<?,ID> candidate)
Asserts whether or not a candidate has one level scope while taking alias dereferencing into account. |
boolean |
evaluateEntry(E candidate)
Asserts whether or not a candidate has one level scope while taking alias dereferencing into account. |
boolean |
evaluateId(ID candidate)
Asserts whether or not a candidate has one level scope while taking alias dereferencing into account. |
ID |
getBaseId()
Gets the id of the search base associated with the ScopeNode expression. |
org.apache.directory.shared.ldap.model.filter.ScopeNode |
getExpression()
Gets the expression used by this expression Evaluator. |
boolean |
isDereferencing()
Gets whether or not dereferencing is enabled for this evaluator. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OneLevelScopeEvaluator(Store<E,ID> db,
org.apache.directory.shared.ldap.model.filter.ScopeNode node)
throws Exception
node - the scope nodedb - the database used to evaluate scope node
Exception - on db access failure| Method Detail |
|---|
public boolean evaluateId(ID candidate)
throws Exception
candidate - the candidate to assert
Exception - if db lookups failEvaluator.evaluate(IndexEntry)
public boolean evaluateEntry(E candidate)
throws Exception
evaluateEntry in interface Evaluator<org.apache.directory.shared.ldap.model.filter.ScopeNode,E,ID extends Comparable<ID>>candidate - the candidate entry
Exception - if there are faults during evaluation
public boolean evaluate(IndexEntry<?,ID> candidate)
throws Exception
evaluate in interface Evaluator<org.apache.directory.shared.ldap.model.filter.ScopeNode,E,ID extends Comparable<ID>>candidate - the candidate to assert
Exception - if db lookups failEvaluator.evaluate(IndexEntry)public org.apache.directory.shared.ldap.model.filter.ScopeNode getExpression()
Evaluator
getExpression in interface Evaluator<org.apache.directory.shared.ldap.model.filter.ScopeNode,E,ID extends Comparable<ID>>public ID getBaseId()
public boolean isDereferencing()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||