org.apache.avro.reflect
public @Interface Nullable
extends Annotation
- Annotations
- @Retention:RUNTIME
- @Target:PARAMETER, METHOD, FIELD
- @Documented
- Imports
- java.lang.annotation.Documented, .ElementType, .Retention, .RetentionPolicy, .Target
Declares that null is a valid value for a Java type. Causes an Avro union
with null to be used. May be applied to parameters, fields and methods (to
declare the return type).