org.apache.directory.server.xdbm.search.impl
Class LessEqEvaluator

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

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

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 node, Store<ServerEntry> db, Registries registries)
           
 
Method Summary
 boolean evaluate(IndexEntry<?,ServerEntry> indexEntry)
           
 boolean evaluate(java.lang.Long id)
           
 boolean evaluate(ServerEntry entry)
           
 org.apache.directory.shared.ldap.schema.AttributeType getAttributeType()
           
 java.util.Comparator getComparator()
           
 org.apache.directory.shared.ldap.filter.LessEqNode getExpression()
           
 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 node,
                       Store<ServerEntry> db,
                       Registries registries)
                throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

getExpression

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

getAttributeType

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

getNormalizer

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

getComparator

public java.util.Comparator getComparator()

evaluate

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

evaluate

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

evaluate

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


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