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.
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 © 2014 The Apache Software Foundation. All rights reserved.