Returns a copy of a value (or the value itself) that can safely be retained.
This is useful when iterable values being processed in a DoFn (via a reducer) need to be held
on to for more than the scope of a single iteration, as a reducer (and therefore also a DoFn
that has an Iterable as input) re-use deserialized values. More information on object reuse is
available in the DoFn class documentation.
Parameters:
value - The value to be deep-copied
Returns:
A deep copy of the input value
configureShuffle
public void configureShuffle(org.apache.hadoop.mapreduce.Job job,
GroupingOptions options)