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

All Superinterfaces:
BinaryObjectInspector, Cloneable, ObjectInspector, PrimitiveObjectInspector
All Known Implementing Classes:
JavaBinaryObjectInspector, WritableBinaryObjectInspector, WritableConstantBinaryObjectInspector

public interface SettableBinaryObjectInspector
extends BinaryObjectInspector


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
 Object create(byte[] bb)
          Create an object with the value.
 Object create(org.apache.hadoop.io.BytesWritable bw)
          Create an object with the value.
 Object set(Object o, byte[] bb)
          Set the object with the value.
 Object set(Object o, org.apache.hadoop.io.BytesWritable bw)
          Set the object with the value.
 
Methods inherited from interface org.apache.hadoop.hive.serde2.objectinspector.primitive.BinaryObjectInspector
getPrimitiveJavaObject, getPrimitiveWritableObject
 
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

set

Object set(Object o,
           byte[] bb)
Set the object with the value. Return the object that has the new value. In most cases the returned value should be the same as o, but in case o is unmodifiable, this will return a new object with new value.


set

Object set(Object o,
           org.apache.hadoop.io.BytesWritable bw)
Set the object with the value. Return the object that has the new value. In most cases the returned value should be the same as o, but in case o is unmodifiable, this will return a new object with new value.


create

Object create(byte[] bb)
Create an object with the value.


create

Object create(org.apache.hadoop.io.BytesWritable bw)
Create an object with the value.



Copyright © 2011 The Apache Software Foundation