org.apache.hadoop.hive.ql.util.jdbm.helper
Class TupleBrowser
java.lang.Object
org.apache.hadoop.hive.ql.util.jdbm.helper.TupleBrowser
public abstract class TupleBrowser
- extends Object
Browser to traverse a collection of tuples. The browser allows for
forward and reverse order traversal.
- Version:
- $Id: TupleBrowser.java,v 1.2 2001/05/19 14:02:00 boisvert Exp $
- Author:
- Alex Boisvert
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TupleBrowser
public TupleBrowser()
getNext
public abstract boolean getNext(Tuple tuple)
throws IOException
- Get the next tuple.
- Parameters:
tuple
- Tuple into which values are copied.
- Returns:
- True if values have been copied in tuple, or false if there is
no next tuple.
- Throws:
IOException
getPrevious
public abstract boolean getPrevious(Tuple tuple)
throws IOException
- Get the previous tuple.
- Parameters:
tuple
- Tuple into which values are copied.
- Returns:
- True if values have been copied in tuple, or false if there is
no previous tuple.
- Throws:
IOException
Copyright © 2009 The Apache Software Foundation