public class PresenceEvaluator extends Object implements Evaluator<org.apache.directory.api.ldap.model.filter.PresenceNode>
| Constructor and Description |
|---|
PresenceEvaluator(org.apache.directory.api.ldap.model.filter.PresenceNode 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.schema.AttributeType |
getAttributeType() |
org.apache.directory.api.ldap.model.filter.PresenceNode |
getExpression()
Gets the expression used by this expression Evaluator.
|
String |
toString() |
String |
toString(String tabs)
Pretty-print an Evaluator
|
public org.apache.directory.api.ldap.model.filter.PresenceNode getExpression()
EvaluatorgetExpression in interface Evaluator<org.apache.directory.api.ldap.model.filter.PresenceNode>public org.apache.directory.api.ldap.model.schema.AttributeType getAttributeType()
public boolean evaluate(IndexEntry<?,String> indexEntry) throws org.apache.directory.api.ldap.model.exception.LdapException
Evaluatorpublic boolean evaluate(org.apache.directory.api.ldap.model.entry.Entry entry)
throws org.apache.directory.api.ldap.model.exception.LdapException
Evaluatorpublic String toString(String tabs)
EvaluatortoString in interface Evaluator<org.apache.directory.api.ldap.model.filter.PresenceNode>tabs - The tabs to add before the evaluatorObject.toString()public String toString()
toString in class ObjectObject.toString()Copyright © 2003–2015 The Apache Software Foundation. All rights reserved.