org.apache.hadoop.hive.serde2.objectinspector.primitive
Interface SettableStringObjectInspector
- All Superinterfaces:
- Cloneable, ObjectInspector, PrimitiveObjectInspector, StringObjectInspector
- All Known Implementing Classes:
- JavaStringObjectInspector, WritableStringObjectInspector
public interface SettableStringObjectInspector
- extends StringObjectInspector
A SettableStringObjectInspector can set a string value to an object.
set
Object set(Object o,
org.apache.hadoop.io.Text 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.
set
Object set(Object o,
String 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(org.apache.hadoop.io.Text value)
- Create an object with the value.
create
Object create(String value)
- Create an object with the value.
Copyright © 2010 The Apache Software Foundation