public class ColumnInfo extends Object implements Serializable
Constructor and Description |
---|
ColumnInfo() |
ColumnInfo(ColumnInfo columnInfo) |
ColumnInfo(String internalName,
Class type,
String tabAlias,
boolean isVirtualCol) |
ColumnInfo(String internalName,
ObjectInspector objectInspector,
String tabAlias,
boolean isVirtualCol) |
ColumnInfo(String internalName,
ObjectInspector objectInspector,
String tabAlias,
boolean isVirtualCol,
boolean isHiddenVirtualCol) |
ColumnInfo(String internalName,
TypeInfo type,
String tabAlias,
boolean isVirtualCol) |
ColumnInfo(String internalName,
TypeInfo type,
String tabAlias,
boolean isVirtualCol,
boolean isHiddenVirtualCol) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getAlias() |
String |
getInternalName() |
boolean |
getIsVirtualCol() |
ObjectInspector |
getObjectInspector() |
String |
getTabAlias() |
TypeInfo |
getType() |
String |
getTypeName() |
int |
hashCode() |
boolean |
internalEquals(ColumnInfo dest) |
boolean |
isHiddenVirtualCol() |
boolean |
isSameColumnForRR(ColumnInfo other) |
boolean |
isSkewedCol() |
void |
setAlias(String col_alias) |
void |
setHiddenVirtualCol(boolean isHiddenVirtualCol) |
void |
setInternalName(String internalName) |
void |
setObjectinspector(ObjectInspector writableObjectInspector) |
void |
setSkewedCol(boolean isSkewedCol) |
void |
setTabAlias(String tabAlias) |
void |
setType(TypeInfo type) |
void |
setTypeName(String typeName) |
void |
setVirtualCol(boolean isVirtualCol) |
String |
toMappingString(String tab,
String col) |
String |
toString()
Returns the string representation of the ColumnInfo.
|
public ColumnInfo()
public ColumnInfo(String internalName, TypeInfo type, String tabAlias, boolean isVirtualCol)
public ColumnInfo(String internalName, Class type, String tabAlias, boolean isVirtualCol)
public ColumnInfo(String internalName, TypeInfo type, String tabAlias, boolean isVirtualCol, boolean isHiddenVirtualCol)
public ColumnInfo(String internalName, ObjectInspector objectInspector, String tabAlias, boolean isVirtualCol)
public ColumnInfo(String internalName, ObjectInspector objectInspector, String tabAlias, boolean isVirtualCol, boolean isHiddenVirtualCol)
public ColumnInfo(ColumnInfo columnInfo)
public String getTypeName()
public void setTypeName(String typeName)
public TypeInfo getType()
public ObjectInspector getObjectInspector()
public String getInternalName()
public void setType(TypeInfo type)
public void setInternalName(String internalName)
public String getTabAlias()
public boolean getIsVirtualCol()
public boolean isHiddenVirtualCol()
public String toString()
public void setAlias(String col_alias)
public String getAlias()
public void setTabAlias(String tabAlias)
public void setVirtualCol(boolean isVirtualCol)
public void setHiddenVirtualCol(boolean isHiddenVirtualCol)
public boolean isSkewedCol()
public void setSkewedCol(boolean isSkewedCol)
isSkewedCol
- the isSkewedCol to setpublic boolean internalEquals(ColumnInfo dest)
public boolean isSameColumnForRR(ColumnInfo other)
public void setObjectinspector(ObjectInspector writableObjectInspector)
Copyright © 2017 The Apache Software Foundation. All rights reserved.