Last active
October 9, 2019 13:14
-
-
Save sanderploegsma/f9b9f7c6d79b2a83e508d94005a82af3 to your computer and use it in GitHub Desktop.
Apache Beam + Kotlin examples
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 BeamExamples { | |
public PCollection<Person> filterByAge(PCollection<Person> input, int age) { | |
return input.apply("Filter by age", Filter.by(p -> p.getAge() >= age)); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment