public class StringOptionInspector extends AbstractValueInspector implements org.apache.hadoop.hive.serde2.objectinspector.primitive.StringObjectInspector
StringOption object.| Constructor and Description |
|---|
StringOptionInspector()
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getPrimitiveJavaObject(Object o) |
org.apache.hadoop.io.Text |
getPrimitiveWritableObject(Object o) |
protected ValueOption<?> |
newObject()
Creates a new instance for supported
ValueOption type. |
boolean |
preferWritable() |
copyObjectgetCategory, getJavaPrimitiveClass, getPrimitiveCategory, getPrimitiveWritableClass, getTypeInfo, getTypeName, precision, scaleclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitprotected ValueOption<?> newObject()
AbstractValueInspectorValueOption type.newObject in class AbstractValueInspectorpublic String getPrimitiveJavaObject(Object o)
getPrimitiveJavaObject in interface org.apache.hadoop.hive.serde2.objectinspector.primitive.StringObjectInspectorgetPrimitiveJavaObject in interface org.apache.hadoop.hive.serde2.objectinspector.PrimitiveObjectInspectorpublic org.apache.hadoop.io.Text getPrimitiveWritableObject(Object o)
getPrimitiveWritableObject in interface org.apache.hadoop.hive.serde2.objectinspector.primitive.StringObjectInspectorgetPrimitiveWritableObject in interface org.apache.hadoop.hive.serde2.objectinspector.PrimitiveObjectInspectorpublic boolean preferWritable()
preferWritable in interface org.apache.hadoop.hive.serde2.objectinspector.PrimitiveObjectInspectorpreferWritable in class AbstractValueInspectorCopyright © 2011–2018 Asakusa Framework Team. All rights reserved.