flink-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hagersaleh <loveallah1...@yahoo.com>
Subject I want store return value from filter function in linked list
Date Fri, 12 Jun 2015 15:04:30 GMT
I want store return value from filter function in linked list  the value
print in the enter but in external function when print linked list not have
any value 

final LinkedList<String> valuesfromsubquery1 =new  LinkedList();     
  customers.writeAsFormattedText("/home/hadoop/Desktop/Dataset/out1.text",
WriteMode.OVERWRITE,
                     
    new TextFormatter<Customer2>() {
      
        public String format (Customer2  value) {
           String s=value.f1.toString();
       
           valuesfromsubquery1.add(s);
            return value.getField(1).toString();
        }
    }).setParallelism(1);




--
View this message in context: http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/I-want-store-return-value-from-filter-function-in-linked-list-tp1616.html
Sent from the Apache Flink User Mailing List archive. mailing list archive at Nabble.com.

Mime
View raw message