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

java.lang.Object
  extended by org.apache.hadoop.hive.ql.plan.ExprNodeDesc
      extended by org.apache.hadoop.hive.ql.plan.ExprNodeConstantDesc
All Implemented Interfaces:
Serializable, Node

public class ExprNodeConstantDesc
extends ExprNodeDesc
implements Serializable

A constant expression.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.hadoop.hive.ql.plan.ExprNodeDesc
ExprNodeDesc.ExprNodeDescEqualityWrapper
 
Constructor Summary
ExprNodeConstantDesc()
           
ExprNodeConstantDesc(Object value)
           
ExprNodeConstantDesc(TypeInfo typeInfo, Object value)
           
 
Method Summary
 ExprNodeDesc clone()
           
 String getExprString()
           
 Object getValue()
           
 ConstantObjectInspector getWritableObjectInspector()
           
 int hashCode()
           
 boolean isSame(Object o)
           
 void setValue(Object value)
           
 String toString()
           
 
Methods inherited from class org.apache.hadoop.hive.ql.plan.ExprNodeDesc
getChildren, getCols, getName, getTypeInfo, getTypeString, setTypeInfo
 
Methods inherited from class java.lang.Object
equals, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExprNodeConstantDesc

public ExprNodeConstantDesc()

ExprNodeConstantDesc

public ExprNodeConstantDesc(TypeInfo typeInfo,
                            Object value)

ExprNodeConstantDesc

public ExprNodeConstantDesc(Object value)
Method Detail

setValue

public void setValue(Object value)

getValue

public Object getValue()

getWritableObjectInspector

public ConstantObjectInspector getWritableObjectInspector()
Overrides:
getWritableObjectInspector in class ExprNodeDesc

toString

public String toString()
Overrides:
toString in class Object

getExprString

public String getExprString()
Overrides:
getExprString in class ExprNodeDesc

clone

public ExprNodeDesc clone()
Specified by:
clone in class ExprNodeDesc

isSame

public boolean isSame(Object o)
Specified by:
isSame in class ExprNodeDesc

hashCode

public int hashCode()
Overrides:
hashCode in class ExprNodeDesc


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