T
- Base type of the inputT1
- type that is passed to the partition through the StoreIterSink
.extractValue
methodpublic abstract class StoreIterSink<T,T1> extends BaseSinkFunc<java.util.Iterator<T>>
Iterator
.Constructor and Description |
---|
StoreIterSink() |
Modifier and Type | Method and Description |
---|---|
boolean |
add(java.util.Iterator<T> value)
Every time an edge produces a value, this method is called.
|
protected abstract T1 |
extractValue(T input)
Extracts value from an input value of the iterator
|
abstract CollectionPartition<T1> |
get()
Returns the
CollectionPartition that would accept the values. |
getInput, getTSetContext, prepare
protected abstract T1 extractValue(T input)
public abstract CollectionPartition<T1> get()
CollectionPartition
that would accept the values. This could be an in-mem
collection or a disk-backed collection