MCPcopy Create free account
hub / github.com/apache/pig / iterator

Method iterator

src/org/apache/pig/tools/pigstats/PigStats.java:417–431  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

415 }
416
417 public Iterator<JobStats> iterator() {
418 return new Iterator<JobStats>() {
419 private Iterator<Operator> iter = getOperators();
420 @Override
421 public boolean hasNext() {
422 return iter.hasNext();
423 }
424 @Override
425 public JobStats next() {
426 return (JobStats)iter.next();
427 }
428 @Override
429 public void remove() {}
430 };
431 }
432
433 public boolean isConnected(Operator from, Operator to) {
434 List<Operator> succs = null;

Callers 12

testMapOnlyMethod · 0.95
testMapOnlyBinStorageMethod · 0.95
testMapReduceOnlyMethod · 0.95
testMapCombineReduceMethod · 0.95
getJobsMethod · 0.95
executeBatchMethod · 0.95
getJobListMethod · 0.95
getSuccessfulJobsMethod · 0.95
getFailedJobsMethod · 0.95
setJobParentsMethod · 0.95

Calls 1

getOperatorsMethod · 0.65

Tested by 6

testMapOnlyMethod · 0.76
testMapOnlyBinStorageMethod · 0.76
testMapReduceOnlyMethod · 0.76
testMapCombineReduceMethod · 0.76