public class ProtobufMessageSerDe extends ProtobufSerDe
ProtobufSerDe
protoMessageClass
configuration, log, partitionProperties, properties, tableProperties
Constructor and Description |
---|
ProtobufMessageSerDe() |
Modifier and Type | Method and Description |
---|---|
Class<? extends org.apache.hadoop.io.Writable> |
getSerializedClass()
Returns the Writable class that would be returned by the serialize method.
|
protected com.google.protobuf.Message |
toMessage(org.apache.hadoop.io.Writable writable)
Convert the given writable to a message.
|
deserialize, getObjectInspector, initialize, serialize
getColumnComments, getColumnNames, getColumnTypes, getConfiguration, getPartitionColumnComments, getPartitionColumnNames, getPartitionColumnTypes, getSerDeStats, parseColumnComments, parseColumnNames, parseColumnNames, parseColumnTypes, parseColumnTypes, shouldStoreFieldsInMetastore, toString
protected com.google.protobuf.Message toMessage(org.apache.hadoop.io.Writable writable)
ProtobufSerDe
toMessage
in class ProtobufSerDe
writable
- The writable object containing the message.public Class<? extends org.apache.hadoop.io.Writable> getSerializedClass()
AbstractSerDe
getSerializedClass
in interface Serializer
getSerializedClass
in class AbstractSerDe
Copyright © 2022 The Apache Software Foundation. All rights reserved.