|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.hive.serde2.typeinfo.TypeInfo
org.apache.hadoop.hive.serde2.typeinfo.StructTypeInfo
public class StructTypeInfo
StructTypeInfo represents the TypeInfo of a struct. A struct contains one or more fields each of which has a unique name and its own TypeInfo. Different fields can have the same or different TypeInfo. Always use the TypeInfoFactory to create new TypeInfo objects, instead of directly creating an instance of this class.
Constructor Summary | |
---|---|
StructTypeInfo()
For java serialization use only. |
Method Summary | |
---|---|
boolean |
equals(Object other)
|
List<String> |
getAllStructFieldNames()
|
List<TypeInfo> |
getAllStructFieldTypeInfos()
|
ObjectInspector.Category |
getCategory()
The Category of this TypeInfo. |
TypeInfo |
getStructFieldTypeInfo(String field)
|
String |
getTypeName()
A String representation of the TypeInfo. |
int |
hashCode()
|
void |
setAllStructFieldNames(ArrayList<String> allStructFieldNames)
For java serialization use only. |
void |
setAllStructFieldTypeInfos(ArrayList<TypeInfo> allStructFieldTypeInfos)
For java serialization use only. |
Methods inherited from class org.apache.hadoop.hive.serde2.typeinfo.TypeInfo |
---|
toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public StructTypeInfo()
Method Detail |
---|
public String getTypeName()
TypeInfo
getTypeName
in class TypeInfo
public void setAllStructFieldNames(ArrayList<String> allStructFieldNames)
public void setAllStructFieldTypeInfos(ArrayList<TypeInfo> allStructFieldTypeInfos)
public ObjectInspector.Category getCategory()
TypeInfo
getCategory
in class TypeInfo
public List<String> getAllStructFieldNames()
public List<TypeInfo> getAllStructFieldTypeInfos()
public TypeInfo getStructFieldTypeInfo(String field)
public boolean equals(Object other)
equals
in class TypeInfo
public int hashCode()
hashCode
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |