org.apache.pig.newplan.logical.relational
Class LogicalPlanData

java.lang.Object
  extended by org.apache.pig.newplan.logical.relational.LogicalPlanData

public class LogicalPlanData
extends Object

This class provides information regarding the LogicalPlan. Make sure to avoid exposing LogicalPlan itself. Only data regarding the logical plan could be exposed but none of Pig internals (plans, operators etc) should be.


Constructor Summary
LogicalPlanData(LogicalPlan lp)
           
 
Method Summary
 List<String> getLoadFuncs()
           
 List<String> getSinks()
           
 List<String> getSources()
           
 List<String> getStoreFuncs()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogicalPlanData

public LogicalPlanData(LogicalPlan lp)
Method Detail

getSources

public List<String> getSources()
Returns:
This method return the list of source paths defined in the script/query.

getSinks

public List<String> getSinks()
Returns:
This method returns the list of store paths in the script/query.

getLoadFuncs

public List<String> getLoadFuncs()
Returns:
This method returns the list of LoadFunc(s) used.

getStoreFuncs

public List<String> getStoreFuncs()
Returns:
This method returns the list of StoreFunc(s) used.


Copyright © 2007-2012 The Apache Software Foundation