[
https://issues.apache.org/jira/browse/FLINK-9264?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Flink Jira Bot closed FLINK-9264.
---------------------------------
Resolution: Auto Closed
This issue was labeled "stale-minor" 7 ago and has not received any updates so
I have gone ahead and closed it. If you are still affected by this or would
like to raise the priority of this ticket please re-open, removing the label
"auto-closed" and raise the ticket priority accordingly.
> Add method Writer[A]#contramap[B](f: B => A): Writer[B]
> -------------------------------------------------------
>
> Key: FLINK-9264
> URL: https://issues.apache.org/jira/browse/FLINK-9264
> Project: Flink
> Issue Type: Improvement
> Components: FileSystems
> Affects Versions: 1.5.0
> Reporter: Josh Lemer
> Assignee: vinoyang
> Priority: Minor
> Labels: auto-closed, stale-assigned
>
> Similar to https://issues.apache.org/jira/browse/FLINK-9221, it would be very
> handy to have a `Add method Writer[A]#contramap[B](f: B => A): Writer[B]`
> method, which would allow reuse of existing writers, with a "formatting"
> function placed infront of it. For example:
> val stringWriter = new StringWriter[String]()
> val intWriter: Writer[Int] = stringWriter.contraMap[Int](_.toString)
--
This message was sent by Atlassian Jira
(v8.3.4#803005)