org.apache.directory.server.xdbm.search.impl
Class AndEvaluator
java.lang.Object
org.apache.directory.server.xdbm.search.impl.AndEvaluator
- All Implemented Interfaces:
- Evaluator<org.apache.directory.shared.ldap.filter.AndNode,ServerEntry>
public class AndEvaluator
- extends java.lang.Object
- implements Evaluator<org.apache.directory.shared.ldap.filter.AndNode,ServerEntry>
An Evaluator for logical conjunction (AND) expressions.
- Version:
- $$Rev$$
- Author:
- Apache Directory Project
|
Constructor Summary |
AndEvaluator(org.apache.directory.shared.ldap.filter.AndNode node,
java.util.List<Evaluator<? extends org.apache.directory.shared.ldap.filter.ExprNode,ServerEntry>> evaluators)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AndEvaluator
public AndEvaluator(org.apache.directory.shared.ldap.filter.AndNode node,
java.util.List<Evaluator<? extends org.apache.directory.shared.ldap.filter.ExprNode,ServerEntry>> evaluators)
evaluate
public boolean evaluate(java.lang.Long id)
throws java.lang.Exception
- Specified by:
evaluate in interface Evaluator<org.apache.directory.shared.ldap.filter.AndNode,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.AndNode,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.AndNode,ServerEntry>
- Throws:
java.lang.Exception
getExpression
public org.apache.directory.shared.ldap.filter.AndNode getExpression()
- Specified by:
getExpression in interface Evaluator<org.apache.directory.shared.ldap.filter.AndNode,ServerEntry>
Copyright © 2003-2009 The Apache Software Foundation. All Rights Reserved.