|
||||||||||
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>
public class OneLevelScopeEvaluator<E>
Evaluates one level scope assertions on candidates using an entry database.
Constructor Summary | |
---|---|
OneLevelScopeEvaluator(Store<E> db,
org.apache.directory.shared.ldap.filter.ScopeNode node)
Creates a one level scope node Evaluator for search expressions. |
Method Summary | |
---|---|
boolean |
evaluate(E candidate)
Asserts whether or not a candidate has one level scope while taking alias dereferencing into account. |
boolean |
evaluate(IndexEntry<?,E> candidate)
Asserts whether or not a candidate has one level scope while taking alias dereferencing into account. |
boolean |
evaluate(java.lang.Long candidate)
Asserts whether or not a candidate has one level scope while taking alias dereferencing into account. |
java.lang.Long |
getBaseId()
Gets the id of the search base associated with the ScopeNode expression. |
org.apache.directory.shared.ldap.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> 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 failureMethod Detail |
---|
public boolean evaluate(java.lang.Long candidate) throws java.lang.Exception
evaluate
in interface Evaluator<org.apache.directory.shared.ldap.filter.ScopeNode,E>
candidate
- the candidate to assert
java.lang.Exception
- if db lookups failEvaluator.evaluate(IndexEntry)
public boolean evaluate(E candidate) throws java.lang.Exception
evaluate
in interface Evaluator<org.apache.directory.shared.ldap.filter.ScopeNode,E>
candidate
- the candidate entry
java.lang.Exception
- if there are faults during evaluationEvaluator.evaluate(Object)
public boolean evaluate(IndexEntry<?,E> candidate) throws java.lang.Exception
evaluate
in interface Evaluator<org.apache.directory.shared.ldap.filter.ScopeNode,E>
candidate
- the candidate to assert
java.lang.Exception
- if db lookups failEvaluator.evaluate(IndexEntry)
public org.apache.directory.shared.ldap.filter.ScopeNode getExpression()
Evaluator
getExpression
in interface Evaluator<org.apache.directory.shared.ldap.filter.ScopeNode,E>
public java.lang.Long getBaseId()
public boolean isDereferencing()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |