Class AvroMapper<D,M>

java.lang.Object
org.nuxeo.runtime.avro.AvroMapper<D,M>
Direct Known Subclasses:
BlobPropertyMapper, DocumentModelMapper, PropertyMapper

public abstract class AvroMapper<D,M> extends Object
The base class for any AvroMapper.
Since:
10.2
  • Field Details

  • Constructor Details

    • AvroMapper

      protected AvroMapper(AvroService service)
  • Method Details

    • fromAvro

      public abstract Object fromAvro(org.apache.avro.Schema schema, M input)
    • toAvro

      public abstract M toAvro(org.apache.avro.Schema schema, D input)
    • getLogicalType

      protected String getLogicalType(org.apache.avro.Schema schema)