public class FileSink<T> extends java.lang.Object implements SinkFunc<T>
| Constructor and Description |
|---|
FileSink(FileOutputWriter<T> out) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(T value)
Every time an edge produces a value, this method is called.
|
void |
close() |
void |
prepare(TSetContext context)
Prepare the function.
|
public FileSink(FileOutputWriter<T> out)
public boolean add(T value)
SinkFuncpublic void prepare(TSetContext context)
TFunction