org.apache.hadoop.hive.ql.exec
Class MuxOperator.Handler

java.lang.Object
  extended by org.apache.hadoop.hive.ql.exec.MuxOperator.Handler
Enclosing class:
MuxOperator

protected static class MuxOperator.Handler
extends Object

Handler is used to construct the key-value structure. This structure is needed by child JoinOperators and GroupByOperators of a MuxOperator to function correctly.


Constructor Summary
MuxOperator.Handler(ObjectInspector inputObjInspector, List<ExprNodeDesc> keyCols, List<ExprNodeDesc> valueCols, List<String> outputKeyColumnNames, List<String> outputValueColumnNames, Integer tag)
           
 
Method Summary
 ObjectInspector getOutputObjInspector()
           
 int getTag()
           
 Object process(Object row)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MuxOperator.Handler

public MuxOperator.Handler(ObjectInspector inputObjInspector,
                           List<ExprNodeDesc> keyCols,
                           List<ExprNodeDesc> valueCols,
                           List<String> outputKeyColumnNames,
                           List<String> outputValueColumnNames,
                           Integer tag)
                    throws HiveException
Throws:
HiveException
Method Detail

getOutputObjInspector

public ObjectInspector getOutputObjInspector()

getTag

public int getTag()

process

public Object process(Object row)
               throws HiveException
Throws:
HiveException


Copyright © 2012 The Apache Software Foundation