avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Clueless Joe (JIRA)" <j...@apache.org>
Subject [jira] [Issue Comment Deleted] (AVRO-1961) [JAVA] Generate getters that return an Optional
Date Mon, 28 Nov 2016 21:57:58 GMT

     [ https://issues.apache.org/jira/browse/AVRO-1961?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Clueless Joe updated AVRO-1961:
    Comment: was deleted

(was: Furthermore, I didn't find any way in the current tests to generate some pojos to make
sure they fit what I expect. How should I do this ?

Anyway, the above patch does the following: the getter is Optional<Foo> getFoo() only
when foo is nullable and gettersReturnOptional is set to true.

What do you think of it ?)

> [JAVA] Generate getters that return an Optional
> -----------------------------------------------
>                 Key: AVRO-1961
>                 URL: https://issues.apache.org/jira/browse/AVRO-1961
>             Project: Avro
>          Issue Type: New Feature
>            Reporter: Niels Basjes
>            Assignee: Niels Basjes
>            Priority: Minor
> A colleague of mine indicated that having getters that return an Optional (java 8 thingy)
would be very useful for him.

This message was sent by Atlassian JIRA

View raw message