public class LazyHiveDecimalObjectInspector extends AbstractPrimitiveLazyObjectInspector<HiveDecimalWritable> implements HiveDecimalObjectInspector
PrimitiveObjectInspector.PrimitiveCategoryObjectInspector.CategorytypeInfo| Modifier | Constructor and Description |
|---|---|
protected |
LazyHiveDecimalObjectInspector(DecimalTypeInfo typeInfo) |
| Modifier and Type | Method and Description |
|---|---|
Object |
copyObject(Object o)
Get a copy of the Object in the same class, so the return value can be
stored independently of the parameter.
|
HiveDecimal |
getPrimitiveJavaObject(Object o)
Get the Java Primitive object.
|
getPrimitiveWritableObject, preferWritablegetCategory, getJavaPrimitiveClass, getPrimitiveCategory, getPrimitiveWritableClass, getTypeInfo, getTypeName, precision, scaleclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPrimitiveWritableObjectgetJavaPrimitiveClass, getPrimitiveCategory, getPrimitiveWritableClass, getTypeInfo, precision, preferWritable, scalegetCategory, getTypeNameprotected LazyHiveDecimalObjectInspector(DecimalTypeInfo typeInfo)
public Object copyObject(Object o)
PrimitiveObjectInspectorcopyObject in interface PrimitiveObjectInspectorpublic HiveDecimal getPrimitiveJavaObject(Object o)
PrimitiveObjectInspectorgetPrimitiveJavaObject in interface HiveDecimalObjectInspectorgetPrimitiveJavaObject in interface PrimitiveObjectInspectorCopyright © 2017 The Apache Software Foundation. All rights reserved.