com.google.cloud.bigtable.hbase
Class AbstractBigtableRegionLocator
- java.lang.Object
-
- com.google.cloud.bigtable.hbase.AbstractBigtableRegionLocator
-
- Direct Known Subclasses:
- BigtableAsyncTableRegionLocator, BigtableRegionLocator
public abstract class AbstractBigtableRegionLocator extends Object
AbstractBigtableRegionLocator class.- Author:
- rupeshit
-
-
Field Summary
Fields Modifier and Type Field and Description static long
MAX_REGION_AGE_MILLIS
ConstantMAX_REGION_AGE_MILLIS=60 * 1000
protected TableName
tableName
-
Constructor Summary
Constructors Constructor and Description AbstractBigtableRegionLocator(TableName tableName, BigtableOptions options, IBigtableDataClient client)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method and Description protected com.google.api.core.ApiFuture<List<HRegionLocation>>
getRegionsAsync(boolean reload)
The list of regions will be sorted and cover all the possible rows.abstract SampledRowKeysAdapter
getSampledRowKeysAdapter(TableName tableName, ServerName serverName)
-
-
-
Field Detail
-
MAX_REGION_AGE_MILLIS
public static long MAX_REGION_AGE_MILLIS
ConstantMAX_REGION_AGE_MILLIS=60 * 1000
-
tableName
protected final TableName tableName
-
-
Constructor Detail
-
AbstractBigtableRegionLocator
public AbstractBigtableRegionLocator(TableName tableName, BigtableOptions options, IBigtableDataClient client)
-
-
Method Detail
-
getSampledRowKeysAdapter
public abstract SampledRowKeysAdapter getSampledRowKeysAdapter(TableName tableName, ServerName serverName)
-
getRegionsAsync
protected com.google.api.core.ApiFuture<List<HRegionLocation>> getRegionsAsync(boolean reload)
The list of regions will be sorted and cover all the possible rows.- Parameters:
reload
- a boolean field.- Returns:
- a
List
object.
-
-