public abstract class OrcLazyPrimitiveObjectInspector<T extends OrcLazyObject,U extends org.apache.hadoop.io.Writable> extends Object implements org.apache.hadoop.hive.serde2.objectinspector.PrimitiveObjectInspector
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.hadoop.hive.serde2.objectinspector.primitive.PrimitiveObjectInspectorUtils.PrimitiveTypeEntry |
typeEntry |
| Modifier | Constructor and Description |
|---|---|
protected |
OrcLazyPrimitiveObjectInspector(org.apache.hadoop.hive.serde2.objectinspector.primitive.PrimitiveObjectInspectorUtils.PrimitiveTypeEntry typeEntry) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector.Category |
getCategory()
Return the associated category this primitive ObjectInspector.
|
Class<?> |
getJavaPrimitiveClass()
Return the associated Java primitive class for this primitive
ObjectInspector.
|
org.apache.hadoop.hive.serde2.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.
|
U |
getPrimitiveWritableObject(Object o) |
String |
getTypeName()
Return the type name for this primitive ObjectInspector.
|
int |
precision()
The precision of the underlying data.
|
boolean |
preferWritable() |
int |
scale()
The scale of the underlying data.
|
protected final transient org.apache.hadoop.hive.serde2.objectinspector.primitive.PrimitiveObjectInspectorUtils.PrimitiveTypeEntry typeEntry
protected OrcLazyPrimitiveObjectInspector(org.apache.hadoop.hive.serde2.objectinspector.primitive.PrimitiveObjectInspectorUtils.PrimitiveTypeEntry typeEntry)
public U getPrimitiveWritableObject(Object o)
getPrimitiveWritableObject in interface org.apache.hadoop.hive.serde2.objectinspector.PrimitiveObjectInspectorpublic boolean preferWritable()
preferWritable in interface org.apache.hadoop.hive.serde2.objectinspector.PrimitiveObjectInspectorpublic Class<?> getJavaPrimitiveClass()
getJavaPrimitiveClass in interface org.apache.hadoop.hive.serde2.objectinspector.PrimitiveObjectInspectorpublic org.apache.hadoop.hive.serde2.objectinspector.PrimitiveObjectInspector.PrimitiveCategory getPrimitiveCategory()
getPrimitiveCategory in interface org.apache.hadoop.hive.serde2.objectinspector.PrimitiveObjectInspectorpublic Class<?> getPrimitiveWritableClass()
getPrimitiveWritableClass in interface org.apache.hadoop.hive.serde2.objectinspector.PrimitiveObjectInspectorpublic org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector.Category getCategory()
getCategory in interface org.apache.hadoop.hive.serde2.objectinspector.ObjectInspectorpublic String getTypeName()
getTypeName in interface org.apache.hadoop.hive.serde2.objectinspector.ObjectInspectorpublic int precision()
precision in interface org.apache.hadoop.hive.serde2.objectinspector.PrimitiveObjectInspectorpublic int scale()
scale in interface org.apache.hadoop.hive.serde2.objectinspector.PrimitiveObjectInspectorCopyright © 2013–2021. All rights reserved.