Skip to content

Instantly share code, notes, and snippets.

@dbergqvist
Created October 21, 2019 15:01
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/8097403d204dce262ed96be9317abeab to your computer and use it in GitHub Desktop.
Save dbergqvist/8097403d204dce262ed96be9317abeab to your computer and use it in GitHub Desktop.
scan.withStartRow(Bytes.toBytes("MTA/M86-SBS/"))
.setRowPrefixFilter(Bytes.toBytes("MTA/M86-SBS/"));
//Optionally, reduce the result to receive one version per column
scan.setMaxVersions(1);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment