Skip to content

Instantly share code, notes, and snippets.

@dbergqvist
Created October 21, 2019 14:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dbergqvist/0246f76245ad5c8d2099b8574598d50c to your computer and use it in GitHub Desktop.
Save dbergqvist/0246f76245ad5c8d2099b8574598d50c to your computer and use it in GitHub Desktop.
Scan scan;
scan = new Scan();
scan.setMaxVersions(Integer.MAX_VALUE)
.addColumn(COLUMN_FAMILY_NAME, LAT_COLUMN_NAME)
.addColumn(COLUMN_FAMILY_NAME, LONG_COLUMN_NAME)
.withStartRow(Bytes.toBytes("MTA/M86-SBS/1496275200000"))
.setRowPrefixFilter(Bytes.toBytes("MTA/M86-SBS/1496275200000"));
ResultScanner scanner = table.getScanner(scan);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment