Uses of Class
org.apache.hadoop.hbase.HRegionLocation
Packages that use org.apache.hadoop.hbase.HRegionLocation
Package
Description
Provides HBase Client
-
Uses of org.apache.hadoop.hbase.HRegionLocation in org.apache.hadoop.hbase
Methods in org.apache.hadoop.hbase that return org.apache.hadoop.hbase.HRegionLocation in inModifier and TypeMethodDescriptionorg.apache.hadoop.hbase.HRegionLocation
RegionLocations.getDefaultRegionLocation()
static org.apache.hadoop.hbase.HRegionLocation
MetaTableAccessor.getRegionLocation
(org.apache.hadoop.hbase.client.Connection connection, byte[] regionName) Returns the HRegionLocation from meta for the given regionstatic org.apache.hadoop.hbase.HRegionLocation
MetaTableAccessor.getRegionLocation
(org.apache.hadoop.hbase.client.Connection connection, org.apache.hadoop.hbase.client.RegionInfo regionInfo) Returns the HRegionLocation from meta for the given regionorg.apache.hadoop.hbase.HRegionLocation
RegionLocations.getRegionLocation()
Returns the first not-null region location in the listorg.apache.hadoop.hbase.HRegionLocation
RegionLocations.getRegionLocation
(int replicaId) org.apache.hadoop.hbase.HRegionLocation
RegionLocations.getRegionLocationByRegionName
(byte[] regionName) Returns the region location from the list for matching regionName, which can be regionName or encodedRegionNameorg.apache.hadoop.hbase.HRegionLocation[]
RegionLocations.getRegionLocations()
Methods in org.apache.hadoop.hbase that return types with arguments of type org.apache.hadoop.hbase.HRegionLocation in inModifier and TypeMethodDescriptionMetaRegionLocationCache.getMetaRegionLocations()
Returns Optional list of HRegionLocations for meta replica(s), null if the cache is empty.static CompletableFuture<Optional<org.apache.hadoop.hbase.HRegionLocation>>
AsyncMetaTableAccessor.getRegionLocation
(org.apache.hadoop.hbase.client.AsyncTable<?> metaTable, byte[] regionName) Returns the HRegionLocation from meta for the given regionstatic CompletableFuture<Optional<org.apache.hadoop.hbase.HRegionLocation>>
AsyncMetaTableAccessor.getRegionLocationWithEncodedName
(org.apache.hadoop.hbase.client.AsyncTable<?> metaTable, byte[] encodedRegionName) Returns the HRegionLocation from meta for the given encoded region namestatic CompletableFuture<List<org.apache.hadoop.hbase.HRegionLocation>>
AsyncMetaTableAccessor.getTableHRegionLocations
(org.apache.hadoop.hbase.client.AsyncTable<org.apache.hadoop.hbase.client.AdvancedScanResultConsumer> metaTable, org.apache.hadoop.hbase.TableName tableName) Used to get all region locations for the specific tableIterator<org.apache.hadoop.hbase.HRegionLocation>
RegionLocations.iterator()
Methods in org.apache.hadoop.hbase with parameters of type org.apache.hadoop.hbase.HRegionLocation in inModifier and TypeMethodDescriptionint
HRegionLocation.compareTo
(org.apache.hadoop.hbase.HRegionLocation o) org.apache.hadoop.hbase.RegionLocations
RegionLocations.remove
(org.apache.hadoop.hbase.HRegionLocation location) Removes the given location from the listorg.apache.hadoop.hbase.RegionLocations
RegionLocations.updateLocation
(org.apache.hadoop.hbase.HRegionLocation location, boolean checkForEquals, boolean force) Updates the location with new only if the new location has a higher seqNum than the old one or force is true.Constructors in org.apache.hadoop.hbase with parameters of type org.apache.hadoop.hbase.HRegionLocation in inModifierConstructorDescriptionRegionLocations
(org.apache.hadoop.hbase.HRegionLocation... locations) Constructs the region location list.Constructor parameters in org.apache.hadoop.hbase with type arguments of type org.apache.hadoop.hbase.HRegionLocation in inModifierConstructorDescriptionRegionLocations
(Collection<org.apache.hadoop.hbase.HRegionLocation> locations) -
Uses of org.apache.hadoop.hbase.HRegionLocation in org.apache.hadoop.hbase.client
Fields in org.apache.hadoop.hbase.client declared as org.apache.hadoop.hbase.HRegionLocation in inModifier and TypeFieldDescriptionprotected org.apache.hadoop.hbase.HRegionLocation
RegionAdminServiceCallable.location
protected org.apache.hadoop.hbase.HRegionLocation
RegionServerCallable.location
Some subclasses want to set their own location.Methods in org.apache.hadoop.hbase.client that return org.apache.hadoop.hbase.HRegionLocation in inModifier and TypeMethodDescriptionorg.apache.hadoop.hbase.HRegionLocation
RegionAdminServiceCallable.getLocation
(boolean useCache) protected org.apache.hadoop.hbase.HRegionLocation
RegionServerCallable.getLocation()
protected final org.apache.hadoop.hbase.HRegionLocation
ScannerCallable.getLocationForReplica
(org.apache.hadoop.hbase.RegionLocations locs) org.apache.hadoop.hbase.HRegionLocation
ClusterConnection.getRegionLocation
(org.apache.hadoop.hbase.TableName tableName, byte[] row, boolean reload) Find region location hosting passed roworg.apache.hadoop.hbase.HRegionLocation
ConnectionImplementation.getRegionLocation
(org.apache.hadoop.hbase.TableName tableName, byte[] row, boolean reload) org.apache.hadoop.hbase.HRegionLocation
HRegionLocator.getRegionLocation
(byte[] row, int replicaId, boolean reload) default org.apache.hadoop.hbase.HRegionLocation
RegionLocator.getRegionLocation
(byte[] row) Finds the region on which the given row is being served.default org.apache.hadoop.hbase.HRegionLocation
RegionLocator.getRegionLocation
(byte[] row, boolean reload) Finds the region on which the given row is being served.default org.apache.hadoop.hbase.HRegionLocation
RegionLocator.getRegionLocation
(byte[] row, int replicaId) Finds the region with the given replica id on which the given row is being served.org.apache.hadoop.hbase.HRegionLocation
RegionLocator.getRegionLocation
(byte[] row, int replicaId, boolean reload) Finds the region with the given replica id on which the given row is being served.org.apache.hadoop.hbase.HRegionLocation
ClusterConnection.locateRegion
(byte[] regionName) Gets the location of the region of regionName.org.apache.hadoop.hbase.HRegionLocation
ClusterConnection.locateRegion
(org.apache.hadoop.hbase.TableName tableName, byte[] row) Find the location of the region of tableName that row lives in.org.apache.hadoop.hbase.HRegionLocation
ConnectionImplementation.locateRegion
(byte[] regionName) org.apache.hadoop.hbase.HRegionLocation
ConnectionImplementation.locateRegion
(org.apache.hadoop.hbase.TableName tableName, byte[] row) org.apache.hadoop.hbase.HRegionLocation
ClusterConnection.relocateRegion
(org.apache.hadoop.hbase.TableName tableName, byte[] row) Find the location of the region of tableName that row lives in, ignoring any value that might be in the cache.org.apache.hadoop.hbase.HRegionLocation
ConnectionImplementation.relocateRegion
(org.apache.hadoop.hbase.TableName tableName, byte[] row) Methods in org.apache.hadoop.hbase.client that return types with arguments of type org.apache.hadoop.hbase.HRegionLocation in inModifier and TypeMethodDescriptionCompletableFuture<List<org.apache.hadoop.hbase.HRegionLocation>>
AsyncTableRegionLocator.getAllRegionLocations()
Retrieves all of the regions associated with this table.List<org.apache.hadoop.hbase.HRegionLocation>
HRegionLocator.getAllRegionLocations()
List<org.apache.hadoop.hbase.HRegionLocation>
RegionLocator.getAllRegionLocations()
Retrieves all of the regions associated with this table.default CompletableFuture<org.apache.hadoop.hbase.HRegionLocation>
AsyncTableRegionLocator.getRegionLocation
(byte[] row) Finds the region on which the given row is being served.default CompletableFuture<org.apache.hadoop.hbase.HRegionLocation>
AsyncTableRegionLocator.getRegionLocation
(byte[] row, boolean reload) Finds the region on which the given row is being served.default CompletableFuture<org.apache.hadoop.hbase.HRegionLocation>
AsyncTableRegionLocator.getRegionLocation
(byte[] row, int replicaId) Finds the region with the givenreplicaId
on which the given row is being served.CompletableFuture<org.apache.hadoop.hbase.HRegionLocation>
AsyncTableRegionLocator.getRegionLocation
(byte[] row, int replicaId, boolean reload) Finds the region with the givenreplicaId
on which the given row is being served.default CompletableFuture<List<org.apache.hadoop.hbase.HRegionLocation>>
AsyncTableRegionLocator.getRegionLocations
(byte[] row) Find all the replicas for the region on which the given row is being served.CompletableFuture<List<org.apache.hadoop.hbase.HRegionLocation>>
AsyncTableRegionLocator.getRegionLocations
(byte[] row, boolean reload) Find all the replicas for the region on which the given row is being served.List<org.apache.hadoop.hbase.HRegionLocation>
HRegionLocator.getRegionLocations
(byte[] row, boolean reload) default List<org.apache.hadoop.hbase.HRegionLocation>
RegionLocator.getRegionLocations
(byte[] row) Find all the replicas for the region on which the given row is being served.List<org.apache.hadoop.hbase.HRegionLocation>
RegionLocator.getRegionLocations
(byte[] row, boolean reload) Find all the replicas for the region on which the given row is being served.List<org.apache.hadoop.hbase.HRegionLocation>
ClusterConnection.locateRegions
(org.apache.hadoop.hbase.TableName tableName) Gets the locations of all regions in the specified table, tableName.List<org.apache.hadoop.hbase.HRegionLocation>
ClusterConnection.locateRegions
(org.apache.hadoop.hbase.TableName tableName, boolean useCache, boolean offlined) Gets the locations of all regions in the specified table, tableName.List<org.apache.hadoop.hbase.HRegionLocation>
ConnectionImplementation.locateRegions
(org.apache.hadoop.hbase.TableName tableName) List<org.apache.hadoop.hbase.HRegionLocation>
ConnectionImplementation.locateRegions
(org.apache.hadoop.hbase.TableName tableName, boolean useCache, boolean offlined) Methods in org.apache.hadoop.hbase.client with parameters of type org.apache.hadoop.hbase.HRegionLocation in inModifier and TypeMethodDescriptionvoid
MetaCache.cacheLocation
(org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.ServerName source, org.apache.hadoop.hbase.HRegionLocation location) Put a newly discovered HRegionLocation into the cache.org.apache.hadoop.hbase.client.RequestController.ReturnCode
RequestController.Checker.canTakeRow
(org.apache.hadoop.hbase.HRegionLocation loc, org.apache.hadoop.hbase.client.Row row) Checks the data whether it is valid to submit.protected void
RegionServerCallable.setLocation
(org.apache.hadoop.hbase.HRegionLocation location) Constructors in org.apache.hadoop.hbase.client with parameters of type org.apache.hadoop.hbase.HRegionLocation in inModifierConstructorDescriptionRegionAdminServiceCallable
(org.apache.hadoop.hbase.client.ClusterConnection connection, org.apache.hadoop.hbase.ipc.RpcControllerFactory rpcControllerFactory, org.apache.hadoop.hbase.HRegionLocation location, org.apache.hadoop.hbase.TableName tableName, byte[] row) RegionAdminServiceCallable
(org.apache.hadoop.hbase.client.ClusterConnection connection, org.apache.hadoop.hbase.ipc.RpcControllerFactory rpcControllerFactory, org.apache.hadoop.hbase.HRegionLocation location, org.apache.hadoop.hbase.TableName tableName, byte[] row, int replicaId) Constructor parameters in org.apache.hadoop.hbase.client with type arguments of type org.apache.hadoop.hbase.HRegionLocation in inModifierConstructorDescriptionHTableMultiplexerStatus
(Map<org.apache.hadoop.hbase.HRegionLocation, org.apache.hadoop.hbase.client.HTableMultiplexer.FlushWorker> serverToFlushWorkerMap) Deprecated. -
Uses of org.apache.hadoop.hbase.HRegionLocation in org.apache.hadoop.hbase.shaded.protobuf
Methods in org.apache.hadoop.hbase.shaded.protobuf that return org.apache.hadoop.hbase.HRegionLocation in inModifier and TypeMethodDescriptionstatic org.apache.hadoop.hbase.HRegionLocation
ProtobufUtil.toRegionLocation
(org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.RegionLocation proto) Methods in org.apache.hadoop.hbase.shaded.protobuf with parameters of type org.apache.hadoop.hbase.HRegionLocation in inModifier and TypeMethodDescriptionstatic org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.RegionLocation
ProtobufUtil.toRegionLocation
(org.apache.hadoop.hbase.HRegionLocation loc)