org.apache.pig.pen
Class ExampleGenerator

java.lang.Object
  extended by org.apache.pig.pen.ExampleGenerator

public class ExampleGenerator
extends Object

This class is used to generate example tuples for the ILLUSTRATE purpose


Constructor Summary
ExampleGenerator(LogicalPlan plan, PigContext hadoopPigContext)
           
 
Method Summary
 Map<Operator,DataBag> getData()
           
 Map<Operator,DataBag> getData(Map<LOLoad,DataBag> newBaseData)
           
 Collection<IdentityHashSet<Tuple>> getEqClasses()
           
 Map<Operator,DataBag> getExamples()
           
 LineageTracer getLineage()
           
 Map<Operator,PhysicalOperator> getLogToPhyMap()
           
 Map<LogicalRelationalOperator,Collection<IdentityHashSet<Tuple>>> getLoToEqClassMap()
           
 void setMaxRecords(int max)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExampleGenerator

public ExampleGenerator(LogicalPlan plan,
                        PigContext hadoopPigContext)
Method Detail

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 © 2007-2012 The Apache Software Foundation