[
https://issues.apache.org/jira/browse/BEAM-1418?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15932805#comment-15932805
]
Eugene Kirpichov commented on BEAM-1418:
----------------------------------------
It'd be great to get rid of the suffix, but then it would clash with
java.lang.Map. It would work for FlatMap though, but then they'd be
inconsistent with each other.
> MapElements and FlatMapElements should comply with PTransform style guide
> -------------------------------------------------------------------------
>
> Key: BEAM-1418
> URL: https://issues.apache.org/jira/browse/BEAM-1418
> Project: Beam
> Issue Type: Bug
> Components: sdk-java-core
> Reporter: Eugene Kirpichov
> Assignee: Davor Bonaci
> Labels: backward-incompatible, starter
> Fix For: First stable release
>
>
> Type structure of these classes can be improved by slightly changing the API:
> FlatMapElements.into(TypeDescriptor).via(as usual).
> Likewise for MapElements. This allows getting rid of the awkward
> MissingOutputTypeDescriptor intermediate class.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)