public class WritableHiveDecimalObjectInspector extends AbstractPrimitiveWritableObjectInspector implements SettableHiveDecimalObjectInspector
PrimitiveObjectInspector.PrimitiveCategoryObjectInspector.CategorytypeParams| Modifier | Constructor and Description |
|---|---|
protected |
WritableHiveDecimalObjectInspector() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
copyObject(java.lang.Object o)
Get a copy of the Object in the same class, so the return value can be
stored independently of the parameter.
|
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) |
preferWritablegetCategory, getJavaPrimitiveClass, getPrimitiveCategory, getPrimitiveWritableClass, getTypeName, getTypeParams, setTypeParamsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetJavaPrimitiveClass, getPrimitiveCategory, getPrimitiveWritableClass, getTypeParams, preferWritable, setTypeParamsgetCategory, getTypeNameprotected WritableHiveDecimalObjectInspector()
public HiveDecimalWritable getPrimitiveWritableObject(java.lang.Object o)
PrimitiveObjectInspectorgetPrimitiveWritableObject in interface HiveDecimalObjectInspectorgetPrimitiveWritableObject in interface PrimitiveObjectInspectorgetPrimitiveWritableObject in class AbstractPrimitiveWritableObjectInspectorpublic HiveDecimal getPrimitiveJavaObject(java.lang.Object o)
PrimitiveObjectInspectorgetPrimitiveJavaObject in interface HiveDecimalObjectInspectorgetPrimitiveJavaObject in interface PrimitiveObjectInspectorpublic java.lang.Object copyObject(java.lang.Object o)
PrimitiveObjectInspectorcopyObject in interface PrimitiveObjectInspectorpublic 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