public abstract class AbstractPrimitiveObjectInspector extends Object implements PrimitiveObjectInspector
PrimitiveObjectInspector.PrimitiveCategory
ObjectInspector.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, wait
copyObject, getPrimitiveJavaObject, getPrimitiveWritableObject, preferWritable
protected PrimitiveTypeInfo typeInfo
protected AbstractPrimitiveObjectInspector()
protected AbstractPrimitiveObjectInspector(PrimitiveTypeInfo typeInfo)
public Class<?> getJavaPrimitiveClass()
getJavaPrimitiveClass
in interface PrimitiveObjectInspector
public PrimitiveObjectInspector.PrimitiveCategory getPrimitiveCategory()
getPrimitiveCategory
in interface PrimitiveObjectInspector
public Class<?> getPrimitiveWritableClass()
getPrimitiveWritableClass
in interface PrimitiveObjectInspector
public ObjectInspector.Category getCategory()
getCategory
in interface ObjectInspector
public String getTypeName()
getTypeName
in interface ObjectInspector
public PrimitiveTypeInfo getTypeInfo()
getTypeInfo
in interface PrimitiveObjectInspector
public int precision()
precision
in interface PrimitiveObjectInspector
public int scale()
scale
in interface PrimitiveObjectInspector
Copyright © 2017 The Apache Software Foundation. All rights reserved.