public class FileSinkJsonRowEncoder extends Object implements org.apache.flink.api.common.serialization.Encoder<org.apache.flink.types.Row>
FileSink Encoder
that encodes event Rows to JSON strings.
This class is designed to produce events compliant with the WMF Event Platform.| Constructor and Description |
|---|
FileSinkJsonRowEncoder(org.apache.flink.api.java.typeutils.RowTypeInfo typeInformation,
org.apache.flink.api.common.serialization.SerializationSchema<org.apache.flink.types.Row> serializationSchema,
SerializableClock ingestionTimeClock) |
| Modifier and Type | Method and Description |
|---|---|
void |
encode(org.apache.flink.types.Row element,
OutputStream stream) |
public FileSinkJsonRowEncoder(org.apache.flink.api.java.typeutils.RowTypeInfo typeInformation,
org.apache.flink.api.common.serialization.SerializationSchema<org.apache.flink.types.Row> serializationSchema,
SerializableClock ingestionTimeClock)
public void encode(org.apache.flink.types.Row element,
OutputStream stream)
throws IOException
encode in interface org.apache.flink.api.common.serialization.Encoder<org.apache.flink.types.Row>IOExceptionCopyright © 2025. All rights reserved.