Skip to content
This repository has been archived by the owner on Jan 11, 2019. It is now read-only.

Commit

Permalink
AVRO-2115: Added documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
Miguel Martinez-Espronceda committed Dec 15, 2017
1 parent 164ee58 commit 53a9af7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@
* May be used for base classes or interfaces whose instantiable subclasses can
* be listed in the parameters to the @Union annotation. If applied to method
* parameters this determines the reflected message parameter type. If applied
* to a method, this determines its return type.
* to a method, this determines its return type. A null schema may be specified
* with {@link java.lang.Void}.
*/
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE, ElementType.FIELD, ElementType.PARAMETER, ElementType.METHOD})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
that are not static or transient are used. Fields are not permitted
to be null unless annotated by {@link
org.apache.avro.reflect.Nullable Nullable} or a {@link
org.apache.avro.reflect.Union Union} containing null.</li>
org.apache.avro.reflect.Union Union} containing {@link java.lang.Void}.</li>

<li><b>Arrays</b> are mapped to Avro array schemas. If an array's
elements are a union defined by the {@link
Expand Down

0 comments on commit 53a9af7

Please sign in to comment.