public class DryRunGruntParser
extends org.apache.pig.tools.pigscript.parser.PigScriptParser
jj_nt, mConsoleReader, mInteractive, token, token_source
ALIASES, AS, BAG_CONSTANT, BRIEF, CAT, CD, CLEAR, COPY, COPYFROMLOCAL, COPYTOLOCAL, DEFAULT, DESCRIBE, DESCRIBE_SHORT, DIGIT, DOT, DUMP, DUMP_SHORT, EOF, EOL, EXEC, EXPLAIN, EXPLAIN_SHORT, FLOAT, FS, FSSPECIALCHAR, GENERATE, HELP, HISTORY, IDENTIFIER, ILLUSTRATE, ILLUSTRATE_SHORT, IN_BLOCK, IN_COMMAND, IN_DOUBLE_QUOTED_STRING, IN_STRING, INTEGER, KILL, LETTER, LS, MKDIR, MOVE, MULTI_LINE_COMMENT, N, NUMBER, OUT, PARAM, PARAM_FILE, PATH, PIG, PIG_END, PIG_START, PREVREL, PWD, QUIT, QUIT_SHORT, QUOTE, QUOTEDSTRING, REGISTER, REMOVE, REMOVEFORCE, RUN, SCHEMA_DEFINITION, SCRIPT, SCRIPT_DONE, SEMICOLON, SET, SH, SINGLE_LINE_COMMENT, SPECIALCHAR, SQL, SQL_END, SQL_START, tokenImage, USING, XML
Constructor and Description |
---|
DryRunGruntParser(java.io.Reader stream,
java.lang.String source,
PigContext context) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getResult() |
boolean |
parseStopOnError() |
protected void |
printAliases() |
protected void |
printClear() |
protected void |
printHelp() |
protected void |
processCat(java.lang.String path) |
protected void |
processCD(java.lang.String path) |
protected void |
processCopy(java.lang.String src,
java.lang.String dst) |
protected void |
processCopyFromLocal(java.lang.String src,
java.lang.String dst) |
protected void |
processCopyToLocal(java.lang.String src,
java.lang.String dst) |
protected void |
processDescribe(java.lang.String alias) |
protected void |
processDump(java.lang.String alias) |
protected void |
processExplain(java.lang.String alias,
java.lang.String script,
boolean isVerbose,
java.lang.String format,
java.lang.String target,
java.util.List<java.lang.String> params,
java.util.List<java.lang.String> files) |
protected void |
processFsCommand(java.lang.String[] cmdTokens) |
protected void |
processHistory(boolean withNumbers) |
protected void |
processIllustrate(java.lang.String alias,
java.lang.String script,
java.lang.String target,
java.util.List<java.lang.String> params,
java.util.List<java.lang.String> files) |
protected void |
processKill(java.lang.String jobid) |
protected void |
processLS(java.lang.String path) |
protected void |
processMkdir(java.lang.String dir) |
protected void |
processMove(java.lang.String src,
java.lang.String dst) |
protected void |
processPig(java.lang.String cmd) |
protected void |
processPWD() |
protected void |
processRegister(java.lang.String jar) |
protected void |
processRegister(java.lang.String path,
java.lang.String scriptingEngine,
java.lang.String namespace) |
protected void |
processRemove(java.lang.String path,
java.lang.String opt) |
protected void |
processScript(java.lang.String script,
boolean batch,
java.util.List<java.lang.String> params,
java.util.List<java.lang.String> files) |
protected void |
processSet() |
protected void |
processSet(java.lang.String key,
java.lang.String value) |
protected void |
processShCommand(java.lang.String[] cmdTokens) |
protected void |
processSQLCommand(java.lang.String cmd) |
void |
prompt() |
protected void |
quit() |
Clear, disable_tracing, enable_tracing, Explain, generateParseException, GetKey, getLineNumber, getNextToken, GetPath, GetReserved, getToken, GetValue, History, Illustrate, parse, ReInit, ReInit, ReInit, ReInit, Script, setConsoleReader, setInteractive
public DryRunGruntParser(java.io.Reader stream, java.lang.String source, PigContext context)
public java.lang.String getResult()
public boolean parseStopOnError() throws java.io.IOException
java.io.IOException
public void prompt()
prompt
in class org.apache.pig.tools.pigscript.parser.PigScriptParser
protected void quit()
quit
in class org.apache.pig.tools.pigscript.parser.PigScriptParser
protected void printAliases() throws java.io.IOException
printAliases
in class org.apache.pig.tools.pigscript.parser.PigScriptParser
java.io.IOException
protected void processFsCommand(java.lang.String[] cmdTokens) throws java.io.IOException
processFsCommand
in class org.apache.pig.tools.pigscript.parser.PigScriptParser
java.io.IOException
protected void processShCommand(java.lang.String[] cmdTokens) throws java.io.IOException
processShCommand
in class org.apache.pig.tools.pigscript.parser.PigScriptParser
java.io.IOException
protected void processSQLCommand(java.lang.String cmd) throws java.io.IOException
processSQLCommand
in class org.apache.pig.tools.pigscript.parser.PigScriptParser
java.io.IOException
protected void processDescribe(java.lang.String alias) throws java.io.IOException
processDescribe
in class org.apache.pig.tools.pigscript.parser.PigScriptParser
java.io.IOException
protected void processExplain(java.lang.String alias, java.lang.String script, boolean isVerbose, java.lang.String format, java.lang.String target, java.util.List<java.lang.String> params, java.util.List<java.lang.String> files) throws java.io.IOException, org.apache.pig.tools.pigscript.parser.ParseException
processExplain
in class org.apache.pig.tools.pigscript.parser.PigScriptParser
java.io.IOException
org.apache.pig.tools.pigscript.parser.ParseException
protected void processRegister(java.lang.String jar) throws java.io.IOException
processRegister
in class org.apache.pig.tools.pigscript.parser.PigScriptParser
java.io.IOException
protected void processRegister(java.lang.String path, java.lang.String scriptingEngine, java.lang.String namespace) throws java.io.IOException, org.apache.pig.tools.pigscript.parser.ParseException
processRegister
in class org.apache.pig.tools.pigscript.parser.PigScriptParser
java.io.IOException
org.apache.pig.tools.pigscript.parser.ParseException
protected void processSet(java.lang.String key, java.lang.String value) throws java.io.IOException, org.apache.pig.tools.pigscript.parser.ParseException
processSet
in class org.apache.pig.tools.pigscript.parser.PigScriptParser
java.io.IOException
org.apache.pig.tools.pigscript.parser.ParseException
protected void processSet() throws java.io.IOException
processSet
in class org.apache.pig.tools.pigscript.parser.PigScriptParser
java.io.IOException
protected void processCat(java.lang.String path) throws java.io.IOException
processCat
in class org.apache.pig.tools.pigscript.parser.PigScriptParser
java.io.IOException
protected void processCD(java.lang.String path) throws java.io.IOException
processCD
in class org.apache.pig.tools.pigscript.parser.PigScriptParser
java.io.IOException
protected void processDump(java.lang.String alias) throws java.io.IOException
processDump
in class org.apache.pig.tools.pigscript.parser.PigScriptParser
java.io.IOException
protected void processKill(java.lang.String jobid) throws java.io.IOException
processKill
in class org.apache.pig.tools.pigscript.parser.PigScriptParser
java.io.IOException
protected void processLS(java.lang.String path) throws java.io.IOException
processLS
in class org.apache.pig.tools.pigscript.parser.PigScriptParser
java.io.IOException
protected void processPWD() throws java.io.IOException
processPWD
in class org.apache.pig.tools.pigscript.parser.PigScriptParser
java.io.IOException
protected void printHelp()
printHelp
in class org.apache.pig.tools.pigscript.parser.PigScriptParser
protected void processHistory(boolean withNumbers)
processHistory
in class org.apache.pig.tools.pigscript.parser.PigScriptParser
protected void processMove(java.lang.String src, java.lang.String dst) throws java.io.IOException
processMove
in class org.apache.pig.tools.pigscript.parser.PigScriptParser
java.io.IOException
protected void processCopy(java.lang.String src, java.lang.String dst) throws java.io.IOException
processCopy
in class org.apache.pig.tools.pigscript.parser.PigScriptParser
java.io.IOException
protected void processCopyToLocal(java.lang.String src, java.lang.String dst) throws java.io.IOException
processCopyToLocal
in class org.apache.pig.tools.pigscript.parser.PigScriptParser
java.io.IOException
protected void processCopyFromLocal(java.lang.String src, java.lang.String dst) throws java.io.IOException
processCopyFromLocal
in class org.apache.pig.tools.pigscript.parser.PigScriptParser
java.io.IOException
protected void processMkdir(java.lang.String dir) throws java.io.IOException
processMkdir
in class org.apache.pig.tools.pigscript.parser.PigScriptParser
java.io.IOException
protected void processPig(java.lang.String cmd) throws java.io.IOException
processPig
in class org.apache.pig.tools.pigscript.parser.PigScriptParser
java.io.IOException
protected void processRemove(java.lang.String path, java.lang.String opt) throws java.io.IOException
processRemove
in class org.apache.pig.tools.pigscript.parser.PigScriptParser
java.io.IOException
protected void processIllustrate(java.lang.String alias, java.lang.String script, java.lang.String target, java.util.List<java.lang.String> params, java.util.List<java.lang.String> files) throws java.io.IOException, org.apache.pig.tools.pigscript.parser.ParseException
processIllustrate
in class org.apache.pig.tools.pigscript.parser.PigScriptParser
java.io.IOException
org.apache.pig.tools.pigscript.parser.ParseException
protected void processScript(java.lang.String script, boolean batch, java.util.List<java.lang.String> params, java.util.List<java.lang.String> files) throws java.io.IOException, org.apache.pig.tools.pigscript.parser.ParseException
processScript
in class org.apache.pig.tools.pigscript.parser.PigScriptParser
java.io.IOException
org.apache.pig.tools.pigscript.parser.ParseException
protected void printClear()
printClear
in class org.apache.pig.tools.pigscript.parser.PigScriptParser
Copyright © 2007-2012 The Apache Software Foundation