T - TSet data typepublic abstract class BaseDiskPersistIterSink<T,T1> extends StoreIterSink<T,T1>
| Constructor and Description |
|---|
BaseDiskPersistIterSink(java.lang.String referencePrefix)
Creates an instance of
DiskPersistIterIterSink with a referencePrefix |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
DiskBackedCollectionPartition<T1> |
get()
Returns the
CollectionPartition that would accept the values. |
void |
prepare(TSetContext ctx)
Prepare the function.
|
add, extractValuegetInput, getTSetContextpublic BaseDiskPersistIterSink(java.lang.String referencePrefix)
DiskPersistIterIterSink with a referencePrefixreferencePrefix - referencePrefix will be used to uniquely identify the set of
disk partitions created with this functionpublic void prepare(TSetContext ctx)
TFunctionpublic void close()
public DiskBackedCollectionPartition<T1> get()
StoreIterSinkCollectionPartition that would accept the values. This could be an in-mem
collection or a disk-backed collection