org.apache.hadoop.hive.ql.optimizer.lineage
Class ExprProcCtx

java.lang.Object
  extended by org.apache.hadoop.hive.ql.optimizer.lineage.ExprProcCtx
All Implemented Interfaces:
NodeProcessorCtx

public class ExprProcCtx
extends Object
implements NodeProcessorCtx

The processor context for the lineage information. This contains the lineage context and the column info and operator information that is being used for the current expression.


Constructor Summary
ExprProcCtx(LineageCtx lctx, Operator<? extends OperatorDesc> inpOp)
          Constructor.
 
Method Summary
 Operator<? extends OperatorDesc> getInputOperator()
          Gets the input operator.
 LineageCtx getLineageCtx()
          Gets the lineage context.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExprProcCtx

public ExprProcCtx(LineageCtx lctx,
                   Operator<? extends OperatorDesc> inpOp)
Constructor.

Parameters:
lctx - The lineage context thatcontains the dependencies for the inputs.
inpOp - The input operator to the current operator.
Method Detail

getLineageCtx

public LineageCtx getLineageCtx()
Gets the lineage context.

Returns:
LineageCtx The lineage context.

getInputOperator

public Operator<? extends OperatorDesc> getInputOperator()
Gets the input operator.

Returns:
Operator The input operator - this is null in case the current operator is a leaf.


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