flink-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aljoscha Krettek <aljos...@apache.org>
Subject Re: Java Maps and Type Information
Date Tue, 01 Mar 2016 15:42:01 GMT
what kind of program are you writing? I just wrote a quick example using the DataStream API
where I’m using Map<String, Tuple2<String, Integer>> as the output type of one
of my MapFunctions.

> On 01 Mar 2016, at 16:33, Simone Robutti <simone.robutti@radicalbit.io> wrote:
> Hello,
> to my knowledge is not possible to use a java.util.Map for example in a FlatMapFunction<java.util.Map,
java.util.Map>. Is that correct? It gives a typer error at runtime and it doesn't work
even with explicit TypeInformation hints.
> Is there any way to make it work?
> Thanks,
> Simone

View raw message