org.apache.pig.parser
Class DryRunGruntParser

java.lang.Object
  extended by PigScriptParser
      extended by org.apache.pig.parser.DryRunGruntParser

public class DryRunGruntParser
extends PigScriptParser


Constructor Summary
DryRunGruntParser(Reader stream, String source, PigContext context)
           
 
Method Summary
 String getResult()
           
 boolean parseStopOnError()
           
protected  void printAliases()
           
protected  void printHelp()
           
protected  void processCat(String path)
           
protected  void processCD(String path)
           
protected  void processCopy(String src, String dst)
           
protected  void processCopyFromLocal(String src, String dst)
           
protected  void processCopyToLocal(String src, String dst)
           
protected  void processDescribe(String alias)
           
protected  void processDump(String alias)
           
protected  void processExplain(String alias, String script, boolean isVerbose, String format, String target, List<String> params, List<String> files)
           
protected  void processFsCommand(String[] cmdTokens)
           
protected  void processIllustrate(String alias, String script, String target, List<String> params, List<String> files)
           
protected  void processKill(String jobid)
           
protected  void processLS(String path)
           
protected  void processMkdir(String dir)
           
protected  void processMove(String src, String dst)
           
protected  void processPig(String cmd)
           
protected  void processPWD()
           
protected  void processRegister(String jar)
           
protected  void processRegister(String path, String scriptingEngine, String namespace)
           
protected  void processRemove(String path, String opt)
           
protected  void processScript(String script, boolean batch, List<String> params, List<String> files)
           
protected  void processSet(String key, String value)
           
protected  void processShCommand(String[] cmdTokens)
           
 void prompt()
           
protected  void quit()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DryRunGruntParser

public DryRunGruntParser(Reader stream,
                         String source,
                         PigContext context)
Method Detail

getResult

public String getResult()

parseStopOnError

public boolean parseStopOnError()
                         throws IOException
Throws:
IOException

prompt

public void prompt()

quit

protected void quit()

printAliases

protected void printAliases()
                     throws IOException
Throws:
IOException

processFsCommand

protected void processFsCommand(String[] cmdTokens)
                         throws IOException
Throws:
IOException

processShCommand

protected void processShCommand(String[] cmdTokens)
                         throws IOException
Throws:
IOException

processDescribe

protected void processDescribe(String alias)
                        throws IOException
Throws:
IOException

processExplain

protected void processExplain(String alias,
                              String script,
                              boolean isVerbose,
                              String format,
                              String target,
                              List<String> params,
                              List<String> files)
                       throws IOException,
                              ParseException
Throws:
IOException
ParseException

processRegister

protected void processRegister(String jar)
                        throws IOException
Throws:
IOException

processRegister

protected void processRegister(String path,
                               String scriptingEngine,
                               String namespace)
                        throws IOException,
                               ParseException
Throws:
IOException
ParseException

processSet

protected void processSet(String key,
                          String value)
                   throws IOException,
                          ParseException
Throws:
IOException
ParseException

processCat

protected void processCat(String path)
                   throws IOException
Throws:
IOException

processCD

protected void processCD(String path)
                  throws IOException
Throws:
IOException

processDump

protected void processDump(String alias)
                    throws IOException
Throws:
IOException

processKill

protected void processKill(String jobid)
                    throws IOException
Throws:
IOException

processLS

protected void processLS(String path)
                  throws IOException
Throws:
IOException

processPWD

protected void processPWD()
                   throws IOException
Throws:
IOException

printHelp

protected void printHelp()

processMove

protected void processMove(String src,
                           String dst)
                    throws IOException
Throws:
IOException

processCopy

protected void processCopy(String src,
                           String dst)
                    throws IOException
Throws:
IOException

processCopyToLocal

protected void processCopyToLocal(String src,
                                  String dst)
                           throws IOException
Throws:
IOException

processCopyFromLocal

protected void processCopyFromLocal(String src,
                                    String dst)
                             throws IOException
Throws:
IOException

processMkdir

protected void processMkdir(String dir)
                     throws IOException
Throws:
IOException

processPig

protected void processPig(String cmd)
                   throws IOException
Throws:
IOException

processRemove

protected void processRemove(String path,
                             String opt)
                      throws IOException
Throws:
IOException

processIllustrate

protected void processIllustrate(String alias,
                                 String script,
                                 String target,
                                 List<String> params,
                                 List<String> files)
                          throws IOException,
                                 ParseException
Throws:
IOException
ParseException

processScript

protected void processScript(String script,
                             boolean batch,
                             List<String> params,
                             List<String> files)
                      throws IOException,
                             ParseException
Throws:
IOException
ParseException


Copyright © 2012 The Apache Software Foundation