Class MaxwellJsonSerializationSchema
- java.lang.Object
-
- org.apache.flink.formats.json.maxwell.MaxwellJsonSerializationSchema
-
- All Implemented Interfaces:
Serializable,org.apache.flink.api.common.serialization.SerializationSchema<org.apache.flink.table.data.RowData>
public class MaxwellJsonSerializationSchema extends Object implements org.apache.flink.api.common.serialization.SerializationSchema<org.apache.flink.table.data.RowData>
Serialization schema from Flink Table/SQL internal data structureRowDatato maxwell-Json.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MaxwellJsonSerializationSchema(org.apache.flink.table.types.logical.RowType rowType, org.apache.flink.formats.common.TimestampFormat timestampFormat, JsonFormatOptions.MapNullKeyMode mapNullKeyMode, String mapNullKeyLiteral, boolean encodeDecimalAsPlainNumber, boolean ignoreNullFields)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)inthashCode()voidopen(org.apache.flink.api.common.serialization.SerializationSchema.InitializationContext context)byte[]serialize(org.apache.flink.table.data.RowData element)
-
-
-
Constructor Detail
-
MaxwellJsonSerializationSchema
public MaxwellJsonSerializationSchema(org.apache.flink.table.types.logical.RowType rowType, org.apache.flink.formats.common.TimestampFormat timestampFormat, JsonFormatOptions.MapNullKeyMode mapNullKeyMode, String mapNullKeyLiteral, boolean encodeDecimalAsPlainNumber, boolean ignoreNullFields)
-
-
Method Detail
-
open
public void open(org.apache.flink.api.common.serialization.SerializationSchema.InitializationContext context) throws Exception- Specified by:
openin interfaceorg.apache.flink.api.common.serialization.SerializationSchema<org.apache.flink.table.data.RowData>- Throws:
Exception
-
serialize
public byte[] serialize(org.apache.flink.table.data.RowData element)
- Specified by:
serializein interfaceorg.apache.flink.api.common.serialization.SerializationSchema<org.apache.flink.table.data.RowData>
-
-