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

Christophe Taton commented on AVRO-1443:
----------------------------------------

I realize I may need to add a method to the builder interface, since the 
build() method may have a different return type:
{code}
  GenericRecord buildGenericRecord();
{code}
Does that seem reasonable?

Also, after checking, you're correct, the inheritDoc directory is useless if 
you're not adding to the inherited documentation - I'll remove these.

> SpecificRecord builders should share more functionality with GenericRecord 
> builders
> -----------------------------------------------------------------------------------
>
>                 Key: AVRO-1443
>                 URL: https://issues.apache.org/jira/browse/AVRO-1443
>             Project: Avro
>          Issue Type: Bug
>          Components: java
>    Affects Versions: 1.7.5, 1.7.6
>            Reporter: Christophe Taton
>            Assignee: Christophe Taton
>             Fix For: 1.8.0
>
>         Attachments: AVRO-1443.20140126-182111-0800.diff, 
> AVRO-1443.20140202-182611-0800.svndiff, AVRO-1443.20140204-124549-0800.diff
>
>
> Ideally, wherever a generic record builder is expected, one should be able to 
> supply a builder for a specific record.
> That could happen by making SpecificRecordBuilderBase (and 
> SpecificErrorBuilderBase?) a subclass of GenericRecordBuilder.
> Since SpecificRecordBase implements GenericRecord, it should be possible with 
> minimal effort.



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

Reply via email to