org.apache.hadoop.hive.serde2.objectinspector.primitive
Interface StringObjectInspector
- All Superinterfaces:
- ObjectInspector, PrimitiveObjectInspector
- All Known Subinterfaces:
- SettableStringObjectInspector
- All Known Implementing Classes:
- JavaStringObjectInspector, LazyStringObjectInspector, WritableStringObjectInspector
public interface StringObjectInspector
- extends PrimitiveObjectInspector
A StringObjectInspector inspects an Object representing a String.
getPrimitiveWritableObject
org.apache.hadoop.io.Text getPrimitiveWritableObject(Object o)
- Get the Text representation of the data.
- Specified by:
getPrimitiveWritableObject
in interface PrimitiveObjectInspector
getPrimitiveJavaObject
String getPrimitiveJavaObject(Object o)
- Get the String representation of the data.
- Specified by:
getPrimitiveJavaObject
in interface PrimitiveObjectInspector
Copyright © 2009 The Apache Software Foundation