public class LeafEvaluator extends Object implements Evaluator
Constructor and Description |
---|
LeafEvaluator(SubstringEvaluator substringEvaluator)
Creates a leaf expression node evaluator.
|
Modifier and Type | Method and Description |
---|---|
boolean |
evaluate(org.apache.directory.api.ldap.model.filter.ExprNode node,
org.apache.directory.api.ldap.model.name.Dn dn,
org.apache.directory.api.ldap.model.entry.Entry entry)
Evaluates a candidate to determine if a filter expression selects it.
|
ScopeEvaluator |
getScopeEvaluator() |
SubstringEvaluator |
getSubstringEvaluator() |
public LeafEvaluator(SubstringEvaluator substringEvaluator)
schemaManager
- The server schemaManagerpublic ScopeEvaluator getScopeEvaluator()
public SubstringEvaluator getSubstringEvaluator()
public boolean evaluate(org.apache.directory.api.ldap.model.filter.ExprNode node, org.apache.directory.api.ldap.model.name.Dn dn, org.apache.directory.api.ldap.model.entry.Entry entry) throws org.apache.directory.api.ldap.model.exception.LdapException
evaluate
in interface Evaluator
dn
- the normalized distinguished name of the entry being testedentry
- the entry to evaluateorg.apache.directory.api.ldap.model.exception.LdapException
- if there is a database fault during evaluationCopyright © 2018. All rights reserved.