public class PbDecodingFormat extends Object implements DecodingFormat<DeserializationSchema<RowData>>
DecodingFormat
for protobuf decoding.Constructor and Description |
---|
PbDecodingFormat(PbFormatConfig formatConfig) |
Modifier and Type | Method and Description |
---|---|
DeserializationSchema<RowData> |
createRuntimeDecoder(DynamicTableSource.Context context,
DataType producedDataType)
Creates runtime decoder implementation that is configured to produce 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
applyReadableMetadata, listReadableMetadata
public PbDecodingFormat(PbFormatConfig formatConfig)
public DeserializationSchema<RowData> createRuntimeDecoder(DynamicTableSource.Context context, DataType producedDataType)
DecodingFormat
createRuntimeDecoder
in interface DecodingFormat<DeserializationSchema<RowData>>
context
- the context provides several utilities required to instantiate the runtime
decoder implementation of the formatproducedDataType
- For more details check the documentation of DecodingFormat
.public ChangelogMode getChangelogMode()
Format
getChangelogMode
in interface Format
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.