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)
| 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. |
nothing calls this directly
no test coverage detected