public class WritableStringObjectInspector extends AbstractPrimitiveWritableObjectInspector implements SettableStringObjectInspector
PrimitiveObjectInspector.PrimitiveCategoryObjectInspector.CategorytypeParams| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
copyObject(java.lang.Object o)
Get a copy of the Object in the same class, so the return value can be
stored independently of the parameter.
|
java.lang.Object |
create(Text value)
Create an object with the value.
|
java.lang.String |
getPrimitiveJavaObject(java.lang.Object o)
Get the String representation of the data.
|
Text |
getPrimitiveWritableObject(java.lang.Object o)
Return the data in an instance of primitive writable Object.
|
java.lang.Object |
set(java.lang.Object o,
Text value)
Set the object with the value.
|
preferWritablegetCategory, getJavaPrimitiveClass, getPrimitiveCategory, getPrimitiveWritableClass, getTypeName, getTypeParams, setTypeParamsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetJavaPrimitiveClass, getPrimitiveCategory, getPrimitiveWritableClass, getTypeParams, preferWritable, setTypeParamsgetCategory, getTypeNamepublic java.lang.Object copyObject(java.lang.Object o)
PrimitiveObjectInspectorcopyObject in interface PrimitiveObjectInspectorpublic Text getPrimitiveWritableObject(java.lang.Object o)
PrimitiveObjectInspectorgetPrimitiveWritableObject in interface StringObjectInspectorgetPrimitiveWritableObject in interface PrimitiveObjectInspectorgetPrimitiveWritableObject in class AbstractPrimitiveWritableObjectInspectorpublic java.lang.String getPrimitiveJavaObject(java.lang.Object o)
StringObjectInspectorgetPrimitiveJavaObject in interface StringObjectInspectorgetPrimitiveJavaObject in interface PrimitiveObjectInspectorpublic java.lang.Object create(Text value)
SettableStringObjectInspectorcreate in interface SettableStringObjectInspectorpublic java.lang.Object set(java.lang.Object o,
Text value)
SettableStringObjectInspectorset in interface SettableStringObjectInspectorCopyright © 2012 The Apache Software Foundation