org.apache.hadoop.hive.ql.plan
Class ExprNodeGenericFuncDesc
java.lang.Object
org.apache.hadoop.hive.ql.plan.ExprNodeDesc
org.apache.hadoop.hive.ql.plan.ExprNodeGenericFuncDesc
- All Implemented Interfaces:
- Serializable, Node
public class ExprNodeGenericFuncDesc
- extends ExprNodeDesc
- implements Serializable
Describes a GenericFunc node.
- See Also:
- Serialized Form
ExprNodeGenericFuncDesc
public ExprNodeGenericFuncDesc()
ExprNodeGenericFuncDesc
public ExprNodeGenericFuncDesc(TypeInfo typeInfo,
GenericUDF genericUDF,
List<ExprNodeDesc> children)
ExprNodeGenericFuncDesc
public ExprNodeGenericFuncDesc(ObjectInspector oi,
GenericUDF genericUDF,
List<ExprNodeDesc> children)
getWritableObjectInspector
public ObjectInspector getWritableObjectInspector()
- Overrides:
getWritableObjectInspector
in class ExprNodeDesc
getGenericUDF
public GenericUDF getGenericUDF()
setGenericUDF
public void setGenericUDF(GenericUDF genericUDF)
getChildExprs
public List<ExprNodeDesc> getChildExprs()
setChildExprs
public void setChildExprs(List<ExprNodeDesc> children)
getChildren
public List<ExprNodeDesc> getChildren()
- Description copied from interface:
Node
- Gets the vector of children nodes. This is used in the graph walker
algorithms.
- Specified by:
getChildren
in interface Node
- Overrides:
getChildren
in class ExprNodeDesc
- Returns:
- List extends Node>
toString
public String toString()
- Overrides:
toString
in class Object
getExprString
public String getExprString()
- Overrides:
getExprString
in class ExprNodeDesc
getCols
public List<String> getCols()
- Overrides:
getCols
in class ExprNodeDesc
clone
public ExprNodeDesc clone()
- Specified by:
clone
in class ExprNodeDesc
newInstance
public static ExprNodeGenericFuncDesc newInstance(GenericUDF genericUDF,
List<ExprNodeDesc> children)
throws UDFArgumentException
- Create a exprNodeGenericFuncDesc based on the genericUDFClass and the
children parameters.
- Throws:
UDFArgumentException
isSame
public boolean isSame(Object o)
- Specified by:
isSame
in class ExprNodeDesc
hashCode
public int hashCode()
- Overrides:
hashCode
in class ExprNodeDesc
isSortedExpr
public boolean isSortedExpr()
setSortedExpr
public void setSortedExpr(boolean isSortedExpr)
Copyright © 2013 The Apache Software Foundation