Created
August 3, 2015 04:44
-
-
Save codebje/d9c852aff15a42f6017c 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
Set<String> results = jdbcStream.streamQuery("SELECT * FROM test_data", stream -> stream | |
.map(row -> row.getString("entry")) | |
.filter(s -> Character.isAlphabetic(s.charAt(0))) | |
.collect(Collectors.toSet())); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment