Re: want write Specified field from dataset to output file

2015-05-12 Thread hagersaleh
I solve error when use import org.apache.flink.api.java.io.TextOutputFormat.TextFormatter; very thanks -- View this message in context: http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/want-write-Specified-field-from-dataset-to-output-file-tp1223p1226.html Sent from the

Re: want write Specified field from dataset to output file

2015-05-12 Thread hagersaleh
-Xlint:unchecked for details. 1 error1 warning -- View this message in context: http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/want-write-Specified-field-from-dataset-to-output-file-tp1223p1225.html Sent from the Apache Flink User Mailing List archive. mailing list archive at

Re: want write Specified field from dataset to output file

2015-05-12 Thread Robert Metzger
;, new TextFormatter>() { public String format (Customer3 value) { return value.getField(2).toString(); } }); On Tue, May 12, 2015 at 9:20 AM, hagersaleh wrote: > I want write Specified field from dataset to output file > I want write field 2 to ou

want write Specified field from dataset to output file

2015-05-12 Thread hagersaleh
I want write Specified field from dataset to output file I want write field 2 to output file example DataSet customers=env.readCsvFile("/home/hadoop/Desktop/Dataset/customer.csv") .fieldDelimiter('|') .includeFields(11000