public abstract class AbstractPrimitiveWritableObjectInspector extends AbstractPrimitiveObjectInspector
PrimitiveObjectInspector.PrimitiveCategory
ObjectInspector.Category
typeParams
Modifier | Constructor and Description |
---|---|
protected |
AbstractPrimitiveWritableObjectInspector(PrimitiveObjectInspectorUtils.PrimitiveTypeEntry typeEntry) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getPrimitiveWritableObject(java.lang.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, getTypeName, getTypeParams, setTypeParams
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
copyObject, getPrimitiveJavaObject
protected AbstractPrimitiveWritableObjectInspector(PrimitiveObjectInspectorUtils.PrimitiveTypeEntry typeEntry)
public java.lang.Object getPrimitiveWritableObject(java.lang.Object o)
PrimitiveObjectInspector
public boolean preferWritable()
PrimitiveObjectInspector
Copyright © 2012 The Apache Software Foundation