public class ProtobufBytesWritableSerDe extends ProtobufSerDe
ProtobufSerDeprotoMessageClassconfiguration, log, partitionProperties, properties, tableProperties| Constructor and Description |
|---|
ProtobufBytesWritableSerDe() |
| Modifier and Type | Method and Description |
|---|---|
Class<? extends org.apache.hadoop.io.Writable> |
getSerializedClass() |
void |
initialize(org.apache.hadoop.conf.Configuration configuration,
Properties tableProperties,
Properties partitionProperties) |
protected com.google.protobuf.Message |
toMessage(org.apache.hadoop.io.Writable writable)
Convert the given writable to a message.
|
deserialize, getObjectInspector, serializegetColumnComments, getColumnNames, getColumnTypes, getConfiguration, getPartitionColumnComments, getPartitionColumnNames, getPartitionColumnTypes, getSerDeStats, 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 ProtobufSerDeSerDeExceptionprotected com.google.protobuf.Message toMessage(org.apache.hadoop.io.Writable writable)
throws SerDeException
ProtobufSerDetoMessage in class ProtobufSerDewritable - The writable object containing the message.SerDeExceptionpublic Class<? extends org.apache.hadoop.io.Writable> getSerializedClass()
getSerializedClass in interface SerializergetSerializedClass in class AbstractSerDeCopyright © 2022 The Apache Software Foundation. All rights reserved.