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, getTSetContextpublic void prepare(TSetContext ctx)
TFunctionpublic boolean add(T value)
SinkFuncvalue - the value to addpublic CollectionPartition<T> get()
SinkFunc