public abstract class AbstractPrimitiveJavaObjectInspector extends AbstractPrimitiveObjectInspector
PrimitiveObjectInspector.PrimitiveCategory
ObjectInspector.Category
typeInfo
Modifier | Constructor and Description |
---|---|
protected |
AbstractPrimitiveJavaObjectInspector() |
protected |
AbstractPrimitiveJavaObjectInspector(PrimitiveTypeInfo typeInfo) |
Modifier and Type | Method and Description |
---|---|
Object |
copyObject(Object o)
Get a copy of the Object in the same class, so the return value can be
stored independently of the parameter.
|
Object |
getPrimitiveJavaObject(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, getTypeInfo, getTypeName, precision, scale
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPrimitiveWritableObject
protected AbstractPrimitiveJavaObjectInspector()
protected AbstractPrimitiveJavaObjectInspector(PrimitiveTypeInfo typeInfo)
public Object getPrimitiveJavaObject(Object o)
PrimitiveObjectInspector
public Object copyObject(Object o)
PrimitiveObjectInspector
public boolean preferWritable()
PrimitiveObjectInspector
Copyright © 2017 The Apache Software Foundation. All rights reserved.