public abstract class AbstractPrimitiveObjectInspector extends Object implements PrimitiveObjectInspector
PrimitiveObjectInspector.PrimitiveCategoryObjectInspector.Category| Modifier and Type | Field and Description |
|---|---|
protected PrimitiveTypeInfo |
typeInfo |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractPrimitiveObjectInspector() |
protected |
AbstractPrimitiveObjectInspector(PrimitiveTypeInfo typeInfo)
Construct a AbstractPrimitiveObjectInspector.
|
| Modifier and Type | Method and Description |
|---|---|
ObjectInspector.Category |
getCategory()
Return the associated category this primitive ObjectInspector.
|
Class<?> |
getJavaPrimitiveClass()
Return the associated Java primitive class for this primitive
ObjectInspector.
|
PrimitiveObjectInspector.PrimitiveCategory |
getPrimitiveCategory()
Return the associated primitive category for this primitive
ObjectInspector.
|
Class<?> |
getPrimitiveWritableClass()
Return the associated primitive Writable class for this primitive
ObjectInspector.
|
PrimitiveTypeInfo |
getTypeInfo() |
String |
getTypeName()
Return the type name for this primitive ObjectInspector.
|
int |
precision()
Default implementation.
|
int |
scale()
Default implementation.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcopyObject, getPrimitiveJavaObject, getPrimitiveWritableObject, preferWritableprotected PrimitiveTypeInfo typeInfo
protected AbstractPrimitiveObjectInspector()
protected AbstractPrimitiveObjectInspector(PrimitiveTypeInfo typeInfo)
public Class<?> getJavaPrimitiveClass()
getJavaPrimitiveClass in interface PrimitiveObjectInspectorpublic PrimitiveObjectInspector.PrimitiveCategory getPrimitiveCategory()
getPrimitiveCategory in interface PrimitiveObjectInspectorpublic Class<?> getPrimitiveWritableClass()
getPrimitiveWritableClass in interface PrimitiveObjectInspectorpublic ObjectInspector.Category getCategory()
getCategory in interface ObjectInspectorpublic String getTypeName()
getTypeName in interface ObjectInspectorpublic PrimitiveTypeInfo getTypeInfo()
getTypeInfo in interface PrimitiveObjectInspectorpublic int precision()
precision in interface PrimitiveObjectInspectorpublic int scale()
scale in interface PrimitiveObjectInspectorCopyright © 2017 The Apache Software Foundation. All rights reserved.