DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVA
rdd. map with condition
val statuses = tweets.map(status => if (status.isTruncate) None else Some(status.getText)).flatten
PREVIOUS
NEXT
Tagged:
#map
#condition
ADD COMMENT
Topic
COMMENT
Name
1+3 =
Submit