public abstract class PigMapBase extends PigGenericMapBase
Modifier and Type | Class and Description |
---|---|
class |
PigMapBase.IllustratorContext |
errorInMap, keyType, mp, stores, tf
Constructor and Description |
---|
PigMapBase() |
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.mapreduce.Mapper.Context |
getIllustratorContext(org.apache.hadoop.conf.Configuration conf,
DataBag input,
List<Pair<PigNullableWritable,org.apache.hadoop.io.Writable>> output,
org.apache.hadoop.mapreduce.InputSplit split)
Get mapper's illustrator context
|
boolean |
inIllustrator(org.apache.hadoop.mapreduce.Mapper.Context context) |
cleanup, collect, getKeyType, map, runPipeline, setKeyType, setMapPlan, setup
public org.apache.hadoop.mapreduce.Mapper.Context getIllustratorContext(org.apache.hadoop.conf.Configuration conf, DataBag input, List<Pair<PigNullableWritable,org.apache.hadoop.io.Writable>> output, org.apache.hadoop.mapreduce.InputSplit split) throws IOException, InterruptedException
getIllustratorContext
in class PigGenericMapBase
conf
- Configurationinput
- Input bag to serve as data sourceoutput
- Map output buffersplit
- the splitIOException
InterruptedException
public boolean inIllustrator(org.apache.hadoop.mapreduce.Mapper.Context context)
inIllustrator
in class PigGenericMapBase
Copyright © 2007-2017 The Apache Software Foundation