public class NotEvaluator extends Object implements Evaluator<org.apache.directory.api.ldap.model.filter.NotNode>
Constructor and Description |
---|
NotEvaluator(org.apache.directory.api.ldap.model.filter.NotNode node,
Evaluator<? extends org.apache.directory.api.ldap.model.filter.ExprNode> childEvaluator) |
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.NotNode |
getExpression()
Gets the expression used by this expression Evaluator.
|
String |
toString() |
String |
toString(String tabs)
Pretty-print an Evaluator
|
public NotEvaluator(org.apache.directory.api.ldap.model.filter.NotNode node, Evaluator<? extends org.apache.directory.api.ldap.model.filter.ExprNode> childEvaluator)
public boolean evaluate(org.apache.directory.api.ldap.model.entry.Entry entry) throws Exception
Evaluator
public boolean evaluate(IndexEntry<?,String> indexEntry) throws org.apache.directory.api.ldap.model.exception.LdapException
Evaluator
public org.apache.directory.api.ldap.model.filter.NotNode getExpression()
Evaluator
getExpression
in interface Evaluator<org.apache.directory.api.ldap.model.filter.NotNode>
public String toString(String tabs)
Evaluator
toString
in interface Evaluator<org.apache.directory.api.ldap.model.filter.NotNode>
tabs
- The tabs to add before the evaluatorObject.toString()
public String toString()
toString
in class Object
Object.toString()
Copyright © 2017. All rights reserved.