public class JavaHiveDecimalObjectInspector extends AbstractPrimitiveJavaObjectInspector implements SettableHiveDecimalObjectInspector
PrimitiveObjectInspector.PrimitiveCategoryObjectInspector.CategorytypeParams| Modifier | Constructor and Description |
|---|---|
protected |
JavaHiveDecimalObjectInspector() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
create(byte[] bytes,
int scale) |
java.lang.Object |
create(HiveDecimal t) |
HiveDecimal |
getPrimitiveJavaObject(java.lang.Object o)
Get the Java Primitive object.
|
HiveDecimalWritable |
getPrimitiveWritableObject(java.lang.Object o)
Return the data in an instance of primitive writable Object.
|
java.lang.Object |
set(java.lang.Object o,
byte[] bytes,
int scale) |
java.lang.Object |
set(java.lang.Object o,
HiveDecimal t) |
java.lang.Object |
set(java.lang.Object o,
HiveDecimalWritable t) |
copyObject, preferWritablegetCategory, getJavaPrimitiveClass, getPrimitiveCategory, getPrimitiveWritableClass, getTypeName, getTypeParams, setTypeParamsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcopyObject, getJavaPrimitiveClass, getPrimitiveCategory, getPrimitiveWritableClass, getTypeParams, preferWritable, setTypeParamsgetCategory, getTypeNamepublic HiveDecimalWritable getPrimitiveWritableObject(java.lang.Object o)
PrimitiveObjectInspectorgetPrimitiveWritableObject in interface HiveDecimalObjectInspectorgetPrimitiveWritableObject in interface PrimitiveObjectInspectorpublic HiveDecimal getPrimitiveJavaObject(java.lang.Object o)
PrimitiveObjectInspectorgetPrimitiveJavaObject in interface HiveDecimalObjectInspectorgetPrimitiveJavaObject in interface PrimitiveObjectInspectorgetPrimitiveJavaObject in class AbstractPrimitiveJavaObjectInspectorpublic java.lang.Object set(java.lang.Object o,
byte[] bytes,
int scale)
set in interface SettableHiveDecimalObjectInspectorpublic java.lang.Object set(java.lang.Object o,
HiveDecimal t)
set in interface SettableHiveDecimalObjectInspectorpublic java.lang.Object set(java.lang.Object o,
HiveDecimalWritable t)
set in interface SettableHiveDecimalObjectInspectorpublic java.lang.Object create(byte[] bytes,
int scale)
create in interface SettableHiveDecimalObjectInspectorpublic java.lang.Object create(HiveDecimal t)
create in interface SettableHiveDecimalObjectInspectorCopyright © 2012 The Apache Software Foundation