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 TypeMethodDescriptionvoidprintTable(String tableName, int maxRows) Prints the given table, without the line numbers.voidprintTables(int maxRows) Prints all tables.voidPrints all table sizes.static voidprintTableSizes(IStatisticsQueryRunner statisticsQueryRunner, long epochId) Prints the statistics of the runner for the given epoch.
-
Constructor Details
-
AContentPrinter
public AContentPrinter()
-
-
Method Details
-
printTables
public void printTables(int maxRows) Description copied from interface:IContentPrinterPrints all tables.- Specified by:
printTablesin interfaceIContentPrinter
-
printTable
Description copied from interface:IContentPrinterPrints the given table, without the line numbers.- Specified by:
printTablein interfaceIContentPrinter
-
printTableSizes
public void printTableSizes()Description copied from interface:IContentPrinterPrints all table sizes.- Specified by:
printTableSizesin interfaceIContentPrinter
-
printTableSizes
Prints the statistics of the runner for the given epoch.- Parameters:
statisticsQueryRunner- the statisticsQueryRunnerepochId- the epochId
-