public class PigProcessor
extends org.apache.tez.runtime.api.AbstractLogicalIOProcessor
Modifier and Type | Field and Description |
---|---|
static String |
COMBINE_PLAN |
static String |
ESTIMATE_PARALLELISM |
static String |
ESTIMATED_NUM_PARALLELISM |
static String |
PLAN |
static String |
SAMPLE_VERTEX |
static Map<String,Object> |
sampleMap |
static String |
sampleVertex |
static String |
SORT_VERTEX |
Constructor and Description |
---|
PigProcessor(org.apache.tez.runtime.api.ProcessorContext context) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
handleEvents(List<org.apache.tez.runtime.api.Event> processorEvents) |
void |
initialize() |
void |
run(Map<String,org.apache.tez.runtime.api.LogicalInput> inputs,
Map<String,org.apache.tez.runtime.api.LogicalOutput> outputs) |
protected void |
runPipeline(PhysicalOperator leaf) |
public static final String PLAN
public static final String COMBINE_PLAN
public static final String ESTIMATE_PARALLELISM
public static final String ESTIMATED_NUM_PARALLELISM
public static final String SAMPLE_VERTEX
public static final String SORT_VERTEX
public static String sampleVertex
public PigProcessor(org.apache.tez.runtime.api.ProcessorContext context)
public void initialize() throws Exception
initialize
in interface org.apache.tez.runtime.api.ProcessorFrameworkInterface
initialize
in class org.apache.tez.runtime.api.AbstractLogicalIOProcessor
Exception
public void handleEvents(List<org.apache.tez.runtime.api.Event> processorEvents)
public void run(Map<String,org.apache.tez.runtime.api.LogicalInput> inputs, Map<String,org.apache.tez.runtime.api.LogicalOutput> outputs) throws Exception
Exception
protected void runPipeline(PhysicalOperator leaf) throws IOException, InterruptedException
IOException
InterruptedException
Copyright © 2007-2012 The Apache Software Foundation