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(PartitionTxn partitionTxn,
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(PartitionTxn partitionTxn, IndexEntry<?,String> entry) throws org.apache.directory.api.ldap.model.exception.LdapException
partitionTxn
- The transaction to useentry
- the index record of the entry to evaluateorg.apache.directory.api.ldap.model.exception.LdapException
- if there are faults during evaluationboolean evaluate(org.apache.directory.api.ldap.model.entry.Entry entry) throws org.apache.directory.api.ldap.model.exception.LdapException
entry
- the candidate entryorg.apache.directory.api.ldap.model.exception.LdapException
- if there are faults during evaluationN getExpression()
Copyright © 2003–2020 The Apache Software Foundation. All rights reserved.