Package com.activeviam.database.internal
Class AContentPrinter
java.lang.Object
com.activeviam.database.internal.AContentPrinter
- All Implemented Interfaces:
IContentPrinter
- Direct Known Subclasses:
DatabaseContentPrinter
,DatastoreContentPrinter
Utility class used to print the content of a database.
- Author:
- ActiveViam
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
printTable
(String tableName, int maxRows) Prints the given table, without the line numbers.void
printTables
(int maxRows) Prints all tables.void
Prints all table sizes.static void
printTableSizes
(IStatisticsQueryRunner statisticsQueryRunner, long epochId) Prints the statistics of the runner for the given epoch.
-
Constructor Details
-
Method Details
-
printTables
public void printTables(int maxRows) Description copied from interface:IContentPrinter
Prints all tables.- Specified by:
printTables
in interfaceIContentPrinter
-
printTable
Description copied from interface:IContentPrinter
Prints the given table, without the line numbers.- Specified by:
printTable
in interfaceIContentPrinter
-
printTableSizes
public void printTableSizes()Description copied from interface:IContentPrinter
Prints all table sizes.- Specified by:
printTableSizes
in interfaceIContentPrinter
-
printTableSizes
Prints the statistics of the runner for the given epoch.- Parameters:
statisticsQueryRunner
- the statisticsQueryRunnerepochId
- the epochId
-