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

Method reset

src/org/apache/pig/impl/plan/NodeIdGenerator.java:85–88  ·  view source on GitHub ↗

Reset the given scope IDs to 0 for the current Thread. @param scope

(final String scope)

Source from the content-addressed store, hash-verified

83 * @param scope
84 */
85 @VisibleForTesting
86 public static void reset(final String scope) {
87 theGenerator.scopeToIdMap.get().remove(scope);
88 }
89
90 /**
91 * Reset all scope IDs to 0 for the current Thread.

Callers 12

resetScopeMethod · 0.95
setUpMethod · 0.95
resetScopeMethod · 0.95
testBytesPerReducerMethod · 0.95
testAutoParallelismMethod · 0.95
testJoinWithUnionMethod · 0.95
testCrossMethod · 0.95

Calls 2

removeMethod · 0.65
getMethod · 0.65

Tested by 12

resetScopeMethod · 0.76
setUpMethod · 0.76
resetScopeMethod · 0.76
testBytesPerReducerMethod · 0.76
testAutoParallelismMethod · 0.76
testJoinWithUnionMethod · 0.76
testCrossMethod · 0.76