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 TypeMethodDescriptionvoidDatabase.close()Closes this database and releases any system resources associated with it.voidTable.compactFL()Eliminates the unused memory blocks within the FL file space of this table and truncates the corresponding data file.voidTable.compactVL()Eliminates the unused memory blocks within the VL file space of this table and truncates the corresponding data file.voidDatabase.createRO(Path roDbFilePath, ICipherFactory cipherFactory) Creates an RO database from the data stored in this database, which must be a WR database.voidDeletes the referenced row from this table.voidDatabase.forceWrite()Forces any changes to this database being materialized.Returns the referenced row of this table.booleanTable.TableIterator.hasNext()Returnstrueif and only if the iteration has more rows.longInformation.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.longReturns the value of the reference counter of the referenced row.voidTable.truncate()Deletes all rows of this table and truncates the corresponding data files.voidUpdates the values of the specified columns of the referenced row with the specified new values.voidFor each row of this table updates the values stored in the specified columns with the specified new values.<T> voidTable.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> voidTable.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.voidDatabase.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 voidCustomDatabase.close()Closes this database and releases any system resources associated with it.final voidCustomTable.compactFL()final voidCustomTable.compactVL()final voidCustomDatabase.createRO(Path roDbFilePath, ICipherFactory cipherFactory) voidfinal voidCustomDatabase.forceWrite()final Rowfinal <T> TReturns the value stored at the specified row and column in this table.final longvoidCustomTable.truncate()See Table.truncate()voidvoid<T> voidCustomTable.updateAllChangeValues(Column<T> column, Table.ValueChanger<T> valueChanger) <T> voidCustomTable.updateAllSupplyValues(Column<T> column, Table.ValueSupplier<T> valueSupplier) final voidCustomDatabase.zip(int level, boolean home, OutputStream out) -
Uses of IOFailureException in acdp.misc
Methods in acdp.misc that throw IOFailureExceptionModifier and TypeMethodDescriptionstatic final voidACDP.createDBFiles(Path layoutFile) Creates the backing files of the WR database described by the layout contained in the specified layout file.static final voidACDP.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 voidRefactor.addTable(Path layoutFile, String tableName, CustomTable table, Refactor.Names names) Adds the specified table to the specified WR database.static final doubleRefactor.dropColumn(Path layoutFile, String tableName, String columnName) Removes the specified column from the specified table.static final voidRemoves the specified table from the specified WR database.static final <T> voidRefactor.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 theindexargument.static final voidThemainmethod invoking theSetup.run(java.lang.String, java.nio.file.Path)method.static final <T> doubleRefactor.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 voidRefactor.nobsOutrowPtr(Path layoutFile, String tableName, int value) Changes the value of thenobsOutrowPtrproperty of the specified table to the specified value.static final voidRefactor.nobsRefCount(Path layoutFile, String tableName, int value) Changes the value of thenobsRefCountproperty of the specified table to the specified value.static final voidRefactor.nobsRowRef(Path layoutFile, String tableName, int value) Changes the value of thenobsRowRefproperty of the specified table to the specified value.static final voidWrites to the standard output stream a few key figures of the stores of the tables of the specified WR database.static final voidROToWR.run(Path roDbFilePath, Path wrDbDirPath, Path layoutFile, ICipherFactory cf) Creates a WR database and copies all rows from all tables of the specified RO database to the newly created WR database.static final voidGenerates the database files from a database class, hence, from a class annotated with the@SetupDatabaseannotation and saves them to a given directory.final SettingsSettings.save()Saves the settings.Constructors in acdp.tools that throw IOFailureException