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 interfaceTableDiskUsage.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(Set<TableId> tableIds, VolumeManager fs, AccumuloClient client)static voidmain(String[] args)static voidprintDiskUsage(Collection<String> tableNames, VolumeManager fs, AccumuloClient client, boolean humanReadable)static voidprintDiskUsage(Collection<String> tableNames, VolumeManager fs, AccumuloClient client, TableDiskUsage.Printer printer, boolean humanReadable)
-
-
-
Method Detail
-
printDiskUsage
public static void printDiskUsage(Collection<String> tableNames, VolumeManager fs, AccumuloClient client, boolean humanReadable) throws TableNotFoundException, IOException
- Throws:
TableNotFoundExceptionIOException
-
getDiskUsage
public static Map<TreeSet<String>,Long> getDiskUsage(Set<TableId> tableIds, VolumeManager fs, AccumuloClient client) throws IOException
- Throws:
IOException
-
printDiskUsage
public static void printDiskUsage(Collection<String> tableNames, VolumeManager fs, AccumuloClient client, TableDiskUsage.Printer printer, boolean humanReadable) throws TableNotFoundException, IOException
- Throws:
TableNotFoundExceptionIOException
-
-