flink-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Metzger <rmetz...@apache.org>
Subject Re: How to use Tuple in ListValue?
Date Fri, 23 Jan 2015 10:29:56 GMT
Hi,

I think you can just use a java collection for the Tuple2's. (Starting from
Flink 0.8.0)

Robert.

On Fri, Jan 23, 2015 at 11:27 AM, Malte Schwarzer <ms@mieo.de> wrote:

> Hello,
>
> is it possible to use some how Tuple objects (e.g. Tuple2<String,
> Integer>) in a ListValue? Even if Tuple is serializable, it does not
> implement the Value interface. Therefore ListValue<Tuple2> is it working.
>
> Is there any work-around? I want to use something like "Tuple2<String,
> ListValue<Tuple2<String, Integer>>>“ as dataset.
>
> Cheers
> Malte
>

Mime
View raw message