@InterfaceAudience.LimitedPrivate(value="Coprocesssor")
@InterfaceStability.Evolving
public interface OnlineRegions
Modifier and Type | Method and Description |
---|---|
Region |
getRegion(String encodedRegionName)
Return
Region instance. |
List<? extends Region> |
getRegions()
Get all online regions in this RS.
|
List<? extends Region> |
getRegions(TableName tableName)
Get all online regions of a table in this RS.
|
Region getRegion(String encodedRegionName)
Region
instance.
Only works if caller is in same context, in same JVM. Region is not
serializable.encodedRegionName
- encodedRegionName
or
null if named region is not member of the online regions.List<? extends Region> getRegions(TableName tableName) throws IOException
tableName
- IOException
Copyright © 2007–2019 Cloudera. All rights reserved.