org.apache.directory.server.xdbm.search.impl
Class SubstringCursor
java.lang.Object
org.apache.directory.server.xdbm.AbstractIndexCursor<java.lang.String,ServerEntry>
org.apache.directory.server.xdbm.search.impl.SubstringCursor
- All Implemented Interfaces:
- java.lang.Iterable<IndexEntry<java.lang.String,ServerEntry>>, IndexCursor<java.lang.String,ServerEntry>, org.apache.directory.shared.ldap.cursor.Cursor<IndexEntry<java.lang.String,ServerEntry>>
public class SubstringCursor
- extends AbstractIndexCursor<java.lang.String,ServerEntry>
A Cursor traversing candidates matching a Substring assertion 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 |
SubstringCursor
public SubstringCursor(Store<ServerEntry> db,
SubstringEvaluator substringEvaluator)
throws java.lang.Exception
- Throws:
java.lang.Exception
available
public boolean available()
beforeValue
public void beforeValue(java.lang.Long id,
java.lang.String value)
throws java.lang.Exception
- Throws:
java.lang.Exception
afterValue
public void afterValue(java.lang.Long id,
java.lang.String value)
throws java.lang.Exception
- Throws:
java.lang.Exception
before
public void before(IndexEntry<java.lang.String,ServerEntry> element)
throws java.lang.Exception
- Throws:
java.lang.Exception
after
public void after(IndexEntry<java.lang.String,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<java.lang.String,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<java.lang.String,ServerEntry>>- Overrides:
close in class AbstractIndexCursor<java.lang.String,ServerEntry>
- Throws:
java.lang.Exception
Copyright © 2003-2009 The Apache Software Foundation. All Rights Reserved.