[ 
https://issues.apache.org/jira/browse/AVRO-1421?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13865728#comment-13865728
 ] 

Hudson commented on AVRO-1421:
------------------------------

SUCCESS: Integrated in AvroJava #419 (See 
[https://builds.apache.org/job/AvroJava/419/])
AVRO-1421. Java: Add an @AvroSchema annotation to reflect. (cutting: rev 
1556592)
* /avro/trunk/CHANGES.txt
* 
/avro/trunk/lang/java/avro/src/main/java/org/apache/avro/reflect/AvroSchema.java
* 
/avro/trunk/lang/java/avro/src/main/java/org/apache/avro/reflect/ReflectData.java
* 
/avro/trunk/lang/java/avro/src/test/java/org/apache/avro/reflect/TestReflect.java


> [ReflectData] Provide a way for parameterised types to be nullable
> ------------------------------------------------------------------
>
>                 Key: AVRO-1421
>                 URL: https://issues.apache.org/jira/browse/AVRO-1421
>             Project: Avro
>          Issue Type: Improvement
>          Components: java
>    Affects Versions: 1.7.0
>            Reporter: Harsh J
>            Assignee: Doug Cutting
>            Priority: Minor
>             Fix For: 1.7.6
>
>         Attachments: AVRO-1421.patch, AVRO-1421.patch
>
>
> Although possible with SpecificData (schema generated classes), the 
> ReflectData currently lacks a way to have a declaration such as 
> {code}java.util.List<String> myList;{code} to be able to generate a nullable 
> schema {code}{ "type": "array", "items": ["null", "string"] }{code} instead 
> of the current {code}{ "type": "array", "items": "string" }{code}
> There are {{@Union}} and {{@Nullable}} annotations available, but they cannot 
> be applied to the above parameterised Collection declaration.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to