public abstract class AbstractPrimitiveWritableObjectInspector extends AbstractPrimitiveObjectInspector
PrimitiveObjectInspector.PrimitiveCategoryObjectInspector.CategorytypeParams| 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, setTypeParamsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcopyObject, getPrimitiveJavaObjectprotected AbstractPrimitiveWritableObjectInspector(PrimitiveObjectInspectorUtils.PrimitiveTypeEntry typeEntry)
public java.lang.Object getPrimitiveWritableObject(java.lang.Object o)
PrimitiveObjectInspectorpublic boolean preferWritable()
PrimitiveObjectInspectorCopyright © 2012 The Apache Software Foundation