Created
October 21, 2019 14:57
-
-
Save dbergqvist/4d1d4c3bd5141067e1a2e31c65a93377 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
private static final String COLUMN_FAMILY_NAME_STRING = "cf"; | |
private static final String LAT_COLUMN_NAME_STRING = "VehicleLocation.Latitude"; | |
private static final String LONG_COLUMN_NAME_STRING = "VehicleLocation.Longitude"; | |
String rowKey = "MTA/M86-SBS/1496275200000/NYCT_5824"; | |
Row row = dataClient.readRow(TABLE_ID, rowKey, | |
FILTERS.interleave() | |
.filter(FILTERS.qualifier().exactMatch(LAT_COLUMN_NAME_STRING)) | |
.filter(FILTERS.qualifier().exactMatch(LONG_COLUMN_NAME_STRING))); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment