Package acdp.tools
Class KeyFigures
java.lang.Object
acdp.tools.KeyFigures
Writes to the standard output stream a few key
figures of the stores of the tables of a WR database.
Knowing these figures, a user can decide to do the following things:
- Compacting the VL or FL file space.
- Changing the values of the table-specific settings nobsRowRef, nobsOutrowPtr and nobsRefCount.
- Author:
- Beat Hörmann
-
Method Summary
Modifier and TypeMethodDescriptionstatic final void
Writes to the standard output stream a few key figures of the stores of the tables of the specified WR database.
-
Method Details
-
run
public static final void run(Path layoutFile) throws NullPointerException, UnsupportedOperationException, OverlappingFileLockException, CreationException, IOFailureException Writes to the standard output stream a few key figures of the stores of the tables of the specified WR database.Note that this method fails if the database is not a WR database or if the database is currently open.
Note also that if the given path denotes a valid file path but not of a valid layout file of a WR database then this method may throw an exception that is different from the listed exceptions.
- Parameters:
layoutFile
- The layout file of the WR database, not allowed to benull
.- Throws:
NullPointerException
- IflayoutFile
isnull
.UnsupportedOperationException
- If the database is an RO database.OverlappingFileLockException
- If the database is currently open.CreationException
- If the database can't be opened due to any other reason.IOFailureException
- If an I/O error occurs.
-