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