public class PbEncodingFormat extends Object implements EncodingFormat<SerializationSchema<RowData>>
EncodingFormat
for protobuf encoding.Constructor and Description |
---|
PbEncodingFormat(PbFormatConfig pbFormatConfig) |
Modifier and Type | Method and Description |
---|---|
SerializationSchema<RowData> |
createRuntimeEncoder(DynamicTableSink.Context context,
DataType consumedDataType)
Creates runtime encoder implementation that is configured to consume data of the given data
type.
|
ChangelogMode |
getChangelogMode()
Returns the set of changes that a connector (and transitively the planner) can expect during
runtime.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
applyWritableMetadata, listWritableMetadata
public PbEncodingFormat(PbFormatConfig pbFormatConfig)
public ChangelogMode getChangelogMode()
Format
getChangelogMode
in interface Format
public SerializationSchema<RowData> createRuntimeEncoder(DynamicTableSink.Context context, DataType consumedDataType)
EncodingFormat
createRuntimeEncoder
in interface EncodingFormat<SerializationSchema<RowData>>
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.