public static class PigStats.JobGraph extends BaseOperatorPlan implements java.lang.Iterable<JobStats>
OperatorPlan
whose members are JobStats
fromEdges, log, ops, softFromEdges, softToEdges, toEdges
Constructor and Description |
---|
JobGraph() |
Modifier and Type | Method and Description |
---|---|
java.util.List<JobStats> |
getFailedJobs() |
java.util.List<JobStats> |
getJobList()
Returns a List representation of the Job graph.
|
java.util.List<JobStats> |
getSuccessfulJobs() |
boolean |
isConnected(Operator from,
Operator to)
Check if given two operators are directly connected.
|
java.util.Iterator<JobStats> |
iterator() |
java.lang.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 java.lang.String toString()
toString
in class BaseOperatorPlan
public java.util.List<JobStats> getJobList()
public java.util.Iterator<JobStats> iterator()
iterator
in interface java.lang.Iterable<JobStats>
public boolean isConnected(Operator from, Operator to)
BaseOperatorPlan
isConnected
in class BaseOperatorPlan
from
- Operator edge will come fromto
- Operator edge will go topublic java.util.List<JobStats> getSuccessfulJobs()
public java.util.List<JobStats> getFailedJobs()
Copyright © 2007-2017 The Apache Software Foundation