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, getTSetContext
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close
public DiskPartitionBackedSource(java.lang.String referencePrefix)
public boolean hasNext()
SourceFunc
public T next()
SourceFunc
public void prepare(TSetContext ctx)
TFunction
public DataPartition<?> get()