spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From SK <skrishna...@gmail.com>
Subject Getting the value from DStream[Int]
Date Wed, 15 Oct 2014 23:49:11 GMT
Hi,

As a result of a reduction operation, the resultant value "score" is a
DStream[Int] . How can I get the simple Int value?
I tried score[0], and score._1, but neither worked and can't  find a
getValue() in the DStream API. 

thanks
 



--
View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/Getting-the-value-from-DStream-Int-tp16525.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@spark.apache.org
For additional commands, e-mail: user-help@spark.apache.org


Mime
View raw message