Convert Datastream to string or store in local variable

Posted by pankhuri on
URL: http://deprecated-apache-flink-user-mailing-list-archive.369.s1.nabble.com/Convert-Datastream-to-string-or-store-in-local-variable-tp6786.html

Hi,

I need to convert DataStream, which is basically single word to string, couldn't find any transformation for that.

Also, is there a way to store the datastream to a local variable in main?

Please help.