org.apache.hadoop.hive.ql.optimizer
Class GenMRProcContext.GenMapRedCtx

java.lang.Object
  extended by org.apache.hadoop.hive.ql.optimizer.GenMRProcContext.GenMapRedCtx
Enclosing class:
GenMRProcContext

public static class GenMRProcContext.GenMapRedCtx
extends Object

GenMapRedCtx is used to keep track of the current state.


Constructor Summary
GenMRProcContext.GenMapRedCtx()
           
GenMRProcContext.GenMapRedCtx(Task<? extends Serializable> currTask, Operator<? extends OperatorDesc> currTopOp, String currAliasId)
           
 
Method Summary
 String getCurrAliasId()
           
 Task<? extends Serializable> getCurrTask()
           
 Operator<? extends OperatorDesc> getCurrTopOp()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenMRProcContext.GenMapRedCtx

public GenMRProcContext.GenMapRedCtx()

GenMRProcContext.GenMapRedCtx

public GenMRProcContext.GenMapRedCtx(Task<? extends Serializable> currTask,
                                     Operator<? extends OperatorDesc> currTopOp,
                                     String currAliasId)
Parameters:
currTask - the current task
currTopOp - the current top operator being traversed
currAliasId - the current alias for the to operator
Method Detail

getCurrTask

public Task<? extends Serializable> getCurrTask()
Returns:
current task

getCurrTopOp

public Operator<? extends OperatorDesc> getCurrTopOp()
Returns:
current top operator

getCurrAliasId

public String getCurrAliasId()
Returns:
current alias


Copyright © 2013 The Apache Software Foundation