Uses of Class
org.apache.hadoop.hbase.RegionLocations
Packages that use org.apache.hadoop.hbase.RegionLocations
-
Uses of org.apache.hadoop.hbase.RegionLocations in org.apache.hadoop.hbase
Methods in org.apache.hadoop.hbase that return org.apache.hadoop.hbase.RegionLocations in inModifier and TypeMethodDescriptionstatic org.apache.hadoop.hbase.RegionLocationsMetaTableAccessor.getRegionLocations(org.apache.hadoop.hbase.client.Result r) Returns an HRegionLocationList extracted from the result.org.apache.hadoop.hbase.RegionLocationsRegionLocations.mergeLocations(org.apache.hadoop.hbase.RegionLocations other) Merges this RegionLocations list with the given list assuming same range, and keeping the most up to date version of the HRegionLocation entries from either list according to seqNum.org.apache.hadoop.hbase.RegionLocationsRegionLocations.remove(int replicaId) Removes location of the given replicaId from the listorg.apache.hadoop.hbase.RegionLocationsRegionLocations.remove(org.apache.hadoop.hbase.HRegionLocation location) Removes the given location from the listorg.apache.hadoop.hbase.RegionLocationsRegionLocations.removeByServer(org.apache.hadoop.hbase.ServerName serverName) Returns a new RegionLocations with the locations removed (set to null) which have the destination server as given.org.apache.hadoop.hbase.RegionLocationsRegionLocations.removeElementsWithNullLocation()Set the element to null if its getServerName method returns null.org.apache.hadoop.hbase.RegionLocationsRegionLocations.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.Methods in org.apache.hadoop.hbase with parameters of type org.apache.hadoop.hbase.RegionLocations in inModifier and TypeMethodDescriptionorg.apache.hadoop.hbase.RegionLocationsRegionLocations.mergeLocations(org.apache.hadoop.hbase.RegionLocations other) Merges this RegionLocations list with the given list assuming same range, and keeping the most up to date version of the HRegionLocation entries from either list according to seqNum. -
Uses of org.apache.hadoop.hbase.RegionLocations in org.apache.hadoop.hbase.client
Methods in org.apache.hadoop.hbase.client that return org.apache.hadoop.hbase.RegionLocations in inModifier and TypeMethodDescriptionorg.apache.hadoop.hbase.RegionLocationsMetaCache.getCachedLocation(org.apache.hadoop.hbase.TableName tableName, byte[] row) Search the cache for a location that fits our table and row key.static org.apache.hadoop.hbase.RegionLocationsRegionAdminServiceCallable.getRegionLocations(org.apache.hadoop.hbase.client.ClusterConnection connection, org.apache.hadoop.hbase.TableName tableName, byte[] row, boolean useCache, int replicaId) protected final org.apache.hadoop.hbase.RegionLocationsScannerCallable.getRegionLocationsForPrepare(byte[] row) Fetch region locations for the row.org.apache.hadoop.hbase.RegionLocationsClusterConnection.locateRegion(org.apache.hadoop.hbase.TableName tableName, byte[] row, boolean useCache, boolean retry) Gets the locations of the region in the specified table, tableName, for a given row.org.apache.hadoop.hbase.RegionLocationsClusterConnection.locateRegion(org.apache.hadoop.hbase.TableName tableName, byte[] row, boolean useCache, boolean retry, int replicaId) Gets the locations of the region in the specified table, tableName, for a given row.org.apache.hadoop.hbase.RegionLocationsConnectionImplementation.locateRegion(org.apache.hadoop.hbase.TableName tableName, byte[] row, boolean useCache, boolean retry) org.apache.hadoop.hbase.RegionLocationsConnectionImplementation.locateRegion(org.apache.hadoop.hbase.TableName tableName, byte[] row, boolean useCache, boolean retry, int replicaId) org.apache.hadoop.hbase.RegionLocationsClusterConnection.relocateRegion(org.apache.hadoop.hbase.TableName tableName, byte[] row, int replicaId) 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.RegionLocationsConnectionImplementation.relocateRegion(org.apache.hadoop.hbase.TableName tableName, byte[] row, int replicaId) Methods in org.apache.hadoop.hbase.client that return types with arguments of type org.apache.hadoop.hbase.RegionLocations in inModifier and TypeMethodDescriptionCompletableFuture<org.apache.hadoop.hbase.RegionLocations>ConnectionRegistry.getMetaRegionLocations()Get the location of meta region(s).CompletableFuture<org.apache.hadoop.hbase.RegionLocations>RegionServerRegistry.getMetaRegionLocations()Methods in org.apache.hadoop.hbase.client with parameters of type org.apache.hadoop.hbase.RegionLocations in inModifier and TypeMethodDescriptionvoidClusterConnection.cacheLocation(org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.RegionLocations location) voidConnectionImplementation.cacheLocation(org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.RegionLocations location) Put a newly discovered HRegionLocation into the cache.voidMetaCache.cacheLocation(org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.RegionLocations locations) Put a newly discovered HRegionLocation into the cache.protected final org.apache.hadoop.hbase.HRegionLocationScannerCallable.getLocationForReplica(org.apache.hadoop.hbase.RegionLocations locs)