类 TablestorageRegionLocator
- java.lang.Object
-
- com.baidubce.services.tablestoragehbaseclient.hbase.TablestorageRegionLocator
-
- 所有已实现的接口:
Closeable,AutoCloseable,org.apache.hadoop.hbase.client.RegionLocator
public class TablestorageRegionLocator extends Object implements org.apache.hadoop.hbase.client.RegionLocator
TablestorageRegionLocator derived from org.apache.hadoop.hbase.client.RegionLocator
-
-
构造器概要
构造器 构造器 说明 TablestorageRegionLocator(TablestorageConnection connection, org.apache.hadoop.hbase.TableName tableName)Construct a TablestorageRegionLocator for the target instance.
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidclose()List<org.apache.hadoop.hbase.HRegionLocation>getAllRegionLocations()byte[][]getEndKeys()org.apache.hadoop.hbase.TableNamegetName()org.apache.hadoop.hbase.HRegionLocationgetRegionLocation(byte[] row)org.apache.hadoop.hbase.HRegionLocationgetRegionLocation(byte[] row, boolean reload)org.apache.hadoop.hbase.util.Pair<byte[][],byte[][]>getStartEndKeys()byte[][]getStartKeys()
-
-
-
构造器详细资料
-
TablestorageRegionLocator
public TablestorageRegionLocator(TablestorageConnection connection, org.apache.hadoop.hbase.TableName tableName)
Construct a TablestorageRegionLocator for the target instance.- 参数:
connection- The connection used to construct this TablestorageRegionLocator.tableName- The name of the target table.
-
-
方法详细资料
-
getRegionLocation
public org.apache.hadoop.hbase.HRegionLocation getRegionLocation(byte[] row) throws IOException- 指定者:
getRegionLocation在接口中org.apache.hadoop.hbase.client.RegionLocator- 抛出:
IOException
-
getRegionLocation
public org.apache.hadoop.hbase.HRegionLocation getRegionLocation(byte[] row, boolean reload) throws IOException- 指定者:
getRegionLocation在接口中org.apache.hadoop.hbase.client.RegionLocator- 抛出:
IOException
-
getAllRegionLocations
public List<org.apache.hadoop.hbase.HRegionLocation> getAllRegionLocations() throws IOException
- 指定者:
getAllRegionLocations在接口中org.apache.hadoop.hbase.client.RegionLocator- 抛出:
IOException
-
getStartKeys
public byte[][] getStartKeys() throws IOException- 指定者:
getStartKeys在接口中org.apache.hadoop.hbase.client.RegionLocator- 抛出:
IOException
-
getEndKeys
public byte[][] getEndKeys() throws IOException- 指定者:
getEndKeys在接口中org.apache.hadoop.hbase.client.RegionLocator- 抛出:
IOException
-
getStartEndKeys
public org.apache.hadoop.hbase.util.Pair<byte[][],byte[][]> getStartEndKeys() throws IOException- 指定者:
getStartEndKeys在接口中org.apache.hadoop.hbase.client.RegionLocator- 抛出:
IOException
-
getName
public org.apache.hadoop.hbase.TableName getName()
- 指定者:
getName在接口中org.apache.hadoop.hbase.client.RegionLocator
-
close
public void close() throws IOException- 指定者:
close在接口中AutoCloseable- 指定者:
close在接口中Closeable- 抛出:
IOException
-
-