@Retention(value=RUNTIME) @Target(value={METHOD,FIELD}) public @interface AvroFixedSize
Instructs the AvroSchemaGenerator
to declare the annotated property as type "fixed" (Schema.Type.FIXED).
| 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
|
| Modifier and Type | Optional Element and Description |
|---|---|
String |
typeNamespace
The namespace of the type in the generated schema (optional)
|
Copyright © 2019 FasterXML. All rights reserved.