public abstract class AbstractPrimitiveJavaObjectInspector extends AbstractPrimitiveObjectInspector
PrimitiveObjectInspector.PrimitiveCategory
ObjectInspector.Category
typeParams
Modifier | Constructor and Description |
---|---|
protected |
AbstractPrimitiveJavaObjectInspector(PrimitiveObjectInspectorUtils.PrimitiveTypeEntry typeEntry) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
copyObject(java.lang.Object o)
Get a copy of the Object in the same class, so the return value can be
stored independently of the parameter.
|
java.lang.Object |
getPrimitiveJavaObject(java.lang.Object o)
Get the Java Primitive 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
getPrimitiveWritableObject
protected AbstractPrimitiveJavaObjectInspector(PrimitiveObjectInspectorUtils.PrimitiveTypeEntry typeEntry)
public java.lang.Object getPrimitiveJavaObject(java.lang.Object o)
PrimitiveObjectInspector
public java.lang.Object copyObject(java.lang.Object o)
PrimitiveObjectInspector
public boolean preferWritable()
PrimitiveObjectInspector
Copyright © 2012 The Apache Software Foundation