@Retention(value=RUNTIME) @Target(value={TYPE,PARAMETER,METHOD,FIELD}) @Documented public @interface AvroSchema
This is useful for slight alterations to the schema that would be
automatically inferred. For example, a
List<Integer>
whose elements may be null might use the
annotation
@AvroSchema("{\"type\":\"array\",\"items\":[\"null\",\"int\"]}")since the
Nullable
annotation could not be used here.public abstract String value
Copyright © 2009–2016 The Apache Software Foundation. All rights reserved.