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

Method locateRegion

src/HBaseClient.java:2705–2708  ·  view source on GitHub ↗

Locates the region in which the given row key for the given table is. This does a lookup in the .META. / -ROOT- table(s), no cache is used. If you want to use a cache, call #getRegion instead. @param request The RPC that's hunting for a region. @param table The table to which the row bel

(final HBaseRpc request,
                                        final byte[] table, final byte[] key)

Source from the content-addressed store, hash-verified

2703 * carries an unspecified result.
2704 */
2705 private Deferred<Object> locateRegion(final HBaseRpc request,
2706 final byte[] table, final byte[] key) {
2707 return locateRegion(request, table, key, false, false);
2708 }
2709
2710 /**
2711 * Locates the region in which the given row key for the given table is.

Callers 4

sendRpcToRegionMethod · 0.95
callMethod · 0.95
callMethod · 0.80

Calls 12

equalsMethod · 0.95
createRegionSearchKeyMethod · 0.95
getRegionMethod · 0.95
isAliveMethod · 0.95
scanMetaMethod · 0.95
getClosestRowBeforeMethod · 0.95
incrementMethod · 0.80
getMethod · 0.45
getDeferredRootMethod · 0.45

Tested by

no test coverage detected