com.fasterxml.jackson.dataformat.avro

## Annotation Type AvroFixedSize

-     @Retention(value=RUNTIME)
      @Target(value={METHOD,FIELD})
      public @interface AvroFixedSize

  Only used during Avro schema generation; has no effect on data (de)serialization.

  Instructs the `AvroSchemaGenerator` to declare the annotated property as type "fixed" (`Schema.Type.FIXED`).

- - ### Required Element Summary

    Required Elements
    Modifier and Type | Required Element and Description
    --- | ---
    `int` | `size` The fixed size, in bytes, of the value contained in this field
    `String` | `typeName` The name of the type in the generated schema

  - ### Optional Element Summary

    Optional Elements
    Modifier and Type | Optional Element and Description
    --- | ---
    `String` | `typeNamespace` The namespace of the type in the generated schema (optional)

- - ### Element Detail

    - #### typeName

          public abstract String typeName

      The name of the type in the generated schema

    - #### size

          public abstract int size

      The fixed size, in bytes, of the value contained in this field

    - #### typeNamespace

          public abstract String typeNamespace

      The namespace of the type in the generated schema (optional)
      Default:
        ""

Copyright © 2016 FasterXML. All rights reserved.