Last active
January 31, 2018 19:04
-
-
Save sanderploegsma/10e6180c00a189df5f4b4c583c2336e2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class BeamExamples2 { | |
public fun process(input: PCollection<Person>): PCollection<String> { | |
return input.filter("Filter by age") { it.age >= 18 } | |
.map("Map to first name") { it.firstName } | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment