public abstract class AbstractPrimitiveLazyObjectInspector<T extends Writable> extends AbstractPrimitiveObjectInspector
PrimitiveObjectInspector.PrimitiveCategory
ObjectInspector.Category
typeParams
Modifier | Constructor and Description |
---|---|
protected |
AbstractPrimitiveLazyObjectInspector(PrimitiveObjectInspectorUtils.PrimitiveTypeEntry typeEntry) |
Modifier and Type | Method and Description |
---|---|
T |
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 AbstractPrimitiveLazyObjectInspector(PrimitiveObjectInspectorUtils.PrimitiveTypeEntry typeEntry)
public T getPrimitiveWritableObject(java.lang.Object o)
PrimitiveObjectInspector
public boolean preferWritable()
PrimitiveObjectInspector
Copyright © 2012 The Apache Software Foundation