public class LessEqEvaluator<T> extends LeafEvaluator<T>
attributeType, db, idx, ldapComparator, node, normalizer, schemaManager
Constructor and Description |
---|
LessEqEvaluator(org.apache.directory.api.ldap.model.filter.LessEqNode<T> node,
Store db,
org.apache.directory.api.ldap.model.schema.SchemaManager schemaManager)
Creates a new LessEqEvaluator
|
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(PartitionTxn partitionTxn,
IndexEntry<?,String> indexEntry)
Evaluates a candidate to determine if a filter expression selects it.
|
org.apache.directory.api.ldap.model.filter.LessEqNode<T> |
getExpression()
Gets the expression used by this expression Evaluator.
|
String |
toString() |
String |
toString(String tabs)
Pretty-print an Evaluator
|
getAttributeType, getComparator, getNormalizer
public LessEqEvaluator(org.apache.directory.api.ldap.model.filter.LessEqNode<T> node, Store db, org.apache.directory.api.ldap.model.schema.SchemaManager schemaManager) throws org.apache.directory.api.ldap.model.exception.LdapException
node
- The LessEqNodedb
- The StoreschemaManager
- The SchemaManagerorg.apache.directory.api.ldap.model.exception.LdapException
- If the creation failedpublic org.apache.directory.api.ldap.model.filter.LessEqNode<T> getExpression()
public boolean evaluate(PartitionTxn partitionTxn, IndexEntry<?,String> indexEntry) throws org.apache.directory.api.ldap.model.exception.LdapException
partitionTxn
- The transaction to useindexEntry
- the index record of the entry to evaluateorg.apache.directory.api.ldap.model.exception.LdapException
- if there are faults during evaluationpublic boolean evaluate(org.apache.directory.api.ldap.model.entry.Entry entry) throws org.apache.directory.api.ldap.model.exception.LdapException
entry
- the candidate entryorg.apache.directory.api.ldap.model.exception.LdapException
- if there are faults during evaluationpublic String toString(String tabs)
Evaluator
tabs
- The tabs to add before the evaluatorObject.toString()
public String toString()
toString
in class LeafEvaluator<T>
Object.toString()
Copyright © 2003–2020 The Apache Software Foundation. All rights reserved.