MCPcopy Index your code
hub / github.com/OpenTSDB/asynchbase / call

Method call

src/HBaseClient.java:2381–2398  ·  view source on GitHub ↗
(final ArrayList<ArrayList<KeyValue>> results)

Source from the content-addressed store, hash-verified

2379 class MetaScanner
2380 implements Callback<Object, ArrayList<ArrayList<KeyValue>>> {
2381 @Override
2382 public Object call(final ArrayList<ArrayList<KeyValue>> results) {
2383 if (results != null && !results.isEmpty()) {
2384 for (final ArrayList<KeyValue> row : results) {
2385 if (return_locations) {
2386 final RegionLocation region_location = toRegionLocation(row);
2387 if (region_location != null) {
2388 regions.add(region_location);
2389 }
2390 }
2391 if (cache) {
2392 discoverRegion(row);
2393 }
2394 }
2395 return meta_scanner.nextRows().addCallback(this);
2396 }
2397 return regions;
2398 }
2399 @Override
2400 public String toString() {
2401 return "MetaScanner scanner=" + meta_scanner;

Callers

nothing calls this directly

Calls 5

isEmptyMethod · 0.80
toRegionLocationMethod · 0.80
discoverRegionMethod · 0.80
nextRowsMethod · 0.80
addMethod · 0.45

Tested by

no test coverage detected