Package org.apache.flink.formats.csv
Class CsvRowSerializationSchema
- java.lang.Object
-
- org.apache.flink.formats.csv.CsvRowSerializationSchema
-
- All Implemented Interfaces:
Serializable,org.apache.flink.api.common.serialization.SerializationSchema<org.apache.flink.types.Row>
@PublicEvolving @Deprecated public final class CsvRowSerializationSchema extends Object implements org.apache.flink.api.common.serialization.SerializationSchema<org.apache.flink.types.Row>
Deprecated.The format was developed for the Table API users and will not be maintained for DataStream API users anymore. Either use Table API or switch to Data Stream, defining your ownSerializationSchema.Serialization schema that serializes an object of Flink types into a CSV bytes.Serializes the input row into a
ObjectNodeand converts it intobyte[].Result
byte[]messages can be deserialized usingCsvRowDeserializationSchema.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCsvRowSerializationSchema.BuilderDeprecated.A builder for creating aCsvRowSerializationSchema.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanequals(Object o)Deprecated.inthashCode()Deprecated.voidopen(org.apache.flink.api.common.serialization.SerializationSchema.InitializationContext context)Deprecated.byte[]serialize(org.apache.flink.types.Row row)Deprecated.
-
-
-
Method Detail
-
open
public void open(org.apache.flink.api.common.serialization.SerializationSchema.InitializationContext context) throws ExceptionDeprecated.- Specified by:
openin interfaceorg.apache.flink.api.common.serialization.SerializationSchema<org.apache.flink.types.Row>- Throws:
Exception
-
serialize
public byte[] serialize(org.apache.flink.types.Row row)
Deprecated.- Specified by:
serializein interfaceorg.apache.flink.api.common.serialization.SerializationSchema<org.apache.flink.types.Row>
-
-