public class EqualityEvaluator<T> extends LeafEvaluator<T>
attributeType, db, idx, ldapComparator, node, normalizer, schemaManager| Constructor and Description |
|---|
EqualityEvaluator(org.apache.directory.api.ldap.model.filter.EqualityNode<T> node,
Store db,
org.apache.directory.api.ldap.model.schema.SchemaManager schemaManager) |
| 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> indexEntry)
Evaluates a candidate to determine if a filter expression selects it.
|
org.apache.directory.api.ldap.model.filter.EqualityNode<T> |
getExpression()
Gets the expression used by this expression Evaluator.
|
String |
toString() |
String |
toString(String tabs)
Pretty-print an Evaluator
|
getAttributeType, getComparator, getNormalizerpublic org.apache.directory.api.ldap.model.filter.EqualityNode<T> getExpression()
Evaluatorpublic boolean evaluate(IndexEntry<?,String> indexEntry) throws org.apache.directory.api.ldap.model.exception.LdapException
EvaluatorindexEntry - the index record of the entry to evaluateorg.apache.directory.api.ldap.model.exception.LdapExceptionpublic boolean evaluate(org.apache.directory.api.ldap.model.entry.Entry entry)
throws org.apache.directory.api.ldap.model.exception.LdapException
Evaluatorentry - the candidate entryorg.apache.directory.api.ldap.model.exception.LdapExceptionpublic String toString(String tabs)
Evaluatortabs - The tabs to add before the evaluatorObject.toString()public String toString()
toString in class LeafEvaluator<T>Object.toString()Copyright © 2003–2015 The Apache Software Foundation. All rights reserved.