org.apache.hadoop.hive.ql.exec
Class ColumnInfo

java.lang.Object
  extended by org.apache.hadoop.hive.ql.exec.ColumnInfo
All Implemented Interfaces:
Serializable

public class ColumnInfo
extends Object
implements Serializable

Implementation for ColumnInfo which contains the internal name for the column (the one that is used by the operator to access the column) and the type (identified by a java class).

See Also:
Serialized Form

Constructor Summary
ColumnInfo()
           
ColumnInfo(String internalName, Class type)
           
ColumnInfo(String internalName, TypeInfo type)
           
 
Method Summary
 String getInternalName()
           
 TypeInfo getType()
           
 void setInternalName(String internalName)
           
 void setType(TypeInfo type)
           
 String toString()
          Returns the string representation of the ColumnInfo.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ColumnInfo

public ColumnInfo()

ColumnInfo

public ColumnInfo(String internalName,
                  TypeInfo type)

ColumnInfo

public ColumnInfo(String internalName,
                  Class type)
Method Detail

getType

public TypeInfo getType()

getInternalName

public String getInternalName()

setType

public void setType(TypeInfo type)

setInternalName

public void setInternalName(String internalName)

toString

public String toString()
Returns the string representation of the ColumnInfo.

Overrides:
toString in class Object


Copyright © 2009 The Apache Software Foundation