public static class HiveParserTypeCheckProcFactory.DefaultExprProcessor extends Object implements org.apache.hadoop.hive.ql.lib.NodeProcessor
Constructor and Description |
---|
DefaultExprProcessor() |
Modifier and Type | Method and Description |
---|---|
static org.apache.hadoop.hive.ql.plan.ExprNodeDesc |
getFuncExprNodeDescWithUdfData(String udfName,
org.apache.hadoop.hive.serde2.typeinfo.TypeInfo typeInfo,
org.apache.hadoop.hive.ql.plan.ExprNodeDesc... children)
This function create an ExprNodeDesc for a UDF function given the children (arguments).
|
static String |
getFunctionText(HiveParserASTNode expr,
boolean isFunction) |
protected List<String> |
getReferenceableColumnAliases(HiveParserTypeCheckCtx ctx) |
protected org.apache.hadoop.hive.ql.plan.ExprNodeDesc |
getXpathOrFuncExprNodeDesc(HiveParserASTNode expr,
boolean isFunction,
ArrayList<org.apache.hadoop.hive.ql.plan.ExprNodeDesc> children,
HiveParserTypeCheckCtx ctx) |
protected static boolean |
isRedundantConversionFunction(HiveParserASTNode expr,
boolean isFunction,
ArrayList<org.apache.hadoop.hive.ql.plan.ExprNodeDesc> children) |
Object |
process(org.apache.hadoop.hive.ql.lib.Node nd,
Stack<org.apache.hadoop.hive.ql.lib.Node> stack,
org.apache.hadoop.hive.ql.lib.NodeProcessorCtx procCtx,
Object... nodeOutputs) |
protected org.apache.hadoop.hive.ql.plan.ExprNodeDesc |
processQualifiedColRef(HiveParserTypeCheckCtx ctx,
HiveParserASTNode expr,
Object... nodeOutputs) |
protected void |
validateUDF(HiveParserASTNode expr,
boolean isFunction,
HiveParserTypeCheckCtx ctx,
org.apache.hadoop.hive.ql.exec.FunctionInfo fi,
org.apache.hadoop.hive.ql.udf.generic.GenericUDF genericUDF) |
protected static boolean isRedundantConversionFunction(HiveParserASTNode expr, boolean isFunction, ArrayList<org.apache.hadoop.hive.ql.plan.ExprNodeDesc> children)
public static String getFunctionText(HiveParserASTNode expr, boolean isFunction)
public static org.apache.hadoop.hive.ql.plan.ExprNodeDesc getFuncExprNodeDescWithUdfData(String udfName, org.apache.hadoop.hive.serde2.typeinfo.TypeInfo typeInfo, org.apache.hadoop.hive.ql.plan.ExprNodeDesc... children) throws org.apache.hadoop.hive.ql.exec.UDFArgumentException
org.apache.hadoop.hive.ql.exec.UDFArgumentException
protected void validateUDF(HiveParserASTNode expr, boolean isFunction, HiveParserTypeCheckCtx ctx, org.apache.hadoop.hive.ql.exec.FunctionInfo fi, org.apache.hadoop.hive.ql.udf.generic.GenericUDF genericUDF) throws org.apache.hadoop.hive.ql.parse.SemanticException
org.apache.hadoop.hive.ql.parse.SemanticException
protected org.apache.hadoop.hive.ql.plan.ExprNodeDesc getXpathOrFuncExprNodeDesc(HiveParserASTNode expr, boolean isFunction, ArrayList<org.apache.hadoop.hive.ql.plan.ExprNodeDesc> children, HiveParserTypeCheckCtx ctx) throws org.apache.hadoop.hive.ql.parse.SemanticException, org.apache.hadoop.hive.ql.exec.UDFArgumentException
org.apache.hadoop.hive.ql.parse.SemanticException
org.apache.hadoop.hive.ql.exec.UDFArgumentException
protected org.apache.hadoop.hive.ql.plan.ExprNodeDesc processQualifiedColRef(HiveParserTypeCheckCtx ctx, HiveParserASTNode expr, Object... nodeOutputs) throws org.apache.hadoop.hive.ql.parse.SemanticException
org.apache.hadoop.hive.ql.parse.SemanticException
public Object process(org.apache.hadoop.hive.ql.lib.Node nd, Stack<org.apache.hadoop.hive.ql.lib.Node> stack, org.apache.hadoop.hive.ql.lib.NodeProcessorCtx procCtx, Object... nodeOutputs) throws org.apache.hadoop.hive.ql.parse.SemanticException
process
in interface org.apache.hadoop.hive.ql.lib.NodeProcessor
org.apache.hadoop.hive.ql.parse.SemanticException
protected List<String> getReferenceableColumnAliases(HiveParserTypeCheckCtx ctx)
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.