static org.apache.hadoop.hbase.RegionLocations
CatalogFamilyFormat.getRegionLocations(org.apache.hadoop.hbase.client.Result r)
Returns an HRegionLocationList extracted from the result.
org.apache.hadoop.hbase.RegionLocations
RegionLocations.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.RegionLocations
RegionLocations.remove(int replicaId)
Removes location of the given replicaId from the list
org.apache.hadoop.hbase.RegionLocations
RegionLocations.remove(org.apache.hadoop.hbase.HRegionLocation location)
Removes the given location from the list
org.apache.hadoop.hbase.RegionLocations
RegionLocations.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.RegionLocations
RegionLocations.removeElementsWithNullLocation()
Set the element to null if its getServerName method returns null.
org.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.
org.apache.hadoop.hbase.RegionLocations
RegionLocations.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.