T
- TSet data typepublic class CacheIterSink<T> extends StoreIterSink<T,T>
Constructor and Description |
---|
CacheIterSink() |
Modifier and Type | Method and Description |
---|---|
protected T |
extractValue(T input)
Extracts value from an input value of the iterator
|
CollectionPartition<T> |
get()
Returns the
CollectionPartition that would accept the values. |
void |
prepare(TSetContext ctx)
Prepare the function.
|
add
getInput, getTSetContext
public void prepare(TSetContext ctx)
TFunction
public CollectionPartition<T> get()
StoreIterSink
CollectionPartition
that would accept the values. This could be an in-mem
collection or a disk-backed collectionprotected T extractValue(T input)
StoreIterSink
extractValue
in class StoreIterSink<T,T>