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

Method getOutputStats

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

Source from the content-addressed store, hash-verified

301 }
302
303 public List<OutputStats> getOutputStats() {
304 List<OutputStats> outputs = new ArrayList<OutputStats>();
305 Iterator<JobStats> iter = jobPlan.iterator();
306 while (iter.hasNext()) {
307 for (OutputStats os : iter.next().getOutputs()) {
308 outputs.add(os);
309 }
310 }
311 return Collections.unmodifiableList(outputs);
312 }
313
314 public OutputStats result(String alias) {
315 if (aliasOuputMap == null) {

Callers 15

streamNegativeTestMethod · 0.95
returnCodeTestMethod · 0.95
returnCodeTest2Method · 0.95
testEmptyFileCounter2Method · 0.95
testRun1Method · 0.95
storeMethod · 0.95
getOutputLocationsMethod · 0.95

Calls 5

getOutputsMethod · 0.80
iteratorMethod · 0.65
addMethod · 0.65
hasNextMethod · 0.45
nextMethod · 0.45

Tested by 12

streamNegativeTestMethod · 0.76
returnCodeTestMethod · 0.76
returnCodeTest2Method · 0.76
testEmptyFileCounter2Method · 0.76
testRun1Method · 0.76
testOutputStatsMethod · 0.36
runParallelTest2Method · 0.36