@InterfaceStability.Evolving @InterfaceAudience.Private public class RegionSizeCalculator extends Object
Constructor and Description |
---|
RegionSizeCalculator(HTable table)
Deprecated.
Use
RegionSizeCalculator(RegionLocator, Admin) instead. |
RegionSizeCalculator(RegionLocator regionLocator,
Admin admin)
Computes size of each region for table and given column families.
|
Modifier and Type | Method and Description |
---|---|
long |
getRegionSize(byte[] regionId)
Returns size of given region in bytes.
|
Map<byte[],Long> |
getRegionSizeMap() |
@Deprecated public RegionSizeCalculator(HTable table) throws IOException
RegionSizeCalculator(RegionLocator, Admin)
instead.IOException
public RegionSizeCalculator(RegionLocator regionLocator, Admin admin) throws IOException
IOException
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.