public class PaimonSerDe
extends org.apache.hadoop.hive.serde2.AbstractSerDe
AbstractSerDe
for paimon. It transforms map-reduce values to Hive objects.
Currently this class only supports deserialization.
Constructor and Description |
---|
PaimonSerDe() |
Modifier and Type | Method and Description |
---|---|
Object |
deserialize(org.apache.hadoop.io.Writable writable) |
org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector |
getObjectInspector() |
org.apache.hadoop.hive.serde2.SerDeStats |
getSerDeStats() |
Class<? extends org.apache.hadoop.io.Writable> |
getSerializedClass() |
void |
initialize(org.apache.hadoop.conf.Configuration configuration,
Properties properties) |
org.apache.hadoop.io.Writable |
serialize(Object o,
org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector objectInspector) |
public void initialize(@Nullable org.apache.hadoop.conf.Configuration configuration, Properties properties) throws org.apache.hadoop.hive.serde2.SerDeException
initialize
in interface org.apache.hadoop.hive.serde2.Deserializer
initialize
in interface org.apache.hadoop.hive.serde2.Serializer
initialize
in class org.apache.hadoop.hive.serde2.AbstractSerDe
org.apache.hadoop.hive.serde2.SerDeException
public Class<? extends org.apache.hadoop.io.Writable> getSerializedClass()
getSerializedClass
in interface org.apache.hadoop.hive.serde2.Serializer
getSerializedClass
in class org.apache.hadoop.hive.serde2.AbstractSerDe
public org.apache.hadoop.io.Writable serialize(Object o, org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector objectInspector) throws org.apache.hadoop.hive.serde2.SerDeException
serialize
in interface org.apache.hadoop.hive.serde2.Serializer
serialize
in class org.apache.hadoop.hive.serde2.AbstractSerDe
org.apache.hadoop.hive.serde2.SerDeException
public org.apache.hadoop.hive.serde2.SerDeStats getSerDeStats()
getSerDeStats
in interface org.apache.hadoop.hive.serde2.Deserializer
getSerDeStats
in interface org.apache.hadoop.hive.serde2.Serializer
getSerDeStats
in class org.apache.hadoop.hive.serde2.AbstractSerDe
public Object deserialize(org.apache.hadoop.io.Writable writable) throws org.apache.hadoop.hive.serde2.SerDeException
deserialize
in interface org.apache.hadoop.hive.serde2.Deserializer
deserialize
in class org.apache.hadoop.hive.serde2.AbstractSerDe
org.apache.hadoop.hive.serde2.SerDeException
public org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector getObjectInspector() throws org.apache.hadoop.hive.serde2.SerDeException
getObjectInspector
in interface org.apache.hadoop.hive.serde2.Deserializer
getObjectInspector
in class org.apache.hadoop.hive.serde2.AbstractSerDe
org.apache.hadoop.hive.serde2.SerDeException
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.