public class PaimonTimestampObjectInspector extends org.apache.hadoop.hive.serde2.objectinspector.primitive.AbstractPrimitiveJavaObjectInspector implements org.apache.hadoop.hive.serde2.objectinspector.primitive.TimestampObjectInspector, WriteableObjectInspector
AbstractPrimitiveJavaObjectInspector
for TIMESTAMP type. The precision is maintained.Constructor and Description |
---|
PaimonTimestampObjectInspector() |
Modifier and Type | Method and Description |
---|---|
Timestamp |
convert(Object value) |
Object |
copyObject(Object o) |
Timestamp |
getPrimitiveJavaObject(Object o) |
org.apache.hadoop.hive.serde2.io.TimestampWritable |
getPrimitiveWritableObject(Object o) |
preferWritable
getCategory, getJavaPrimitiveClass, getPrimitiveCategory, getPrimitiveWritableClass, getTypeInfo, getTypeName, precision, scale
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public Timestamp getPrimitiveJavaObject(Object o)
getPrimitiveJavaObject
in interface org.apache.hadoop.hive.serde2.objectinspector.primitive.TimestampObjectInspector
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.TimestampWritable getPrimitiveWritableObject(Object o)
getPrimitiveWritableObject
in interface org.apache.hadoop.hive.serde2.objectinspector.primitive.TimestampObjectInspector
getPrimitiveWritableObject
in interface org.apache.hadoop.hive.serde2.objectinspector.PrimitiveObjectInspector
public Object copyObject(Object o)
copyObject
in interface org.apache.hadoop.hive.serde2.objectinspector.PrimitiveObjectInspector
copyObject
in class org.apache.hadoop.hive.serde2.objectinspector.primitive.AbstractPrimitiveJavaObjectInspector
public Timestamp convert(Object value)
convert
in interface WriteableObjectInspector
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.