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

All Superinterfaces:
Cloneable, LongObjectInspector, ObjectInspector, PrimitiveObjectInspector
All Known Implementing Classes:
JavaLongObjectInspector, WritableConstantLongObjectInspector, WritableLongObjectInspector

public interface SettableLongObjectInspector
extends LongObjectInspector

A SettableLongObjectInspector can set a long value to an object.


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(long value)
          Create an object with the value.
 Object set(Object o, long value)
          Set the object with the value.
 
Methods inherited from interface org.apache.hadoop.hive.serde2.objectinspector.primitive.LongObjectInspector
get
 
Methods inherited from interface org.apache.hadoop.hive.serde2.objectinspector.PrimitiveObjectInspector
copyObject, getJavaPrimitiveClass, getPrimitiveCategory, getPrimitiveJavaObject, getPrimitiveWritableClass, getPrimitiveWritableObject, preferWritable
 
Methods inherited from interface org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector
getCategory, getTypeName
 

Method Detail

set

Object set(Object o,
           long value)
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(long value)
Create an object with the value.



Copyright © 2011 The Apache Software Foundation