Uses of Class
acdp.exceptions.IOFailureException
Packages that use IOFailureException
Package
Description
Contains the core interfaces needed to operate a database.
Contains classes for designing an ACDP database.
Contains classes that are only needed in special cases.
-
Uses of IOFailureException in acdp
Methods in acdp that throw IOFailureExceptionModifier and TypeMethodDescriptionvoid
Database.close()
Closes this database and releases any system resources associated with it.void
Table.compactFL()
Eliminates the unused memory blocks within the FL file space of this table and truncates the corresponding data file.void
Table.compactVL()
Eliminates the unused memory blocks within the VL file space of this table and truncates the corresponding data file.void
Database.createRO
(Path roDbFilePath, ICipherFactory cipherFactory) Creates an RO database from the data stored in this database, which must be a WR database.void
Deletes the referenced row from this table.void
Database.forceWrite()
Forces any changes to this database being materialized.Returns the referenced row of this table.boolean
Table.TableIterator.hasNext()
Returnstrue
if and only if the iteration has more rows.long
Information.WRStoreInfo.highestRefCount()
Computes the highest value of the reference counter over all rows of the table associated with this store.Inserts the specified values into this table and returns the reference to the newly created row.Table.TableIterator.next()
Returns the next row of the table.long
Returns the value of the reference counter of the referenced row.void
Table.truncate()
Deletes all rows of this table and truncates the corresponding data files.void
Updates the values of the specified columns of the referenced row with the specified new values.void
For each row of this table updates the values stored in the specified columns with the specified new values.<T> void
Table.updateAllChangeValues
(Column<T> column, Table.ValueChanger<T> valueChanger) For each row of this table updates the value stored in the specified column with a value obtained from the specified value changer.<T> void
Table.updateAllSupplyValues
(Column<T> column, Table.ValueSupplier<T> valueSupplier) For each row of this table updates the value stored in the specified column with a value obtained from the specified value supplier.void
Database.zip
(int level, boolean home, OutputStream out) Creates a zip archive containing the files related to this database and writes it to the specified output stream, leaving the output stream open. -
Uses of IOFailureException in acdp.design
Methods in acdp.design that throw IOFailureExceptionModifier and TypeMethodDescriptionfinal void
CustomDatabase.close()
Closes this database and releases any system resources associated with it.final void
CustomTable.compactFL()
final void
CustomTable.compactVL()
final void
CustomDatabase.createRO
(Path roDbFilePath, ICipherFactory cipherFactory) void
final void
CustomDatabase.forceWrite()
final Row
final <T> T
Returns the value stored at the specified row and column in this table.final long
void
CustomTable.truncate()
See Table.truncate()void
void
<T> void
CustomTable.updateAllChangeValues
(Column<T> column, Table.ValueChanger<T> valueChanger) <T> void
CustomTable.updateAllSupplyValues
(Column<T> column, Table.ValueSupplier<T> valueSupplier) final void
CustomDatabase.zip
(int level, boolean home, OutputStream out) -
Uses of IOFailureException in acdp.misc
Methods in acdp.misc that throw IOFailureExceptionModifier and TypeMethodDescriptionstatic final void
ACDP.createDBFiles
(Path layoutFile) Creates the backing files of the WR database described by the layout contained in the specified layout file.static final void
ACDP.deleteDBFiles
(Path layoutFile, boolean deleteLayoutFile) Deletes the backing files of the specified WR database and optionally deletes the layout file too, thus completely removing the database. -
Uses of IOFailureException in acdp.tools
Methods in acdp.tools that throw IOFailureExceptionModifier and TypeMethodDescriptionstatic final void
Refactor.addTable
(Path layoutFile, String tableName, CustomTable table, Refactor.Names names) Adds the specified table to the specified WR database.static final double
Refactor.dropColumn
(Path layoutFile, String tableName, String columnName) Removes the specified column from the specified table.static final void
Removes the specified table from the specified WR database.static final <T> void
Refactor.insertColumn
(Path layoutFile, ICipherFactory cipherFactory, String tableName, String columnName, Column<T> column, String refdTableName, int index, T initialValue) Inserts the specified column into the table definition of the specified table at the position given by theindex
argument.static final void
Themain
method invoking theSetup.run(java.lang.String, java.nio.file.Path)
method.static final <T> double
Refactor.modifyColumn
(Path layoutFile, ICipherFactory cipherFactory, String tableName, String columnName, Column<T> column, Table.ValueSwitcher<T> valueSwitcher) Modifies the specified column of the specified table by replacing that column with the specified new column.static final void
Refactor.nobsOutrowPtr
(Path layoutFile, String tableName, int value) Changes the value of thenobsOutrowPtr
property of the specified table to the specified value.static final void
Refactor.nobsRefCount
(Path layoutFile, String tableName, int value) Changes the value of thenobsRefCount
property of the specified table to the specified value.static final void
Refactor.nobsRowRef
(Path layoutFile, String tableName, int value) Changes the value of thenobsRowRef
property of the specified table to the specified value.static final void
Writes to the standard output stream a few key figures of the stores of the tables of the specified WR database.static final void
Generates the database files from a database class, hence, from a class annotated with the@SetupDatabase
annotation and saves them to a given directory.final Settings
Settings.save()
Saves the settings.Constructors in acdp.tools that throw IOFailureException