Maulik Gandhi created AVRO-1634:
-----------------------------------

             Summary: Clear all fields / Reset all fields to default value on 
Record template
                 Key: AVRO-1634
                 URL: https://issues.apache.org/jira/browse/AVRO-1634
             Project: Avro
          Issue Type: New Feature
          Components: java
            Reporter: Maulik Gandhi
            Priority: Minor


As a developer, 
it would be nice to have a feature, API which will expose the functionality of 
clearing all fields on Record or set them to default value if the attribute has 
default value, so that the consumers do not have to write custom methods for 
the use case described before.

Also when a Builder pattern is used for creating Objects from Record, builders 
can be re-used, thus reducing heap memory usage.





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to