public abstract class AbstractPrimitiveLazyObjectInspector<T extends org.apache.hadoop.io.Writable> extends AbstractPrimitiveObjectInspector
PrimitiveObjectInspector.PrimitiveCategory
ObjectInspector.Category
typeInfo
Modifier | Constructor and Description |
---|---|
protected |
AbstractPrimitiveLazyObjectInspector() |
protected |
AbstractPrimitiveLazyObjectInspector(PrimitiveTypeInfo typeInfo) |
Modifier and Type | Method and Description |
---|---|
T |
getPrimitiveWritableObject(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, getTypeInfo, getTypeName, precision, scale
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
copyObject, getPrimitiveJavaObject
protected AbstractPrimitiveLazyObjectInspector()
protected AbstractPrimitiveLazyObjectInspector(PrimitiveTypeInfo typeInfo)
public T getPrimitiveWritableObject(Object o)
PrimitiveObjectInspector
public boolean preferWritable()
PrimitiveObjectInspector
Copyright © 2017 The Apache Software Foundation. All rights reserved.