public class DiskPartitionBackedSource<T> extends BaseSourceFunc<T>
| Constructor and Description |
|---|
DiskPartitionBackedSource(java.lang.String referencePrefix) |
| Modifier and Type | Method and Description |
|---|---|
DataPartition<?> |
get()
Exposes the data partition
|
boolean |
hasNext()
Weather we have more data
|
T |
next()
Get the next value
|
void |
prepare(TSetContext ctx)
Prepare the function.
|
getInput, getTSetContextclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclosepublic DiskPartitionBackedSource(java.lang.String referencePrefix)
public boolean hasNext()
SourceFuncpublic T next()
SourceFuncpublic void prepare(TSetContext ctx)
TFunctionpublic DataPartition<?> get()