public class EmptyEvaluator extends java.lang.Object implements Evaluator<org.apache.directory.api.ldap.model.filter.UndefinedNode>
| Constructor and Description |
|---|
EmptyEvaluator()
Create a new instance of the PassThroughEvaluator
|
| 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<?,java.lang.String> indexEntry)
Evaluates a candidate to determine if a filter expression selects it.
|
org.apache.directory.api.ldap.model.filter.UndefinedNode |
getExpression()
Gets the expression used by this expression Evaluator.
|
java.lang.String |
toString() |
java.lang.String |
toString(java.lang.String tabs)
Pretty-print an Evaluator
|
public EmptyEvaluator()
java.lang.Exceptionpublic boolean evaluate(IndexEntry<?,java.lang.String> indexEntry) throws org.apache.directory.api.ldap.model.exception.LdapException
evaluate in interface Evaluator<org.apache.directory.api.ldap.model.filter.UndefinedNode>indexEntry - 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 java.lang.Exception
public org.apache.directory.api.ldap.model.filter.UndefinedNode getExpression()
getExpression in interface Evaluator<org.apache.directory.api.ldap.model.filter.UndefinedNode>public java.lang.String toString(java.lang.String tabs)
Evaluatorpublic java.lang.String toString()
toString in class java.lang.ObjectObject.toString()