public class StreamingCacheSink<T> extends BaseSinkFunc<T>
Constructor and Description |
---|
StreamingCacheSink() |
Modifier and Type | Method and Description |
---|---|
boolean |
add(T value)
Every time an edge produces a value, this method is called.
|
CollectionPartition<T> |
get()
Return the data partition associated with this task instance.
|
void |
prepare(TSetContext ctx)
Prepare the function.
|
getInput, getTSetContext
public void prepare(TSetContext ctx)
TFunction
public boolean add(T value)
SinkFunc
value
- the value to addpublic CollectionPartition<T> get()
SinkFunc