[
https://issues.apache.org/jira/browse/FLINK-2231?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14596071#comment-14596071
]
Stephan Ewen commented on FLINK-2231:
-------------------------------------
Exactly, the createTypeInformation macro needs to be extended.
What Java calls the enum's ordinal (an int number that identifies the value) is
called the value's "initial" in Scala (I think, if I read the code correctly)
> Create a Serializer for Scala Enumerations
> ------------------------------------------
>
> Key: FLINK-2231
> URL: https://issues.apache.org/jira/browse/FLINK-2231
> Project: Flink
> Issue Type: Improvement
> Components: Scala API
> Reporter: Stephan Ewen
> Assignee: Alexander Alexandrov
>
> Scala Enumerations are currently serialized with Kryo, but should be
> efficiently serialized by just writing the {{initial}}.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)