public class KafkaSerDe extends AbstractSerDe
BytesWritable.
I the user which to implement their own serde all they need is to implement a serde that extend
AbstractSerDe and accept BytesWritable as valueconfiguration, log, partitionProperties, properties, tableProperties| Constructor and Description |
|---|
KafkaSerDe() |
| Modifier and Type | Method and Description |
|---|---|
Object |
deserialize(org.apache.hadoop.io.Writable blob) |
ObjectInspector |
getObjectInspector() |
SerDeStats |
getSerDeStats() |
Class<? extends org.apache.hadoop.io.Writable> |
getSerializedClass() |
void |
initialize(org.apache.hadoop.conf.Configuration configuration,
Properties tableProperties,
Properties partitionProperties) |
org.apache.hadoop.io.Writable |
serialize(Object obj,
ObjectInspector objInspector) |
getColumnComments, getColumnNames, getColumnTypes, getConfiguration, getPartitionColumnComments, getPartitionColumnNames, getPartitionColumnTypes, parseColumnComments, parseColumnNames, parseColumnNames, parseColumnTypes, parseColumnTypes, shouldStoreFieldsInMetastore, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waithandleJobLevelConfigurationpublic void initialize(org.apache.hadoop.conf.Configuration configuration,
Properties tableProperties,
Properties partitionProperties)
throws SerDeException
initialize in class AbstractSerDeSerDeExceptionpublic Class<? extends org.apache.hadoop.io.Writable> getSerializedClass()
getSerializedClass in interface SerializergetSerializedClass in class AbstractSerDepublic org.apache.hadoop.io.Writable serialize(Object obj, ObjectInspector objInspector) throws SerDeException
serialize in interface Serializerserialize in class AbstractSerDeSerDeExceptionpublic SerDeStats getSerDeStats()
getSerDeStats in interface SerDegetSerDeStats in class AbstractSerDepublic Object deserialize(org.apache.hadoop.io.Writable blob) throws SerDeException
deserialize in interface Deserializerdeserialize in class AbstractSerDeSerDeExceptionpublic ObjectInspector getObjectInspector()
Copyright © 2022 The Apache Software Foundation. All rights reserved.