public class VarcharStringOptionInspector extends AbstractValueInspector implements org.apache.hadoop.hive.serde2.objectinspector.primitive.HiveVarcharObjectInspector
StringOption object.| Constructor and Description |
|---|
VarcharStringOptionInspector()
Creates a new instance.
|
VarcharStringOptionInspector(int length)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
org.apache.hadoop.hive.common.type.HiveVarchar |
getPrimitiveJavaObject(Object o) |
org.apache.hadoop.hive.serde2.io.HiveVarcharWritable |
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, waitpublic VarcharStringOptionInspector()
public VarcharStringOptionInspector(int length)
length - character string lengthprotected ValueOption<?> newObject()
AbstractValueInspectorValueOption type.newObject in class AbstractValueInspectorpublic org.apache.hadoop.hive.common.type.HiveVarchar getPrimitiveJavaObject(Object o)
getPrimitiveJavaObject in interface org.apache.hadoop.hive.serde2.objectinspector.primitive.HiveVarcharObjectInspectorgetPrimitiveJavaObject in interface org.apache.hadoop.hive.serde2.objectinspector.PrimitiveObjectInspectorpublic org.apache.hadoop.hive.serde2.io.HiveVarcharWritable getPrimitiveWritableObject(Object o)
getPrimitiveWritableObject in interface org.apache.hadoop.hive.serde2.objectinspector.primitive.HiveVarcharObjectInspectorgetPrimitiveWritableObject 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–2019 Asakusa Framework Team. All rights reserved.