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

Method setPigStats

src/org/apache/pig/scripting/BoundScript.java:303–310  ·  view source on GitHub ↗
(PigStats stats)

Source from the content-addressed store, hash-verified

301 }
302
303 private void setPigStats(PigStats stats) {
304 ScriptEngine engine = scriptContext.getScriptEngine();
305 if (name != null) {
306 engine.setPigStats(name, stats);
307 } else {
308 engine.setPigStats(stats.getScriptId(), stats);
309 }
310 }
311
312 private void setPigStats(List<PigStats> lst) {
313 if (lst == null || lst.isEmpty()) return;

Callers 2

runSingleMethod · 0.95
runMethod · 0.95

Calls 5

setPigStatsMethod · 0.95
getScriptEngineMethod · 0.80
getScriptIdMethod · 0.45
isEmptyMethod · 0.45
toStringMethod · 0.45

Tested by

no test coverage detected