public abstract class AbstractPrimitiveWritableObjectInspector extends AbstractPrimitiveObjectInspector
PrimitiveObjectInspector.PrimitiveCategory
ObjectInspector.Category
typeInfo
Modifier | Constructor and Description |
---|---|
protected |
AbstractPrimitiveWritableObjectInspector() |
protected |
AbstractPrimitiveWritableObjectInspector(PrimitiveTypeInfo typeInfo) |
Modifier and Type | Method and Description |
---|---|
Object |
getPrimitiveWritableObject(Object o)
Return the data in an instance of primitive writable Object.
|
boolean |
preferWritable()
Whether the ObjectInspector prefers to return a Primitive Writable Object
instead of a Primitive Java Object.
|
getCategory, getJavaPrimitiveClass, getPrimitiveCategory, getPrimitiveWritableClass, getTypeInfo, getTypeName, precision, scale
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
copyObject, getPrimitiveJavaObject
protected AbstractPrimitiveWritableObjectInspector()
protected AbstractPrimitiveWritableObjectInspector(PrimitiveTypeInfo typeInfo)
public Object getPrimitiveWritableObject(Object o)
PrimitiveObjectInspector
public boolean preferWritable()
PrimitiveObjectInspector
Copyright © 2017 The Apache Software Foundation. All rights reserved.