org.apache.directory.server.xdbm.search.impl
Class AndCursor<V>
java.lang.Object
org.apache.directory.server.xdbm.AbstractIndexCursor<V,ServerEntry>
org.apache.directory.server.xdbm.search.impl.AndCursor<V>
- All Implemented Interfaces:
- java.lang.Iterable<IndexEntry<V,ServerEntry>>, IndexCursor<V,ServerEntry>, org.apache.directory.shared.ldap.cursor.Cursor<IndexEntry<V,ServerEntry>>
public class AndCursor<V>
- extends AbstractIndexCursor<V,ServerEntry>
A Cursor returning candidates satisfying a logical conjunction expression.
- Version:
- $Rev$
- Author:
- Apache Directory Project
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AndCursor
public AndCursor(IndexCursor<V,ServerEntry> wrapped,
java.util.List<Evaluator<? extends org.apache.directory.shared.ldap.filter.ExprNode,ServerEntry>> evaluators)
available
public boolean available()
beforeValue
public void beforeValue(java.lang.Long id,
V value)
afterValue
public void afterValue(java.lang.Long id,
V value)
before
public void before(IndexEntry<V,ServerEntry> element)
throws java.lang.Exception
- Throws:
java.lang.Exception
after
public void after(IndexEntry<V,ServerEntry> element)
throws java.lang.Exception
- Throws:
java.lang.Exception
beforeFirst
public void beforeFirst()
throws java.lang.Exception
- Throws:
java.lang.Exception
afterLast
public void afterLast()
throws java.lang.Exception
- Throws:
java.lang.Exception
first
public boolean first()
throws java.lang.Exception
- Throws:
java.lang.Exception
last
public boolean last()
throws java.lang.Exception
- Throws:
java.lang.Exception
previous
public boolean previous()
throws java.lang.Exception
- Throws:
java.lang.Exception
next
public boolean next()
throws java.lang.Exception
- Throws:
java.lang.Exception
get
public IndexEntry<V,ServerEntry> get()
throws java.lang.Exception
- Throws:
java.lang.Exception
isElementReused
public boolean isElementReused()
close
public void close()
throws java.lang.Exception
- Specified by:
close in interface org.apache.directory.shared.ldap.cursor.Cursor<IndexEntry<V,ServerEntry>>- Overrides:
close in class AbstractIndexCursor<V,ServerEntry>
- Throws:
java.lang.Exception
Copyright © 2003-2009 The Apache Software Foundation. All Rights Reserved.