Uses of Class
org.apache.hadoop.hbase.RegionLocations

Packages that use org.apache.hadoop.hbase.RegionLocations
Package
Description
 
Provides HBase Client
  • 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 in
    Modifier and Type
    Method
    Description
    static org.apache.hadoop.hbase.RegionLocations
    MetaTableAccessor.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.
    Methods in org.apache.hadoop.hbase with parameters of type org.apache.hadoop.hbase.RegionLocations in in
    Modifier and Type
    Method
    Description
    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.
  • 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 in
    Modifier and Type
    Method
    Description
    org.apache.hadoop.hbase.RegionLocations
    MetaCache.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.RegionLocations
    RegionAdminServiceCallable.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.RegionLocations
    ScannerCallable.getRegionLocationsForPrepare(byte[] row)
    Fetch region locations for the row.
    org.apache.hadoop.hbase.RegionLocations
    ClusterConnection.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.RegionLocations
    ClusterConnection.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.RegionLocations
    ConnectionImplementation.locateRegion(org.apache.hadoop.hbase.TableName tableName, byte[] row, boolean useCache, boolean retry)
     
    org.apache.hadoop.hbase.RegionLocations
    ConnectionImplementation.locateRegion(org.apache.hadoop.hbase.TableName tableName, byte[] row, boolean useCache, boolean retry, int replicaId)
     
    org.apache.hadoop.hbase.RegionLocations
    ClusterConnection.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.RegionLocations
    ConnectionImplementation.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 in
    Modifier and Type
    Method
    Description
    CompletableFuture<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 in
    Modifier and Type
    Method
    Description
    void
    ClusterConnection.cacheLocation(org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.RegionLocations location)
     
    void
    ConnectionImplementation.cacheLocation(org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.RegionLocations location)
    Put a newly discovered HRegionLocation into the cache.
    void
    MetaCache.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.HRegionLocation
    ScannerCallable.getLocationForReplica(org.apache.hadoop.hbase.RegionLocations locs)