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

Method getAlias

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

Gets an iterator on the content of one alias of the script. For now use a giant String in order to display all the differences in one time. It might not work with giant expected output. @throws ParseException If the Pig script could not be parsed. @throws IOException If the Pig script could not

(String alias)

Source from the content-addressed store, hash-verified

218 * @throws IOException If the Pig script could not be executed correctly.
219 */
220 public Iterator<Tuple> getAlias(String alias) throws IOException, ParseException {
221 registerScript();
222 return getPigServer().openIterator(alias);
223 }
224
225 /**
226 * Gets an iterator on the content of one alias of a cached script. The script itself

Callers

nothing calls this directly

Calls 5

registerScriptMethod · 0.95
getPigServerMethod · 0.95
getAliasFromCacheMethod · 0.95
openIteratorMethod · 0.80
getMethod · 0.65

Tested by

no test coverage detected