BigtableRegionLocator
public abstract class AbstractBigtableRegionLocator extends Object
AbstractBigtbleRegionLocator class.
Modifier and Type | Field | Description |
---|---|---|
static long |
MAX_REGION_AGE_MILLIS |
Constant
MAX_REGION_AGE_MILLIS=60 * 1000 |
protected org.apache.hadoop.hbase.TableName |
tableName |
Constructor | Description |
---|---|
AbstractBigtableRegionLocator(org.apache.hadoop.hbase.TableName tableName,
com.google.cloud.bigtable.config.BigtableOptions options,
com.google.cloud.bigtable.grpc.BigtableDataClient client) |
Modifier and Type | Method | Description |
---|---|---|
protected com.google.common.util.concurrent.ListenableFuture<List<org.apache.hadoop.hbase.HRegionLocation>> |
getRegionsAsync(boolean reload) |
The list of regions will be sorted and cover all the possible rows.
|
abstract SampledRowKeysAdapter |
getSampledRowKeysAdapter(org.apache.hadoop.hbase.TableName tableName,
org.apache.hadoop.hbase.ServerName serverName) |
public static long MAX_REGION_AGE_MILLIS
MAX_REGION_AGE_MILLIS=60 * 1000
protected final org.apache.hadoop.hbase.TableName tableName
public AbstractBigtableRegionLocator(org.apache.hadoop.hbase.TableName tableName, com.google.cloud.bigtable.config.BigtableOptions options, com.google.cloud.bigtable.grpc.BigtableDataClient client)
public abstract SampledRowKeysAdapter getSampledRowKeysAdapter(org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.ServerName serverName)
protected com.google.common.util.concurrent.ListenableFuture<List<org.apache.hadoop.hbase.HRegionLocation>> getRegionsAsync(boolean reload)