public static class PigStats.JobGraph extends BaseOperatorPlan implements Iterable<JobStats>
OperatorPlan
whose members are JobStats
fromEdges, log, ops, softFromEdges, softToEdges, toEdges
Constructor and Description |
---|
PigStats.JobGraph() |
Modifier and Type | Method and Description |
---|---|
List<JobStats> |
getFailedJobs() |
List<JobStats> |
getJobList()
Returns a List representation of the Job graph.
|
List<JobStats> |
getSuccessfulJobs() |
boolean |
isConnected(Operator from,
Operator to)
Check if given two operators are directly connected.
|
Iterator<JobStats> |
iterator() |
String |
toString() |
add, connect, connect, createSoftLink, disconnect, explain, getOperators, getPredecessors, getSinks, getSoftLinkPredecessors, getSoftLinkSuccessors, getSources, getSuccessors, insertBetween, isEqual, isEqual, moveTree, pathExists, remove, removeAndReconnect, removeSoftLink, replace, size, trimBelow
public String toString()
toString
in class BaseOperatorPlan
public List<JobStats> getJobList()
public boolean isConnected(Operator from, Operator to)
BaseOperatorPlan
isConnected
in class BaseOperatorPlan
from
- Operator edge will come fromto
- Operator edge will go toCopyright © 2007-2012 The Apache Software Foundation