|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.hive.ql.parse.TypeCheckProcFactory.DefaultExprProcessor
public static class TypeCheckProcFactory.DefaultExprProcessor
The default processor for typechecking.
Constructor Summary | |
---|---|
TypeCheckProcFactory.DefaultExprProcessor()
|
Method Summary | |
---|---|
static exprNodeDesc |
getFuncExprNodeDesc(String name,
exprNodeDesc... children)
Get the exprNodeDesc |
static exprNodeDesc |
getFuncExprNodeDesc(String udfName,
List<exprNodeDesc> children)
This function create an ExprNodeDesc for a UDF function given the children (arguments). |
static String |
getFunctionText(ASTNode expr,
boolean isFunction)
|
static boolean |
isRedundantConversionFunction(ASTNode expr,
boolean isFunction,
ArrayList<exprNodeDesc> children)
|
Object |
process(Node nd,
Stack<Node> stack,
NodeProcessorCtx procCtx,
Object... nodeOutputs)
generic process for all ops that don't have specific implementations |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TypeCheckProcFactory.DefaultExprProcessor()
Method Detail |
---|
public static boolean isRedundantConversionFunction(ASTNode expr, boolean isFunction, ArrayList<exprNodeDesc> children)
public static String getFunctionText(ASTNode expr, boolean isFunction)
public static exprNodeDesc getFuncExprNodeDesc(String name, exprNodeDesc... children)
name
- children
-
public static exprNodeDesc getFuncExprNodeDesc(String udfName, List<exprNodeDesc> children)
SemanticException
public Object process(Node nd, Stack<Node> stack, NodeProcessorCtx procCtx, Object... nodeOutputs) throws SemanticException
NodeProcessor
process
in interface NodeProcessor
nd
- operator to processprocCtx
- operator processor contextnodeOutputs
- A variable argument list of outputs from other nodes in the walk
SemanticException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |