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 Serializable> inpOp)
          Constructor.
 
Method Summary
 Operator<? extends Serializable> getInputOperator()
          Gets the input operator.
 LineageCtx getLineageCtx()
          Gets the lineage context.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExprProcCtx

public ExprProcCtx(LineageCtx lctx,
                   Operator<? extends Serializable> 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 Serializable> getInputOperator()
Gets the input operator.

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


Copyright © 2011 The Apache Software Foundation