|
||||||||||
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
public abstract class TypeInfo
Stores information about a type. Always use the TypeInfoFactory to create new TypeInfo objects. We support 5 categories of types: 1. Primitive objects (String, Number, etc) 2. List objects (a list of objects of a single type) 3. Map objects (a map from objects of one type to objects of another type) 4. Struct objects (a list of fields with names and their own types) 5. Union objects
Constructor Summary | |
---|---|
protected |
TypeInfo()
|
Method Summary | |
---|---|
abstract boolean |
equals(Object o)
|
abstract ObjectInspector.Category |
getCategory()
The Category of this TypeInfo. |
String |
getQualifiedName()
String representing the qualified type name. |
abstract String |
getTypeName()
A String representation of the TypeInfo. |
abstract int |
hashCode()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected TypeInfo()
Method Detail |
---|
public abstract ObjectInspector.Category getCategory()
public abstract String getTypeName()
public String getQualifiedName()
public String toString()
toString
in class Object
public abstract boolean equals(Object o)
equals
in class Object
public abstract int hashCode()
hashCode
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |