Class SSTableMetadataViewer

java.lang.Object
org.apache.cassandra.tools.SSTableMetadataViewer

public class SSTableMetadataViewer extends Object
Shows the contents of sstable metadata
  • Constructor Details

    • SSTableMetadataViewer

      public SSTableMetadataViewer()
    • SSTableMetadataViewer

      public SSTableMetadataViewer(boolean color, boolean unicode, int gc, TimeUnit tsUnit, PrintStream out)
  • Method Details

    • deletion

      public static String deletion(long time)
    • toDateString

      public static String toDateString(long time, TimeUnit unit)
    • toDurationString

      public static String toDurationString(long duration, TimeUnit unit)
    • toByteString

      public static String toByteString(long bytes)
    • scannedOverviewOutput

      public String scannedOverviewOutput(String key, long value)
    • durationString

      public static String durationString(Long value)
    • main

      public static void main(String[] args) throws IOException
      Parameters:
      args - a list of sstables whose metadata we're interested in
      Throws:
      IOException