Class PbEncodingFormat
- java.lang.Object
-
- org.apache.flink.formats.protobuf.PbEncodingFormat
-
- All Implemented Interfaces:
EncodingFormat<SerializationSchema<RowData>>
,Format
public class PbEncodingFormat extends Object implements EncodingFormat<SerializationSchema<RowData>>
EncodingFormat
for protobuf encoding.
-
-
Constructor Summary
Constructors Constructor Description PbEncodingFormat(PbFormatConfig pbFormatConfig)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.flink.table.connector.format.EncodingFormat
applyWritableMetadata, listWritableMetadata
-
-
-
-
Constructor Detail
-
PbEncodingFormat
public PbEncodingFormat(PbFormatConfig pbFormatConfig)
-
-
Method Detail
-
getChangelogMode
public ChangelogMode getChangelogMode()
Description copied from interface:Format
Returns the set of changes that a connector (and transitively the planner) can expect during runtime.- Specified by:
getChangelogMode
in interfaceFormat
-
createRuntimeEncoder
public SerializationSchema<RowData> createRuntimeEncoder(DynamicTableSink.Context context, DataType consumedDataType)
Description copied from interface:EncodingFormat
Creates runtime encoder implementation that is configured to consume data of the given data type.- Specified by:
createRuntimeEncoder
in interfaceEncodingFormat<SerializationSchema<RowData>>
-
-