[
https://issues.apache.org/jira/browse/AVRO-1274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13647629#comment-13647629
]
Tom White commented on AVRO-1274:
---------------------------------
I'm slightly reluctant to add lots of overloaded methods (as I mentioned
above), since it makes the builder much harder to use in an IDE with
autocompletion. Will the user be able to see the difference between optionalInt
and nullableInt? Or requiredInt and typeInt?
A way to specify properties is missing so we should add that. Let's discuss
this and other changes in new JIRAs.
> Add a schema builder API
> ------------------------
>
> Key: AVRO-1274
> URL: https://issues.apache.org/jira/browse/AVRO-1274
> Project: Avro
> Issue Type: New Feature
> Components: java
> Reporter: Tom White
> Assignee: Tom White
> Fix For: 1.7.5
>
> Attachments: AVRO-1274.patch, AVRO-1274.patch, AVRO-1274.patch,
> AVRO-1274.patch, AVRO-1274.patch, AVRO-1274.patch, AVRO-1274.patch,
> TestDefaults.patch
>
>
> It would be nice to have a fluent API that made it easier to construct record
> schemas.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira