flink-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hager sallah <loveallah1...@yahoo.com.INVALID>
Subject problem when use this coding please found slove
Date Sun, 19 Apr 2015 13:17:12 GMT
I use linkedlist to pass value in filter function in this coding not resulting from code but
when pass value direct to filter function th result is  (2,Customer#000000002,XSTf4&&NCwDVaWNe6tEgvwfmRchLXak,121.65,AUTOMOBILE)problem
in this line i pass value from linkedlist
 c.getField(4).equals(values.get(0).toString()) && c.getField(2).equals(values.get(1).toString())
new FilterFunction<Customer>() {
 @Override
 public boolean filter(Customer c) { return c.getField(4).equals(values.get(0).toString())
&& c.getField(2).equals(values.get(1).toString()) ; } }); but when write the coding
when pass value Direct result coding = (2,Customer#000000002,XSTf4&&NCwDVaWNe6tEgvwfmRchLXak,121.65,AUTOMOBILE)
when pass value Direct
 new FilterFunction<Customer>() {
 @Override
 public boolean filter(Customer c) { return c.getField(4).equals("AUTOMOBILE") &&
c.getField(2).equals("XSTf4&&NCwDVaWNe6tEgvwfmRchLXak") ; } });   

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message