public interface Evaluator<N extends org.apache.directory.api.ldap.model.filter.ExprNode>
Modifier and Type | Method and Description |
---|---|
boolean |
evaluate(org.apache.directory.api.ldap.model.entry.Entry entry)
Evaluates whether or not a candidate, satisfies the expression
associated with this Evaluator .
|
boolean |
evaluate(IndexEntry<?,String> entry)
Evaluates a candidate to determine if a filter expression selects it.
|
N |
getExpression()
Gets the expression used by this expression Evaluator.
|
String |
toString(String tabs)
Pretty-print an Evaluator
|
boolean evaluate(IndexEntry<?,String> entry) throws org.apache.directory.api.ldap.model.exception.LdapException
entry
- the index record of the entry to evaluateException
- if there are faults during evaluationorg.apache.directory.api.ldap.model.exception.LdapException
boolean evaluate(org.apache.directory.api.ldap.model.entry.Entry entry) throws Exception
entry
- the candidate entryException
- if there are faults during evaluationN getExpression()
Copyright © 2003-2014 The Apache Software Foundation. All Rights Reserved.