|
This post was updated on .
Already found close() in Rich functions which looks similar.
However, cleanup(Context context) can have one parameter and postpone output.
Is there a way to use Collector in close()?
Ex.
close(Collector collector){
collector.collect(new Tuple3<Long, Long, Long>((long) 1, key,
value))
}
|