GitHub user cluelessjoe opened a pull request:
https://github.com/apache/avro/pull/165
Avro 1961: add gettersReturnOptionalOnNullableFields compiler option
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/cluelessjoe/avro AVRO-1961
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/avro/pull/165.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #165
----
commit 2394bcf5f7abfd38239bdafd7f30666cc3bfc32a
Author: Niels Basjes <[email protected]>
Date: 2016-11-22T16:23:18Z
AVRO-1961: Java: Generate getters that return a Java 8 Optional.
commit 99b6adaa4407bdf02c893ab655ae514ccaf57f9b
Author: Niels Basjes <[email protected]>
Date: 2016-11-23T10:27:37Z
AVRO-1961: Upgrade docker to jdk 8
commit 864b10c82927b3dac0a7e3237aac6821a0b808e5
Author: Niels Basjes <[email protected]>
Date: 2016-11-25T09:31:40Z
AVRO-1961: Extra flag to replace the regular getters with getters that
return an Optional
commit 899f2f6b63cdcd717c6cbf2e94e48b09a9a1f9e1
Author: Joseph Pachod <[email protected]>
Date: 2016-11-28T21:49:38Z
add Schema.isNullable()
commit 5422d4176c27651a6b17707ec8f811a77360d2dc
Author: Joseph Pachod <[email protected]>
Date: 2016-11-28T21:50:11Z
add gettersReturnOptionalOnNullableFields compiler option
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---