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