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

java.lang.Object
  extended by org.apache.hadoop.hive.ql.plan.AbstractOperatorDesc
      extended by org.apache.hadoop.hive.ql.plan.UnionDesc
All Implemented Interfaces:
Serializable, Cloneable, OperatorDesc

public class UnionDesc
extends AbstractOperatorDesc

unionDesc is a empty class currently. However, union has more than one input (as compared with forward), and therefore, we need a separate class.

See Also:
Serialized Form

Constructor Summary
UnionDesc()
           
 
Method Summary
 int getNumInputs()
           
 boolean isAllInputsInSameReducer()
           
 void setAllInputsInSameReducer(boolean allInputsInSameReducer)
           
 void setNumInputs(int numInputs)
           
 
Methods inherited from class org.apache.hadoop.hive.ql.plan.AbstractOperatorDesc
clone, getOpTraits, getStatistics, setOpTraits, setStatistics, setVectorMode
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnionDesc

public UnionDesc()
Method Detail

getNumInputs

public int getNumInputs()
Returns:
the numInputs

setNumInputs

public void setNumInputs(int numInputs)
Parameters:
numInputs - the numInputs to set

isAllInputsInSameReducer

public boolean isAllInputsInSameReducer()

setAllInputsInSameReducer

public void setAllInputsInSameReducer(boolean allInputsInSameReducer)


Copyright © 2014 The Apache Software Foundation. All rights reserved.