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

Method compileFromFile

src/org/apache/pig/scripting/js/JSPig.java:127–130  ·  view source on GitHub ↗

Define a Pig pipeline based on Pig Latin in a separate file. @param filename File to read Pig Latin from. This must be a purely Pig Latin file. It cannot contain host language constructs in it. @return Pig object representing this pipeline. @throws IOException if the Pig Latin does not compile or

(String filename)

Source from the content-addressed store, hash-verified

125 * cannot be found.
126 */
127 public static JSPig compileFromFile(String filename)
128 throws IOException {
129 return new JSPig(Pig.compileFromFile(filename));
130 }
131
132 /**
133 * Define a named Pig pipeline based on Pig Latin in a separate file.

Callers

nothing calls this directly

Calls 1

compileFromFileMethod · 0.95

Tested by

no test coverage detected