org.apache.hadoop.hive.ql.plan
Class ExprNodeDesc

java.lang.Object
  extended by org.apache.hadoop.hive.ql.plan.ExprNodeDesc
All Implemented Interfaces:
Serializable, Node
Direct Known Subclasses:
ExprNodeColumnDesc, ExprNodeColumnListDesc, ExprNodeConstantDesc, ExprNodeFieldDesc, ExprNodeGenericFuncDesc, ExprNodeNullDesc

public abstract class ExprNodeDesc
extends Object
implements Serializable, Node

ExprNodeDesc.

See Also:
Serialized Form

Nested Class Summary
static class ExprNodeDesc.ExprNodeDescEqualityWrapper
           
 
Constructor Summary
ExprNodeDesc()
           
ExprNodeDesc(TypeInfo typeInfo)
           
 
Method Summary
abstract  ExprNodeDesc clone()
           
 List<ExprNodeDesc> getChildren()
          Gets the vector of children nodes.
 List<String> getCols()
           
 String getExprString()
           
 String getName()
          Gets the name of the node.
 TypeInfo getTypeInfo()
           
 String getTypeString()
           
 ObjectInspector getWritableObjectInspector()
           
 int hashCode()
           
abstract  boolean isSame(Object o)
           
 void setTypeInfo(TypeInfo typeInfo)
           
 
Methods inherited from class java.lang.Object
equals, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExprNodeDesc

public ExprNodeDesc()

ExprNodeDesc

public ExprNodeDesc(TypeInfo typeInfo)
Method Detail

clone

public abstract ExprNodeDesc clone()
Overrides:
clone in class Object

isSame

public abstract boolean isSame(Object o)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

getTypeInfo

public TypeInfo getTypeInfo()

setTypeInfo

public void setTypeInfo(TypeInfo typeInfo)

getExprString

public String getExprString()

getWritableObjectInspector

public ObjectInspector getWritableObjectInspector()

getTypeString

public String getTypeString()

getCols

public List<String> getCols()

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
Returns:
List

getName

public String getName()
Description copied from interface: Node
Gets the name of the node. This is used in the rule dispatchers.

Specified by:
getName in interface Node
Returns:
String


Copyright © 2014 The Apache Software Foundation. All rights reserved.