org.apache.hadoop.hive.ql.optimizer.lineage
Class ExprProcFactory
java.lang.Object
org.apache.hadoop.hive.ql.optimizer.lineage.ExprProcFactory
public class ExprProcFactory
- extends Object
Expression processor factory for lineage. Each processor is responsible to
create the leaf level column info objects that the expression depends upon
and also generates a string representation of the expression.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExprProcFactory
public ExprProcFactory()
getDefaultExprProcessor
public static NodeProcessor getDefaultExprProcessor()
getGenericFuncProcessor
public static NodeProcessor getGenericFuncProcessor()
getFieldProcessor
public static NodeProcessor getFieldProcessor()
getColumnProcessor
public static NodeProcessor getColumnProcessor()
getExprDependency
public static LineageInfo.Dependency getExprDependency(LineageCtx lctx,
Operator<? extends OperatorDesc> inpOp,
ExprNodeDesc expr)
throws SemanticException
- Gets the expression dependencies for the expression.
- Parameters:
lctx
- The lineage context containing the input operators dependencies.inpOp
- The input operator to the current operator.expr
- The expression that is being processed.
- Throws:
SemanticException
Copyright © 2012 The Apache Software Foundation