org.openrdf.sesame.sailimpl.nativerdf.btree
Interface BTreeIterator


public interface BTreeIterator

An iterator that iterates over the values in a BTree.

See Also:
BTree

Method Summary
 void close()
          Closes the iterator, freeing any resources that it uses.
 byte[] next()
          Returns the next value in the BTree.
 

Method Detail

next

public byte[] next()
            throws IOException
Returns the next value in the BTree.

Returns:
A value that is stored in the BTree, or null if all values have been returned.
Throws:
IOException - In case an I/O error occurred.

close

public void close()
           throws IOException
Closes the iterator, freeing any resources that it uses. Once closes, the iterator will not return any more values.

Throws:
IOException - In case an I/O error occurred.


Copyright © 2002-2006 Aduna BV, GNU LGPL License applies.