@InternalApi(value="For internal usage only") public class BigtableAsyncTableRegionLocator extends AbstractBigtableRegionLocator implements AsyncTableRegionLocator
AsyncTableRegionLocator
For internal use only - public for technical reasons.
MAX_REGION_AGE_MILLIS, tableName| Constructor and Description |
|---|
BigtableAsyncTableRegionLocator(TableName tableName,
BigtableHBaseSettings settings,
DataClientWrapper client) |
| Modifier and Type | Method and Description |
|---|---|
void |
clearRegionLocationCache() |
CompletableFuture<List<HRegionLocation>> |
getAllRegionLocations() |
TableName |
getName() |
CompletableFuture<HRegionLocation> |
getRegionLocation(byte[] row,
boolean reload) |
CompletableFuture<HRegionLocation> |
getRegionLocation(byte[] row,
int replicaId,
boolean reload) |
CompletableFuture<List<HRegionLocation>> |
getRegionLocations(byte[] row,
boolean reload) |
SampledRowKeysAdapter |
getSampledRowKeysAdapter(TableName tableName,
ServerName serverName) |
getRegionsAsyncclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetEndKeys, getRegionLocation, getRegionLocation, getRegionLocations, getStartEndKeys, getStartKeyspublic BigtableAsyncTableRegionLocator(TableName tableName, BigtableHBaseSettings settings, DataClientWrapper client)
public TableName getName()
getName in interface AsyncTableRegionLocatorpublic CompletableFuture<HRegionLocation> getRegionLocation(byte[] row, boolean reload)
getRegionLocation in interface AsyncTableRegionLocatorpublic CompletableFuture<HRegionLocation> getRegionLocation(byte[] row, int replicaId, boolean reload)
getRegionLocation in interface AsyncTableRegionLocatorpublic CompletableFuture<List<HRegionLocation>> getRegionLocations(byte[] row, boolean reload)
getRegionLocations in interface AsyncTableRegionLocatorpublic CompletableFuture<List<HRegionLocation>> getAllRegionLocations()
getAllRegionLocations in interface AsyncTableRegionLocatorpublic void clearRegionLocationCache()
clearRegionLocationCache in interface AsyncTableRegionLocatorpublic SampledRowKeysAdapter getSampledRowKeysAdapter(TableName tableName, ServerName serverName)
getSampledRowKeysAdapter in class AbstractBigtableRegionLocator