org.apache.hadoop.hive.ql.exec
Class ColumnInfo
java.lang.Object
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
ColumnInfo
public ColumnInfo()
ColumnInfo
public ColumnInfo(String internalName,
TypeInfo type,
String tabAlias,
boolean isPartitionCol)
ColumnInfo
public ColumnInfo(String internalName,
Class type,
String tabAlias,
boolean isPartitionCol)
getType
public TypeInfo getType()
getInternalName
public String getInternalName()
setType
public void setType(TypeInfo type)
setInternalName
public void setInternalName(String internalName)
getTabAlias
public String getTabAlias()
getIsPartitionCol
public boolean getIsPartitionCol()
toString
public String toString()
- Returns the string representation of the ColumnInfo.
- Overrides:
toString
in class Object
setAlias
public void setAlias(String col_alias)
getAlias
public String getAlias()
Copyright © 2009 The Apache Software Foundation