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

Method main

src/org/apache/pig/Main.java:174–176  ·  view source on GitHub ↗

The Main-Class for the Pig Jar that will provide a shell and setup a classpath appropriate for executing Jar files. Warning, this method calls System.exit(). @param args -jar can be used to add additional jar files (colon separated). - will start a shell. -e will execute the

(String args[])

Source from the content-addressed store, hash-verified

172 * @throws IOException
173 */
174 public static void main(String args[]) {
175 System.exit(run(args, null));
176 }
177
178 static int run(String args[], PigProgressNotificationListener listener) {
179 DateTime startTime = new DateTime();

Callers

nothing calls this directly

Calls 1

runMethod · 0.95

Tested by

no test coverage detected