Class MapAsJsonAsStringEncoding

java.lang.Object
org.apache.avro.reflect.CustomEncoding<Map<String,Serializable>>
org.nuxeo.ecm.core.bulk.message.MapAsJsonAsStringEncoding

public class MapAsJsonAsStringEncoding extends org.apache.avro.reflect.CustomEncoding<Map<String,Serializable>>
This CustomEncoding encodes/decodes Map<String, Serializable> to a JSON String using Jackson before encoding it in Avro format.
Since:
10.3
  • Field Details

    • NULL_SCHEMA_INDEX

      protected static final int NULL_SCHEMA_INDEX
      See Also:
    • STRING_SCHEMA_INDEX

      protected static final int STRING_SCHEMA_INDEX
      See Also:
    • MAPPER

      protected static final com.fasterxml.jackson.databind.ObjectMapper MAPPER
  • Constructor Details

    • MapAsJsonAsStringEncoding

      public MapAsJsonAsStringEncoding()
  • Method Details