org.apache.directory.server.xdbm.search.impl
Class PresenceEvaluator
java.lang.Object
org.apache.directory.server.xdbm.search.impl.PresenceEvaluator
- All Implemented Interfaces:
- Evaluator<org.apache.directory.shared.ldap.filter.PresenceNode,ServerEntry>
public class PresenceEvaluator
- extends java.lang.Object
- implements Evaluator<org.apache.directory.shared.ldap.filter.PresenceNode,ServerEntry>
An Evaluator which determines if candidates are matched by GreaterEqNode
assertions.
- Version:
- $Rev$
- Author:
- Apache Directory Project
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PresenceEvaluator
public PresenceEvaluator(org.apache.directory.shared.ldap.filter.PresenceNode node,
Store<ServerEntry> db,
Registries registries)
throws java.lang.Exception
- Throws:
java.lang.Exception
getExpression
public org.apache.directory.shared.ldap.filter.PresenceNode getExpression()
- Specified by:
getExpression in interface Evaluator<org.apache.directory.shared.ldap.filter.PresenceNode,ServerEntry>
getAttributeType
public org.apache.directory.shared.ldap.schema.AttributeType getAttributeType()
evaluate
public boolean evaluate(IndexEntry<?,ServerEntry> indexEntry)
throws java.lang.Exception
- Specified by:
evaluate in interface Evaluator<org.apache.directory.shared.ldap.filter.PresenceNode,ServerEntry>
- Throws:
java.lang.Exception
evaluate
public boolean evaluate(java.lang.Long id)
throws java.lang.Exception
- Specified by:
evaluate in interface Evaluator<org.apache.directory.shared.ldap.filter.PresenceNode,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.PresenceNode,ServerEntry>
- Throws:
java.lang.Exception
Copyright © 2003-2009 The Apache Software Foundation. All Rights Reserved.