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

Method getInputStats

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

Source from the content-addressed store, hash-verified

330 }
331
332 public List<InputStats> getInputStats() {
333 List<InputStats> inputs = new ArrayList<InputStats>();
334 Iterator<JobStats> iter = jobPlan.iterator();
335 while (iter.hasNext()) {
336 for (InputStats is : iter.next().getInputs()) {
337 inputs.add(is);
338 }
339 }
340 return Collections.unmodifiableList(inputs);
341 }
342
343 public void setErrorMessage(String errorMessage) {
344 this.errorMessage = errorMessage;

Callers 11

simpleMultiQueryTest3Method · 0.95
testLongCounterNameMethod · 0.95
testEmptyFileCounterMethod · 0.95
testInputCountersMethod · 0.95
testRun1Method · 0.95
getDisplayStringMethod · 0.45
getDisplayStringMethod · 0.45

Calls 5

iteratorMethod · 0.65
addMethod · 0.65
hasNextMethod · 0.45
getInputsMethod · 0.45
nextMethod · 0.45

Tested by 9

simpleMultiQueryTest3Method · 0.76
testLongCounterNameMethod · 0.76
testEmptyFileCounterMethod · 0.76
testInputCountersMethod · 0.76
testRun1Method · 0.76