org.apache.hadoop.hive.ql.plan
Class BaseWork

java.lang.Object
  extended by org.apache.hadoop.hive.ql.plan.AbstractOperatorDesc
      extended by org.apache.hadoop.hive.ql.plan.BaseWork
All Implemented Interfaces:
Serializable, Cloneable, OperatorDesc
Direct Known Subclasses:
MapWork, ReduceWork

public abstract class BaseWork
extends AbstractOperatorDesc

BaseWork. Base class for any "work" that's being done on the cluster. Items like stats gathering that are commonly used regarless of the type of work live here.

See Also:
Serialized Form

Constructor Summary
BaseWork()
           
 
Method Summary
 List<Operator<?>> getAllOperators()
           
protected abstract  List<Operator<?>> getAllRootOperators()
           
 boolean isGatheringStats()
           
 void setGatheringStats(boolean gatherStats)
           
 
Methods inherited from class org.apache.hadoop.hive.ql.plan.AbstractOperatorDesc
clone
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseWork

public BaseWork()
Method Detail

setGatheringStats

public void setGatheringStats(boolean gatherStats)

isGatheringStats

public boolean isGatheringStats()

getAllRootOperators

protected abstract List<Operator<?>> getAllRootOperators()

getAllOperators

public List<Operator<?>> getAllOperators()


Copyright © 2012 The Apache Software Foundation