Class AContentPrinter

java.lang.Object
com.activeviam.database.internal.AContentPrinter
All Implemented Interfaces:
IContentPrinter
Direct Known Subclasses:
DatabaseContentPrinter, DatastoreContentPrinter

public abstract class AContentPrinter extends Object implements IContentPrinter
Utility class used to print the content of a database.
Author:
ActiveViam
  • Constructor Details Link icon

    • AContentPrinter Link icon

      public AContentPrinter()
  • Method Details Link icon

    • printTables Link icon

      public void printTables(int maxRows)
      Description copied from interface: IContentPrinter
      Prints all tables.
      Specified by:
      printTables in interface IContentPrinter
    • printTable Link icon

      public void printTable(String tableName, int maxRows)
      Description copied from interface: IContentPrinter
      Prints the given table, without the line numbers.
      Specified by:
      printTable in interface IContentPrinter
    • printTableSizes Link icon

      public void printTableSizes()
      Description copied from interface: IContentPrinter
      Prints all table sizes.
      Specified by:
      printTableSizes in interface IContentPrinter
    • printTableSizes Link icon

      public static void printTableSizes(IStatisticsQueryRunner statisticsQueryRunner, long epochId)
      Prints the statistics of the runner for the given epoch.
      Parameters:
      statisticsQueryRunner - the statisticsQueryRunner
      epochId - the epochId