org.apache.hadoop.hive.serde2.objectinspector.primitive
Interface SettableShortObjectInspector
- All Superinterfaces:
- Cloneable, ObjectInspector, PrimitiveObjectInspector, PrimitiveTypeSpec, ShortObjectInspector
- All Known Implementing Classes:
- JavaShortObjectInspector, WritableConstantShortObjectInspector, WritableShortObjectInspector
public interface SettableShortObjectInspector
- extends ShortObjectInspector
A SettableShortObjectInspector can set a short value to an object.
Method Summary |
Object |
create(short value)
Create an object with the value. |
Object |
set(Object o,
short value)
Set the object with the value. |
set
Object set(Object o,
short 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(short value)
- Create an object with the value.
Copyright © 2012 The Apache Software Foundation