org.apache.hadoop.hive.ql.exec
Class ExplainTask

java.lang.Object
  extended by org.apache.hadoop.hive.ql.exec.Task<explainWork>
      extended by org.apache.hadoop.hive.ql.exec.ExplainTask
All Implemented Interfaces:
Serializable

public class ExplainTask
extends Task<explainWork>
implements Serializable

ExplainTask implementation

See Also:
Serialized Form

Nested Class Summary
static class ExplainTask.MethodComparator
           
 
Field Summary
 
Fields inherited from class org.apache.hadoop.hive.ql.exec.Task
childTasks, conf, console, db, id, LOG, parentTasks, work
 
Constructor Summary
ExplainTask()
           
 
Method Summary
 int execute()
           
 void outputAST(String treeString, PrintStream out, int indent)
           
 void outputDependencies(PrintStream out, List<Task<? extends Serializable>> rootTasks, int indent)
           
 void outputStagePlans(PrintStream out, List<Task<? extends Serializable>> rootTasks, int indent)
           
 
Methods inherited from class org.apache.hadoop.hive.ql.exec.Task
addDependentTask, done, fetch, getChildTasks, getId, getParentTasks, getWork, hasReduce, initialize, isMapRedTask, isRunnable, removeDependentTask, setChildTasks, setDone, setId, setParentTasks, setWork
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExplainTask

public ExplainTask()
Method Detail

execute

public int execute()
Specified by:
execute in class Task<explainWork>

outputAST

public void outputAST(String treeString,
                      PrintStream out,
                      int indent)

outputDependencies

public void outputDependencies(PrintStream out,
                               List<Task<? extends Serializable>> rootTasks,
                               int indent)
                        throws Exception
Throws:
Exception

outputStagePlans

public void outputStagePlans(PrintStream out,
                             List<Task<? extends Serializable>> rootTasks,
                             int indent)
                      throws Exception
Throws:
Exception


Copyright © 2009 The Apache Software Foundation