public class PaimonDecimalObjectInspector extends org.apache.hadoop.hive.serde2.objectinspector.primitive.AbstractPrimitiveJavaObjectInspector implements org.apache.hadoop.hive.serde2.objectinspector.primitive.HiveDecimalObjectInspector, WriteableObjectInspector
AbstractPrimitiveJavaObjectInspector for DECIMAL type.| Constructor and Description |
|---|
PaimonDecimalObjectInspector(int precision,
int scale) |
| Modifier and Type | Method and Description |
|---|---|
Decimal |
convert(Object o) |
Object |
copyObject(Object o) |
org.apache.hadoop.hive.common.type.HiveDecimal |
getPrimitiveJavaObject(Object o) |
org.apache.hadoop.hive.serde2.io.HiveDecimalWritable |
getPrimitiveWritableObject(Object o) |
preferWritablegetCategory, getJavaPrimitiveClass, getPrimitiveCategory, getPrimitiveWritableClass, getTypeInfo, getTypeName, precision, scaleclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic PaimonDecimalObjectInspector(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.HiveDecimalObjectInspectorgetPrimitiveJavaObject in interface org.apache.hadoop.hive.serde2.objectinspector.PrimitiveObjectInspectorgetPrimitiveJavaObject in class org.apache.hadoop.hive.serde2.objectinspector.primitive.AbstractPrimitiveJavaObjectInspectorpublic org.apache.hadoop.hive.serde2.io.HiveDecimalWritable getPrimitiveWritableObject(Object o)
getPrimitiveWritableObject in interface org.apache.hadoop.hive.serde2.objectinspector.primitive.HiveDecimalObjectInspectorgetPrimitiveWritableObject in interface org.apache.hadoop.hive.serde2.objectinspector.PrimitiveObjectInspectorpublic Object copyObject(Object o)
copyObject in interface org.apache.hadoop.hive.serde2.objectinspector.PrimitiveObjectInspectorcopyObject in class org.apache.hadoop.hive.serde2.objectinspector.primitive.AbstractPrimitiveJavaObjectInspectorpublic Decimal convert(Object o)
convert in interface WriteableObjectInspectorCopyright © 2023–2024 The Apache Software Foundation. All rights reserved.