project(3,4,2).types(String.class, Long.class, Integer.class); projDs.writeAsCsv(resultPath);
.aggregate(Aggregations.SUM, 0) .and(Aggregations.MAX, 1) .project(0, 1).types(Integer.class, Long.class); DataSet<Tuple2<Long, Integer>> aggregateDs = ds.groupBy(1) .aggregate(Aggregations.SUM, 0) .project(1, 0).types(Long.class, Integer.class); .aggregate(Aggregations.MIN, 0) .aggregate(Aggregations.MIN, 0) .project(0).types(Integer.class);
.project(0,4).types(Integer.class, Integer.class);
.project(0,4).types(Integer.class, Integer.class);