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

Doug Cutting commented on AVRO-1413:
------------------------------------

A static method isn't inherited, so it would not help to have this in 
SpecificRecord or SpecificRecordBase.

The non-static method that is inherited is getSchema().

> Provide static abstract getClassSchema on SpecificRecordBase (as per 
> AVRO-1223)
> -------------------------------------------------------------------------------
>
>                 Key: AVRO-1413
>                 URL: https://issues.apache.org/jira/browse/AVRO-1413
>             Project: Avro
>          Issue Type: Improvement
>          Components: java
>    Affects Versions: 1.7.5
>            Reporter: Tristan Stevens
>            Priority: Trivial
>   Original Estimate: 10m
>  Remaining Estimate: 10m
>
> AVRO-1223 added support for static getClassSchema() to generated Record 
> classes, this should be added to the abstract superclass SpecificRecordBase 
> and also to the interface SpecificRecord in order to enable this method to be 
> used on any generated Records.



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)

Reply via email to