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