public class GreaterEqEvaluator<T,ID> extends Object implements Evaluator<org.apache.directory.shared.ldap.filter.GreaterEqNode<T>,org.apache.directory.shared.ldap.entry.ServerEntry,ID>
| Constructor and Description |
|---|
GreaterEqEvaluator(org.apache.directory.shared.ldap.filter.GreaterEqNode<T> node,
Store<org.apache.directory.shared.ldap.entry.ServerEntry,ID> db,
org.apache.directory.shared.ldap.schema.SchemaManager schemaManager) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
evaluate(IndexEntry<?,org.apache.directory.shared.ldap.entry.ServerEntry,ID> indexEntry)
Evaluates a candidate to determine if a filter expression selects it.
|
boolean |
evaluateEntry(org.apache.directory.shared.ldap.entry.ServerEntry entry)
Evaluates whether or not a candidate, satisfies the expression
associated with this Evaluator .
|
boolean |
evaluateId(ID id)
Evaluates whether or not a candidate, specified by an id, satisfies the
expression associated with this Evaluator .
|
org.apache.directory.shared.ldap.schema.AttributeType |
getAttributeType() |
Comparator |
getComparator() |
org.apache.directory.shared.ldap.filter.GreaterEqNode |
getExpression()
Gets the expression used by this expression Evaluator.
|
org.apache.directory.shared.ldap.schema.Normalizer |
getNormalizer() |
public org.apache.directory.shared.ldap.filter.GreaterEqNode getExpression()
EvaluatorgetExpression in interface Evaluator<org.apache.directory.shared.ldap.filter.GreaterEqNode<T>,org.apache.directory.shared.ldap.entry.ServerEntry,ID>public org.apache.directory.shared.ldap.schema.AttributeType getAttributeType()
public org.apache.directory.shared.ldap.schema.Normalizer getNormalizer()
public Comparator getComparator()
public boolean evaluate(IndexEntry<?,org.apache.directory.shared.ldap.entry.ServerEntry,ID> indexEntry) throws Exception
Evaluatorevaluate in interface Evaluator<org.apache.directory.shared.ldap.filter.GreaterEqNode<T>,org.apache.directory.shared.ldap.entry.ServerEntry,ID>indexEntry - the index record of the entry to evaluateException - if there are faults during evaluationpublic boolean evaluateId(ID id) throws Exception
EvaluatorevaluateId in interface Evaluator<org.apache.directory.shared.ldap.filter.GreaterEqNode<T>,org.apache.directory.shared.ldap.entry.ServerEntry,ID>id - the identifier for the candidate entryException - if there are faults during evaluationpublic boolean evaluateEntry(org.apache.directory.shared.ldap.entry.ServerEntry entry)
throws Exception
EvaluatorevaluateEntry in interface Evaluator<org.apache.directory.shared.ldap.filter.GreaterEqNode<T>,org.apache.directory.shared.ldap.entry.ServerEntry,ID>entry - the candidate entryException - if there are faults during evaluationCopyright © 2003-2012 Apache Software Foundation. All Rights Reserved.