Java Code Examples for org.apache.hadoop.hbase.client.Scan.setIsolationLevel()

The following are Jave code examples for showing how to use setIsolationLevel() of the org.apache.hadoop.hbase.client.Scan class. You can vote up the examples you like. Your votes will be used in our system to get more good examples.
Example 1
Project: ditb   File:   Source Code and License Vote up 5 votes
public static void doScan(
    HRegion region, Scan scan, List<Cell> result) throws IOException {
  InternalScanner scanner = null;
  try {
    scanner = region.getScanner(scan);
  } finally {
    if (scanner != null) scanner.close();