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

Method setPigStats

src/org/apache/pig/scripting/ScriptEngine.java:320–327  ·  view source on GitHub ↗
(String key, PigStats stats)

Source from the content-addressed store, hash-verified

318 }
319
320 void setPigStats(String key, PigStats stats) {
321 List<PigStats> lst = statsMap.get(key);
322 if (lst == null) {
323 lst = new ArrayList<PigStats>();
324 statsMap.put(key, lst);
325 }
326 lst.add(stats);
327 }
328
329 void setPigStats(String key, List<PigStats> stats) {
330 statsMap.put(key, stats);

Callers 1

setPigStatsMethod · 0.95

Calls 3

getMethod · 0.65
addMethod · 0.65
putMethod · 0.45

Tested by

no test coverage detected