org.apache.directory.server.core.partition.impl.btree
Interface TupleBrowser

All Known Implementing Classes:
JdbmTupleBrowser

public interface TupleBrowser

TupleBrowser interface used to abstract

Version:
$Rev: 434579 $
Author:
Apache Directory Project

Method Summary
 boolean getNext(Tuple tuple)
          Gets the next value deemed greater than the last using the key comparator.
 boolean getPrevious(Tuple tuple)
          Gets the previous value deemed greater than the last using the key comparator.
 

Method Detail

getNext

boolean getNext(Tuple tuple)
                throws javax.naming.NamingException
Gets the next value deemed greater than the last using the key comparator.

Parameters:
tuple - the tuple to populate with a key/value pair
Returns:
true if there was a next that was populated or false otherwise
Throws:
javax.naming.NamingException - @todo

getPrevious

boolean getPrevious(Tuple tuple)
                    throws javax.naming.NamingException
Gets the previous value deemed greater than the last using the key comparator.

Parameters:
tuple - the tuple to populate with a key/value pair
Returns:
true if there was a previous value populated or false otherwise
Throws:
javax.naming.NamingException - @todo


Copyright © 2003-2009 Apache Software Foundation. All Rights Reserved.