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

Method set

src/org/apache/pig/scripting/ScriptPigContext.java:38–42  ·  view source on GitHub ↗
(PigContext pigContext,
            ScriptEngine engine)

Source from the content-addressed store, hash-verified

36 private ScriptEngine engine;
37
38 public static ScriptPigContext set(PigContext pigContext,
39 ScriptEngine engine) {
40 tss.set(new ScriptPigContext(pigContext, engine));
41 return tss.get();
42 }
43
44 public static ScriptPigContext get() {
45 return tss.get();

Callers 1

runMethod · 0.95

Calls 2

setMethod · 0.65
getMethod · 0.65

Tested by

no test coverage detected