public class Twister2SinkFunction<T> extends java.lang.Object implements SinkFunc<T>
Constructor and Description |
---|
Twister2SinkFunction() |
Modifier and Type | Method and Description |
---|---|
boolean |
add(T value)
Every time an edge produces a value, this method is called.
|
void |
close() |
DataPartition<?> |
get()
Return the data partition associated with this task instance.
|
void |
prepare(TSetContext context)
Prepare the function.
|
public boolean add(T value)
SinkFunc
public DataPartition<?> get()
SinkFunc