public class WritableHiveVarcharObjectInspector extends AbstractPrimitiveWritableObjectInspector implements SettableHiveVarcharObjectInspector
PrimitiveObjectInspector.PrimitiveCategoryObjectInspector.CategorytypeParams| Constructor and Description |
|---|
WritableHiveVarcharObjectInspector(PrimitiveObjectInspectorUtils.PrimitiveTypeEntry typeEntry) |
| 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(HiveVarchar value) |
int |
getMaxLength() |
HiveVarchar |
getPrimitiveJavaObject(java.lang.Object o)
Get the Java Primitive object.
|
HiveVarcharWritable |
getPrimitiveWritableObject(java.lang.Object o)
Return the data in an instance of primitive writable Object.
|
java.lang.Object |
set(java.lang.Object o,
HiveVarchar value) |
java.lang.Object |
set(java.lang.Object o,
java.lang.String value) |
preferWritablegetCategory, getJavaPrimitiveClass, getPrimitiveCategory, getPrimitiveWritableClass, getTypeName, getTypeParams, setTypeParamsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetJavaPrimitiveClass, getPrimitiveCategory, getPrimitiveWritableClass, getTypeParams, preferWritable, setTypeParamsgetCategory, getTypeNamepublic WritableHiveVarcharObjectInspector(PrimitiveObjectInspectorUtils.PrimitiveTypeEntry typeEntry)
public HiveVarchar getPrimitiveJavaObject(java.lang.Object o)
PrimitiveObjectInspectorgetPrimitiveJavaObject in interface HiveVarcharObjectInspectorgetPrimitiveJavaObject in interface PrimitiveObjectInspectorpublic HiveVarcharWritable getPrimitiveWritableObject(java.lang.Object o)
PrimitiveObjectInspectorgetPrimitiveWritableObject in interface HiveVarcharObjectInspectorgetPrimitiveWritableObject in interface PrimitiveObjectInspectorgetPrimitiveWritableObject in class AbstractPrimitiveWritableObjectInspectorpublic java.lang.Object copyObject(java.lang.Object o)
PrimitiveObjectInspectorcopyObject in interface PrimitiveObjectInspectorpublic java.lang.Object set(java.lang.Object o,
HiveVarchar value)
set in interface SettableHiveVarcharObjectInspectorpublic java.lang.Object set(java.lang.Object o,
java.lang.String value)
set in interface SettableHiveVarcharObjectInspectorpublic java.lang.Object create(HiveVarchar value)
create in interface SettableHiveVarcharObjectInspectorpublic int getMaxLength()
Copyright © 2012 The Apache Software Foundation