map(V input)
Maps the given input into an instance of the output type.
void
setContext(org.apache.hadoop.mapreduce.TaskInputOutputContext<?,?,?,?> context)
Called during setup to pass the TaskInputOutputContext to this
DoFn instance.
Methods inherited from class org.apache.crunch.MapFn
Initialize this DoFn. This initialization will happen before the actual
DoFn.process(Object, Emitter) is triggered. Subclasses may override
this method to do appropriate initialization.
Called during the setup of the job instance this DoFn is associated
with.