|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.pig.Main
@InterfaceAudience.LimitedPrivate(value="Oozie") @InterfaceStability.Stable public class Main
Main class for Pig engine.
Field Summary | |
---|---|
protected static String |
PROGRESS_NOTIFICATION_LISTENER_ARG_KEY
|
protected static String |
PROGRESS_NOTIFICATION_LISTENER_KEY
|
Constructor Summary | |
---|---|
Main()
|
Method Summary | |
---|---|
static boolean |
dryrun(String scriptFile,
PigContext pigContext)
|
static String |
getBuildTime()
Returns the built time of the Pig build being run. |
static String |
getMajorVersion()
Returns the major version of Pig being run. |
static String |
getMinorVersion()
Returns the major version of the Pig build being run. |
static String |
getPatchVersion()
Returns the patch version of the Pig build being run. |
static String |
getSvnRevision()
Returns the svn revision number of the Pig build being run. |
static String |
getVersionString()
Returns a version string formatted similarly to that of svn. |
static void |
main(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(Properties properties)
|
static void |
printProperties()
|
static void |
usage()
Print usage string. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final String PROGRESS_NOTIFICATION_LISTENER_KEY
protected static final String PROGRESS_NOTIFICATION_LISTENER_ARG_KEY
Constructor Detail |
---|
public Main()
Method Detail |
---|
public static void main(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.
IOException
protected static PigProgressNotificationListener makeListener(Properties properties)
public static boolean dryrun(String scriptFile, PigContext pigContext) throws org.antlr.runtime.RecognitionException, IOException
org.antlr.runtime.RecognitionException
IOException
public static String getMajorVersion()
public static String getMinorVersion()
public static String getPatchVersion()
public static String getSvnRevision()
public static String getBuildTime()
public static 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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |