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

Method compileFromFile

src/org/apache/pig/scripting/Pig.java:196–199  ·  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

194 * cannot be found.
195 */
196 public static Pig compileFromFile(String filename)
197 throws IOException {
198 return compileFromFile(null, filename);
199 }
200
201 /**
202 * Define a named Pig pipeline based on Pig Latin in a separate file.

Callers 1

compileFromFileMethod · 0.95

Calls 2

compileMethod · 0.95
getScriptFromFileMethod · 0.95

Tested by

no test coverage detected