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

    • AContentPrinter

      public AContentPrinter()
  • Method Details

    • printTables

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

      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

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

      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