@InterfaceAudience.LimitedPrivate(value="Oozie") @InterfaceStability.Stable public class Main extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
PROGRESS_NOTIFICATION_LISTENER_ARG_KEY |
protected static java.lang.String |
PROGRESS_NOTIFICATION_LISTENER_KEY |
Constructor and Description |
---|
Main() |
Modifier and Type | Method and Description |
---|---|
static boolean |
dryrun(java.lang.String scriptFile,
PigContext pigContext) |
static java.lang.String |
getBuildTime()
Returns the built time of the Pig build being run.
|
static java.lang.String |
getMajorVersion()
Returns the major version of Pig being run.
|
static java.lang.String |
getMinorVersion()
Returns the major version of the Pig build being run.
|
static java.lang.String |
getPatchVersion()
Returns the patch version of the Pig build being run.
|
static java.lang.String |
getSvnRevision()
Returns the svn revision number of the Pig build being run.
|
static java.lang.String |
getVersionString()
Returns a version string formatted similarly to that of svn.
|
static void |
main(java.lang.String[] args)
The Main-Class for the Pig Jar that will provide a shell and setup a classpath appropriate
for executing Jar files.
|
protected static PigProgressNotificationListener |
makeListener(java.util.Properties properties) |
static void |
printProperties() |
static void |
usage()
Print usage string.
|
protected static final java.lang.String PROGRESS_NOTIFICATION_LISTENER_KEY
protected static final java.lang.String PROGRESS_NOTIFICATION_LISTENER_ARG_KEY
public static void main(java.lang.String[] args)
args
- -jar can be used to add additional jar files (colon separated). - will start a
shell. -e will execute the rest of the command line as if it was input to the
shell.java.io.IOException
protected static PigProgressNotificationListener makeListener(java.util.Properties properties)
public static boolean dryrun(java.lang.String scriptFile, PigContext pigContext) throws org.antlr.runtime.RecognitionException, java.io.IOException
org.antlr.runtime.RecognitionException
java.io.IOException
public static java.lang.String getMajorVersion()
public static java.lang.String getMinorVersion()
public static java.lang.String getPatchVersion()
public static java.lang.String getSvnRevision()
public static java.lang.String getBuildTime()
public static java.lang.String getVersionString()
Apache Pig version 0.11.0-SNAPSHOT (r1202387) compiled Nov 15 2011, 15:22:09
public static void usage()
public static void printProperties()
Copyright © 2007-2012 The Apache Software Foundation