Created
October 21, 2019 15:11
-
-
Save dbergqvist/66c35e58f2461eff513d98d85bac7009 to your computer and use it in GitHub Desktop.
This file contains 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
Query query = Query.create(TABLE_ID); | |
for (String busLine : MANHATTAN_BUS_LINES) { | |
query.range("MTA/" + busLine + "/1496275200000", "MTA/" + busLine + "/1496275200001"); | |
} | |
query.filter(FILTERS | |
.interleave() | |
.filter(FILTERS.qualifier().exactMatch(LAT_COLUMN_NAME_STRING)) | |
.filter(FILTERS.qualifier().exactMatch(LONG_COLUMN_NAME_STRING))); | |
ServerStream<Row> rows = dataClient.readRows(query); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment