org.apache.directory.server.xdbm.search.impl
Class OrCursor<V,ID>
java.lang.Object
org.apache.directory.server.xdbm.AbstractIndexCursor<V,org.apache.directory.shared.ldap.entry.ServerEntry,ID>
org.apache.directory.server.xdbm.search.impl.OrCursor<V,ID>
- All Implemented Interfaces:
- java.lang.Iterable<IndexEntry<V,org.apache.directory.shared.ldap.entry.ServerEntry,ID>>, IndexCursor<V,org.apache.directory.shared.ldap.entry.ServerEntry,ID>, org.apache.directory.shared.ldap.cursor.Cursor<IndexEntry<V,org.apache.directory.shared.ldap.entry.ServerEntry,ID>>
public class OrCursor<V,ID>
- extends AbstractIndexCursor<V,org.apache.directory.shared.ldap.entry.ServerEntry,ID>
A Cursor returning candidates satisfying a logical disjunction expression.
- Version:
- $Rev$
- Author:
- Apache Directory Project
|
Constructor Summary |
OrCursor(java.util.List<IndexCursor<V,org.apache.directory.shared.ldap.entry.ServerEntry,ID>> cursors,
java.util.List<Evaluator<? extends org.apache.directory.shared.ldap.filter.ExprNode,org.apache.directory.shared.ldap.entry.ServerEntry,ID>> evaluators)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OrCursor
public OrCursor(java.util.List<IndexCursor<V,org.apache.directory.shared.ldap.entry.ServerEntry,ID>> cursors,
java.util.List<Evaluator<? extends org.apache.directory.shared.ldap.filter.ExprNode,org.apache.directory.shared.ldap.entry.ServerEntry,ID>> evaluators)
available
public boolean available()
before
public void before(IndexEntry<V,org.apache.directory.shared.ldap.entry.ServerEntry,ID> element)
throws java.lang.Exception
- Throws:
java.lang.Exception
after
public void after(IndexEntry<V,org.apache.directory.shared.ldap.entry.ServerEntry,ID> element)
throws java.lang.Exception
- Throws:
java.lang.Exception
beforeValue
public void beforeValue(ID id,
V value)
throws java.lang.Exception
- Throws:
java.lang.Exception
afterValue
public void afterValue(ID id,
V value)
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,org.apache.directory.shared.ldap.entry.ServerEntry,ID> 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,org.apache.directory.shared.ldap.entry.ServerEntry,ID>>- Overrides:
close in class AbstractIndexCursor<V,org.apache.directory.shared.ldap.entry.ServerEntry,ID>
- Throws:
java.lang.Exception
Copyright © 2003-2010 The Apache Software Foundation. All Rights Reserved.