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

Method override

test/org/apache/pig/pigunit/PigTest.java:262–264  ·  view source on GitHub ↗

Replaces the query of an aliases by another query. For example: B = FILTER A BY count > 5; overridden with: <B, B = FILTER A BY name == 'Pig';> becomes B = FILTER A BY name == 'Pig'; @param alias The alias to override. @param query The new value of the alias.

(String alias, String query)

Source from the content-addressed store, hash-verified

260 * @param query The new value of the alias.
261 */
262 public void override(String alias, String query) {
263 aliasOverrides.put(alias, query);
264 }
265
266 public void unoverride(String alias) {
267 aliasOverrides.remove(alias);

Callers 7

mockAliasMethod · 0.95
testOverrideMethod · 0.45
testRemoveStoresMethod · 0.45
testRemoveDumpsMethod · 0.45
testReplaceLoadMethod · 0.45
testGetStoreAliasMethod · 0.45

Calls 1

putMethod · 0.45

Tested by

no test coverage detected