org.apache.pig.tools.pigstats
Class PigStats.JobGraph

java.lang.Object
  extended by org.apache.pig.newplan.BaseOperatorPlan
      extended by org.apache.pig.tools.pigstats.PigStats.JobGraph
All Implemented Interfaces:
Iterable<JobStats>, OperatorPlan
Enclosing class:
PigStats

public static class PigStats.JobGraph
extends BaseOperatorPlan
implements Iterable<JobStats>

JobGraph is an OperatorPlan whose members are JobStats


Field Summary
 
Fields inherited from class org.apache.pig.newplan.BaseOperatorPlan
fromEdges, log, ops, softFromEdges, softToEdges, toEdges
 
Constructor Summary
PigStats.JobGraph()
           
 
Method Summary
 boolean isConnected(Operator from, Operator to)
          Check if given two operators are directly connected.
 Iterator<JobStats> iterator()
           
 String toString()
           
 
Methods inherited from class org.apache.pig.newplan.BaseOperatorPlan
add, connect, connect, createSoftLink, disconnect, explain, getOperators, getPredecessors, getSinks, getSoftLinkPredecessors, getSoftLinkSuccessors, getSources, getSuccessors, insertBetween, isEqual, isEqual, pathExists, remove, removeAndReconnect, removeSoftLink, replace, size
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PigStats.JobGraph

public PigStats.JobGraph()
Method Detail

toString

public String toString()
Overrides:
toString in class BaseOperatorPlan

iterator

public Iterator<JobStats> iterator()
Specified by:
iterator in interface Iterable<JobStats>

isConnected

public boolean isConnected(Operator from,
                           Operator to)
Description copied from class: BaseOperatorPlan
Check if given two operators are directly connected.

Overrides:
isConnected in class BaseOperatorPlan
Parameters:
from - Operator edge will come from
to - Operator edge will go to


Copyright © 2007-2012 The Apache Software Foundation