public abstract class TupleBrowser<K,V>
extends java.lang.Object
| Constructor and Description |
|---|
TupleBrowser() |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the browser and deallocates any resources it might have allocated.
|
abstract boolean |
getNext(Tuple<K,V> tuple)
Get the next tuple.
|
abstract boolean |
getPrevious(Tuple<K,V> tuple)
Get the previous tuple.
|
public abstract boolean getNext(Tuple<K,V> tuple) throws java.io.IOException
tuple - Tuple into which values are copied.java.io.IOExceptionpublic abstract boolean getPrevious(Tuple<K,V> tuple) throws java.io.IOException
tuple - Tuple into which values are copied.java.io.IOExceptionpublic void close()