public class TableStoreDecimalObjectInspector
extends org.apache.hadoop.hive.serde2.objectinspector.primitive.AbstractPrimitiveJavaObjectInspector
implements org.apache.hadoop.hive.serde2.objectinspector.primitive.HiveDecimalObjectInspector
AbstractPrimitiveJavaObjectInspector
for DECIMAL type.Constructor and Description |
---|
TableStoreDecimalObjectInspector(int precision,
int scale) |
Modifier and Type | Method and Description |
---|---|
Object |
copyObject(Object o) |
org.apache.hadoop.hive.common.type.HiveDecimal |
getPrimitiveJavaObject(Object o) |
org.apache.hadoop.hive.serde2.io.HiveDecimalWritable |
getPrimitiveWritableObject(Object o) |
preferWritable
getCategory, getJavaPrimitiveClass, getPrimitiveCategory, getPrimitiveWritableClass, getTypeInfo, getTypeName, precision, scale
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public TableStoreDecimalObjectInspector(int precision, int scale)
public org.apache.hadoop.hive.common.type.HiveDecimal getPrimitiveJavaObject(Object o)
getPrimitiveJavaObject
in interface org.apache.hadoop.hive.serde2.objectinspector.primitive.HiveDecimalObjectInspector
getPrimitiveJavaObject
in interface org.apache.hadoop.hive.serde2.objectinspector.PrimitiveObjectInspector
getPrimitiveJavaObject
in class org.apache.hadoop.hive.serde2.objectinspector.primitive.AbstractPrimitiveJavaObjectInspector
public org.apache.hadoop.hive.serde2.io.HiveDecimalWritable getPrimitiveWritableObject(Object o)
getPrimitiveWritableObject
in interface org.apache.hadoop.hive.serde2.objectinspector.primitive.HiveDecimalObjectInspector
getPrimitiveWritableObject
in interface org.apache.hadoop.hive.serde2.objectinspector.PrimitiveObjectInspector
Copyright © 2019–2023 The Apache Software Foundation. All rights reserved.