org.apache.avro.reflect
Annotation Type Nullable


@Retention(value=RUNTIME)
@Target(value={PARAMETER,METHOD,FIELD})
@Documented
public @interface Nullable

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).



Copyright © 2011 The Apache Software Foundation. All Rights Reserved.