T
- typepublic class DiskPartitionBackedSourceWrapper<T> extends BaseSourceFunc<T>
DiskPartitionBackedSource
. This is used
for checkpointing purposes. Not intended to be used as a usual source.Constructor and Description |
---|
DiskPartitionBackedSourceWrapper(DiskPartitionBackedSource<T> sourceFunc) |
Modifier and Type | Method and Description |
---|---|
DataPartition<?> |
get() |
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 DiskPartitionBackedSourceWrapper(DiskPartitionBackedSource<T> sourceFunc)
public void prepare(TSetContext ctx)
TFunction
public boolean hasNext()
SourceFunc
public T next()
SourceFunc
public DataPartition<?> get()