Hi all, How do I convert a DStream to a string ?
For instance, I want to be able to:
val myword = words.filter(word => word.startsWith("blah"))
And use "myword" in other places, like tacking it onto (key, value) pairs,
like so:
val pairs = words.map(word => (myword+"_"+word, 1))
Thanks for any help,
Harold
