public class WritableHiveCharObjectInspector extends AbstractPrimitiveWritableObjectInspector implements SettableHiveCharObjectInspector
PrimitiveObjectInspector.PrimitiveCategoryObjectInspector.CategorytypeInfo| Constructor and Description |
|---|
WritableHiveCharObjectInspector() |
WritableHiveCharObjectInspector(CharTypeInfo typeInfo) |
| 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(HiveChar value) |
int |
getMaxLength() |
HiveChar |
getPrimitiveJavaObject(Object o)
Get the Java Primitive object.
|
HiveCharWritable |
getPrimitiveWritableObject(Object o)
Return the data in an instance of primitive writable Object.
|
Object |
set(Object o,
HiveChar value) |
Object |
set(Object o,
String 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 WritableHiveCharObjectInspector()
public WritableHiveCharObjectInspector(CharTypeInfo typeInfo)
public HiveChar getPrimitiveJavaObject(Object o)
PrimitiveObjectInspectorgetPrimitiveJavaObject in interface HiveCharObjectInspectorgetPrimitiveJavaObject in interface PrimitiveObjectInspectorpublic HiveCharWritable getPrimitiveWritableObject(Object o)
PrimitiveObjectInspectorgetPrimitiveWritableObject in interface HiveCharObjectInspectorgetPrimitiveWritableObject in interface PrimitiveObjectInspectorgetPrimitiveWritableObject in class AbstractPrimitiveWritableObjectInspectorpublic Object copyObject(Object o)
PrimitiveObjectInspectorcopyObject in interface PrimitiveObjectInspectorpublic Object set(Object o, HiveChar value)
set in interface SettableHiveCharObjectInspectorpublic Object set(Object o, String value)
set in interface SettableHiveCharObjectInspectorpublic Object create(HiveChar value)
create in interface SettableHiveCharObjectInspectorpublic int getMaxLength()
Copyright © 2019 The Apache Software Foundation. All Rights Reserved.