org.apache.pig.pen
Class ExampleGenerator
java.lang.Object
org.apache.pig.pen.ExampleGenerator
public class ExampleGenerator
- extends Object
This class is used to generate example tuples for the ILLUSTRATE purpose
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExampleGenerator
public ExampleGenerator(LogicalPlan plan,
PigContext hadoopPigContext)
getLineage
public LineageTracer getLineage()
getLogToPhyMap
public Map<Operator,PhysicalOperator> getLogToPhyMap()
setMaxRecords
public void setMaxRecords(int max)
getExamples
public Map<Operator,DataBag> getExamples()
throws IOException,
InterruptedException
- Throws:
IOException
InterruptedException
getData
public Map<Operator,DataBag> getData()
throws IOException,
InterruptedException
- Throws:
IOException
InterruptedException
getData
public Map<Operator,DataBag> getData(Map<LOLoad,DataBag> newBaseData)
throws Exception
- Throws:
Exception
getEqClasses
public Collection<IdentityHashSet<Tuple>> getEqClasses()
getLoToEqClassMap
public Map<LogicalRelationalOperator,Collection<IdentityHashSet<Tuple>>> getLoToEqClassMap()
Copyright © 2012 The Apache Software Foundation