[java-api][scala-api] convenience methods count/collect to transfer a DataSet to the client
- this implements two convenience methods on DataSet for the Java and Scala API - appropriate tests have been added count(): returns the number of elements in a DataSet collect(): returns a List<T> with the actual elements of a DataSet<T> - both methods use accumulators to get the results back to the client - both methods force an execution of the job to generate the results This closes #210
Showing
想要评论请 注册 或 登录