Re: looking for an easy way to count number of rows in JavaDStream

2016-01-28 Thread Andy Davidson
; Subject: looking for an easy way to count number of rows in JavaDStream > There must be any easy way to count the number of rows in JavaDStream. > > > JavaDStream words; > > JavaDStream hardToUse = words(); > > > > > > JavaDStream does not seem to have a co

looking for an easy way to count number of rows in JavaDStream

2016-01-28 Thread Andy Davidson
There must be any easy way to count the number of rows in JavaDStream. JavaDStream words; JavaDStream hardToUse = words(); JavaDStream does not seem to have a collect(). The following works but is very clumsy Any suggestions would be greatly appreciated Andy public class JavaDSt