org.apache.hadoop.hive.serde2.typeinfo
Class ListTypeInfo
java.lang.Object
org.apache.hadoop.hive.serde2.typeinfo.TypeInfo
org.apache.hadoop.hive.serde2.typeinfo.ListTypeInfo
- All Implemented Interfaces:
- Serializable
public class ListTypeInfo
- extends TypeInfo
- implements Serializable
A List Type has homogeneous elements. All elements of the List has
the same TypeInfo which is returned by getListElementTypeInfo.
Always use the TypeInfoFactory to create new TypeInfo objects, instead
of directly creating an instance of this class.
- See Also:
- Serialized Form
Constructor Summary |
ListTypeInfo()
For java serialization use only. |
ListTypeInfo
public ListTypeInfo()
- For java serialization use only.
getTypeName
public String getTypeName()
- Overrides:
getTypeName
in class TypeInfo
setListElementTypeInfo
public void setListElementTypeInfo(TypeInfo listElementTypeInfo)
- For java serialization use only.
getCategory
public ObjectInspector.Category getCategory()
- Overrides:
getCategory
in class TypeInfo
getListElementTypeInfo
public TypeInfo getListElementTypeInfo()
- Overrides:
getListElementTypeInfo
in class TypeInfo
equals
public boolean equals(Object other)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
Copyright © 2009 The Apache Software Foundation