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

Method getAliasFromCache

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

Gets an iterator on the content of one alias of a cached script. The script itself must be already be registered with registerScript().

(String alias)

Source from the content-addressed store, hash-verified

227 * must be already be registered with registerScript().
228 */
229 private Iterator<Tuple> getAliasFromCache(String alias) throws IOException, ParseException {
230 return getPigServer().openIterator(alias);
231 }
232
233 /**
234 * Gets an iterator on the content of the latest STORE alias of the script.

Callers 2

getAliasMethod · 0.95
getActualResultsMethod · 0.95

Calls 2

getPigServerMethod · 0.95
openIteratorMethod · 0.80

Tested by

no test coverage detected