|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PrimitiveObjectInspector
PrimitiveObjectInspector.
Nested Class Summary | |
---|---|
static class |
PrimitiveObjectInspector.PrimitiveCategory
The primitive types supported by Hive. |
Nested classes/interfaces inherited from interface org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector |
---|
ObjectInspector.Category |
Method Summary | |
---|---|
Object |
copyObject(Object o)
Get a copy of the Object in the same class, so the return value can be stored independently of the parameter. |
Class<?> |
getJavaPrimitiveClass()
Get the Java Primitive class which is the return type of getJavaPrimitiveObject(). |
PrimitiveObjectInspector.PrimitiveCategory |
getPrimitiveCategory()
Get the primitive category of the PrimitiveObjectInspector. |
Object |
getPrimitiveJavaObject(Object o)
Get the Java Primitive object. |
Class<?> |
getPrimitiveWritableClass()
Get the Primitive Writable class which is the return type of getPrimitiveWritableObject() and copyToPrimitiveWritableObject(). |
Object |
getPrimitiveWritableObject(Object o)
Return the data in an instance of primitive writable Object. |
boolean |
preferWritable()
Whether the ObjectInspector prefers to return a Primitive Writable Object instead of a Primitive Java Object. |
Methods inherited from interface org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector |
---|
getCategory, getTypeName |
Method Detail |
---|
PrimitiveObjectInspector.PrimitiveCategory getPrimitiveCategory()
Class<?> getPrimitiveWritableClass()
Object getPrimitiveWritableObject(Object o)
Class<?> getJavaPrimitiveClass()
Object getPrimitiveJavaObject(Object o)
Object copyObject(Object o)
boolean preferWritable()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |