Package org.apache.accumulo.server.util
Class TableDiskUsage
- java.lang.Object
-
- org.apache.accumulo.server.util.TableDiskUsage
-
public class TableDiskUsage extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
TableDiskUsage.Printer
-
Constructor Summary
Constructors Constructor Description TableDiskUsage()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Map<TreeSet<String>,Long>
getDiskUsage(AccumuloConfiguration acuConf, Set<String> tableIds, VolumeManager fs, Connector conn)
static void
main(String[] args)
static void
printDiskUsage(AccumuloConfiguration acuConf, Collection<String> tables, VolumeManager fs, Connector conn, boolean humanReadable)
static void
printDiskUsage(AccumuloConfiguration acuConf, Collection<String> tables, VolumeManager fs, Connector conn, TableDiskUsage.Printer printer, boolean humanReadable)
-
-
-
Method Detail
-
printDiskUsage
public static void printDiskUsage(AccumuloConfiguration acuConf, Collection<String> tables, VolumeManager fs, Connector conn, boolean humanReadable) throws TableNotFoundException, IOException
- Throws:
TableNotFoundException
IOException
-
getDiskUsage
public static Map<TreeSet<String>,Long> getDiskUsage(AccumuloConfiguration acuConf, Set<String> tableIds, VolumeManager fs, Connector conn) throws IOException
- Throws:
IOException
-
printDiskUsage
public static void printDiskUsage(AccumuloConfiguration acuConf, Collection<String> tables, VolumeManager fs, Connector conn, TableDiskUsage.Printer printer, boolean humanReadable) throws TableNotFoundException, IOException
- Throws:
TableNotFoundException
IOException
-
-