org.apache.directory.server.xdbm.search.impl
Class LessEqEvaluator<T,ID>

java.lang.Object
  extended by org.apache.directory.server.xdbm.search.impl.LessEqEvaluator<T,ID>
All Implemented Interfaces:
Evaluator<org.apache.directory.shared.ldap.filter.LessEqNode<T>,org.apache.directory.shared.ldap.entry.ServerEntry,ID>

public class LessEqEvaluator<T,ID>
extends java.lang.Object
implements Evaluator<org.apache.directory.shared.ldap.filter.LessEqNode<T>,org.apache.directory.shared.ldap.entry.ServerEntry,ID>

An Evaluator which determines if candidates are matched by LessEqNode assertions.

Version:
$Rev$
Author:
Apache Directory Project

Constructor Summary
LessEqEvaluator(org.apache.directory.shared.ldap.filter.LessEqNode<T> node, Store<org.apache.directory.shared.ldap.entry.ServerEntry,ID> db, org.apache.directory.shared.ldap.schema.SchemaManager schemaManager)
           
 
Method Summary
 boolean evaluate(IndexEntry<?,org.apache.directory.shared.ldap.entry.ServerEntry,ID> indexEntry)
           
 boolean evaluateEntry(org.apache.directory.shared.ldap.entry.ServerEntry entry)
           
 boolean evaluateId(ID id)
           
 org.apache.directory.shared.ldap.schema.AttributeType getAttributeType()
           
 org.apache.directory.shared.ldap.filter.LessEqNode<T> getExpression()
           
 org.apache.directory.shared.ldap.schema.LdapComparator<? super java.lang.Object> getLdapComparator()
           
 org.apache.directory.shared.ldap.schema.Normalizer getNormalizer()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LessEqEvaluator

public LessEqEvaluator(org.apache.directory.shared.ldap.filter.LessEqNode<T> node,
                       Store<org.apache.directory.shared.ldap.entry.ServerEntry,ID> db,
                       org.apache.directory.shared.ldap.schema.SchemaManager schemaManager)
                throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

getExpression

public org.apache.directory.shared.ldap.filter.LessEqNode<T> getExpression()
Specified by:
getExpression in interface Evaluator<org.apache.directory.shared.ldap.filter.LessEqNode<T>,org.apache.directory.shared.ldap.entry.ServerEntry,ID>

getAttributeType

public org.apache.directory.shared.ldap.schema.AttributeType getAttributeType()

getNormalizer

public org.apache.directory.shared.ldap.schema.Normalizer getNormalizer()

getLdapComparator

public org.apache.directory.shared.ldap.schema.LdapComparator<? super java.lang.Object> getLdapComparator()

evaluateId

public boolean evaluateId(ID id)
                   throws java.lang.Exception
Specified by:
evaluateId in interface Evaluator<org.apache.directory.shared.ldap.filter.LessEqNode<T>,org.apache.directory.shared.ldap.entry.ServerEntry,ID>
Throws:
java.lang.Exception

evaluate

public boolean evaluate(IndexEntry<?,org.apache.directory.shared.ldap.entry.ServerEntry,ID> indexEntry)
                 throws java.lang.Exception
Specified by:
evaluate in interface Evaluator<org.apache.directory.shared.ldap.filter.LessEqNode<T>,org.apache.directory.shared.ldap.entry.ServerEntry,ID>
Throws:
java.lang.Exception

evaluateEntry

public boolean evaluateEntry(org.apache.directory.shared.ldap.entry.ServerEntry entry)
                      throws java.lang.Exception
Specified by:
evaluateEntry in interface Evaluator<org.apache.directory.shared.ldap.filter.LessEqNode<T>,org.apache.directory.shared.ldap.entry.ServerEntry,ID>
Throws:
java.lang.Exception


Copyright © 2003-2010 The Apache Software Foundation. All Rights Reserved.