public class HBaseRegionSizeCalculator extends Object
| Constructor and Description |
|---|
HBaseRegionSizeCalculator(String tableName,
org.apache.hadoop.hbase.client.Connection hbaseConnection)
Computes size of each region for table and given column families.
|
| Modifier and Type | Method and Description |
|---|---|
Map<byte[],org.apache.kylin.common.util.Pair<Integer,Integer>> |
getRegionHFileCountMap() |
long |
getRegionSize(byte[] regionId)
Returns size of given region in bytes.
|
Map<byte[],Long> |
getRegionSizeMap() |
public HBaseRegionSizeCalculator(String tableName, org.apache.hadoop.hbase.client.Connection hbaseConnection) throws IOException
IOExceptionCopyright © 2014–2017 Apache Software Foundation. All rights reserved.