Class AvroRowDataSerializationSchema

    • Constructor Detail

      • AvroRowDataSerializationSchema

        public AvroRowDataSerializationSchema​(RowType rowType)
        Creates an Avro serialization schema with the given record row type.
      • AvroRowDataSerializationSchema

        public AvroRowDataSerializationSchema​(RowType rowType,
                                              AvroFormatOptions.AvroEncoding encoding)
        Creates an Avro serialization schema with the given record row type.
        Parameters:
        encoding - The serialization approach used to serialize the data.
      • AvroRowDataSerializationSchema

        public AvroRowDataSerializationSchema​(RowType rowType,
                                              AvroFormatOptions.AvroEncoding encoding,
                                              boolean legacyTimestampMapping)
        Creates an Avro serialization schema with the given record row type and legacy timestamp mapping flag.
        Parameters:
        encoding - The serialization approach used to serialize the data.
        legacyTimestampMapping - Use the legacy timestamp mapping.