org.apache.hadoop.hive.serde2.objectinspector.primitive
Interface BinaryObjectInspector

All Superinterfaces:
Cloneable, ObjectInspector, PrimitiveObjectInspector
All Known Subinterfaces:
SettableBinaryObjectInspector
All Known Implementing Classes:
JavaBinaryObjectInspector, LazyBinaryObjectInspector, WritableBinaryObjectInspector, WritableConstantBinaryObjectInspector

public interface BinaryObjectInspector
extends PrimitiveObjectInspector


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.hadoop.hive.serde2.objectinspector.PrimitiveObjectInspector
PrimitiveObjectInspector.PrimitiveCategory
 
Nested classes/interfaces inherited from interface org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector
ObjectInspector.Category
 
Method Summary
 byte[] getPrimitiveJavaObject(Object o)
          Get the Java Primitive object.
 org.apache.hadoop.io.BytesWritable getPrimitiveWritableObject(Object o)
          Return the data in an instance of primitive writable Object.
 
Methods inherited from interface org.apache.hadoop.hive.serde2.objectinspector.PrimitiveObjectInspector
copyObject, getJavaPrimitiveClass, getPrimitiveCategory, getPrimitiveWritableClass, preferWritable
 
Methods inherited from interface org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector
getCategory, getTypeName
 

Method Detail

getPrimitiveJavaObject

byte[] getPrimitiveJavaObject(Object o)
Description copied from interface: PrimitiveObjectInspector
Get the Java Primitive object.

Specified by:
getPrimitiveJavaObject in interface PrimitiveObjectInspector

getPrimitiveWritableObject

org.apache.hadoop.io.BytesWritable getPrimitiveWritableObject(Object o)
Description copied from interface: PrimitiveObjectInspector
Return the data in an instance of primitive writable Object. If the Object is already a primitive writable Object, just return o.

Specified by:
getPrimitiveWritableObject in interface PrimitiveObjectInspector


Copyright © 2011 The Apache Software Foundation