public class LazyHiveDecimalObjectInspector extends AbstractPrimitiveLazyObjectInspector<HiveDecimalWritable> implements HiveDecimalObjectInspector
PrimitiveObjectInspector.PrimitiveCategory
ObjectInspector.Category
typeInfo
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, preferWritable
getCategory, getJavaPrimitiveClass, getPrimitiveCategory, getPrimitiveWritableClass, getTypeInfo, getTypeName, precision, scale
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPrimitiveWritableObject
getJavaPrimitiveClass, getPrimitiveCategory, getPrimitiveWritableClass, getTypeInfo, precision, preferWritable, scale
getCategory, getTypeName
protected LazyHiveDecimalObjectInspector(DecimalTypeInfo typeInfo)
public Object copyObject(Object o)
PrimitiveObjectInspector
copyObject
in interface PrimitiveObjectInspector
public HiveDecimal getPrimitiveJavaObject(Object o)
PrimitiveObjectInspector
getPrimitiveJavaObject
in interface HiveDecimalObjectInspector
getPrimitiveJavaObject
in interface PrimitiveObjectInspector
Copyright © 2017 The Apache Software Foundation. All rights reserved.