flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fabian Hueske (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-7060) Change annotation in TypeInformation subclasses
Date Sat, 01 Jul 2017 07:42:00 GMT

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

Fabian Hueske commented on FLINK-7060:
--------------------------------------

TypeInformation are often used in programs to specify types but their methods are usually
called by Flink and not for user code. 

The class was annotated with Public to indicate users can use this class and that it won't
be removed in future releases. The internals are not protected from future changes. 

> Change annotation in TypeInformation subclasses
> -----------------------------------------------
>
>                 Key: FLINK-7060
>                 URL: https://issues.apache.org/jira/browse/FLINK-7060
>             Project: Flink
>          Issue Type: Improvement
>          Components: Type Serialization System
>            Reporter: Kostas Kloudas
>            Priority: Minor
>
> Currently many subclasses of the {{TypeInformation}} are annotated as {{Public}} but
all their methods are {{PublicEvolving}}. As an example, you can check out the {{GenericTypeInfo}}.

> It would be clearer if the whole class was annotated with {{PublicEvolving}} instead
of {{Public}} and have all the methods without annotations.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message