Uses of Class
lu.kbra.pclib.db.exception.DBException
Packages that use DBException
Package
Description
-
Uses of DBException in lu.kbra.pclib.db.base
Methods in lu.kbra.pclib.db.base that throw DBExceptionModifier and TypeMethodDescriptionvoidDataBase.AbstractTableTransaction.close()voidDataBase.AbstractTableTransaction.commit()protected ConnectionDataBase.connect()DataBase.create()DataBase.createConnection()DataBase.drop()protected voidDataBase.AbstractTableTransaction.executeLocked(Runnable action) protected <B> BDataBase.AbstractTableTransaction.executeLocked(Supplier<B> action) booleanDataBase.exists()voidDataBase.migrate(Collection<? extends DataBaseMigration> migrations) voidDataBase.migrate(Collection<? extends DataBaseMigration> migrations, Collection<AbstractDBTable> tables, SchemaMigrationOptions schemaOptions) voidDataBase.migrateTables(Collection<AbstractDBTable> tables, SchemaMigrationOptions schemaOptions) voidDataBase.AbstractTableTransaction.rollback()voidDataBase.updateDataBaseConnector() -
Uses of DBException in lu.kbra.pclib.db.base.transaction
Methods in lu.kbra.pclib.db.base.transaction that throw DBException -
Uses of DBException in lu.kbra.pclib.db.connector
Methods in lu.kbra.pclib.db.connector that throw DBExceptionModifier and TypeMethodDescriptionvoidAbstractDataBaseConnector.CachedConnection.close()voidDelegatingConnection.close()final ConnectionSingleDataBaseConnector.connect()final ConnectionThreadLocalDataBaseConnector.connect()final booleanSQLiteDataBaseConnector.create()MySQLDataBaseConnector.createConnection()PostgreSQLDataBaseConnector.createConnection()SQLiteDataBaseConnector.createConnection()booleanSQLiteDataBaseConnector.delete()final booleanSQLiteDataBaseConnector.exists()booleanAbstractDataBaseConnector.CachedConnection.isUsableFor(long expectedGeneration) booleanAbstractDataBaseConnector.CachedConnection.isValid()final voidSingleDataBaseConnector.reset()final voidThreadLocalDataBaseConnector.reset()AbstractDataBaseConnector.CachedConnection.use()SingleDataBaseConnector.LockedSingleCachedConnection.use()SingleDataBaseConnector.use()ThreadLocalDataBaseConnector.PerThreadCachedConnection.use()ThreadLocalDataBaseConnector.use() -
Uses of DBException in lu.kbra.pclib.db.connector.impl
Methods in lu.kbra.pclib.db.connector.impl that throw DBExceptionModifier and TypeMethodDescriptionvoidAbstractConnection.close()DataBaseConnector.connect()booleanImplicitCreationCapable.create()DataBaseConnector.createConnection()booleanImplicitDeletionCapable.delete()booleanImplicitCreationCapable.exists()voidDataBaseConnector.reset()DataBaseConnector.use() -
Uses of DBException in lu.kbra.pclib.db.impl
Methods in lu.kbra.pclib.db.impl that throw DBException -
Uses of DBException in lu.kbra.pclib.db.migration
Methods in lu.kbra.pclib.db.migration that throw DBExceptionModifier and TypeMethodDescriptiondefault voidDataBaseMigration.down(DataBase dataBase, Connection connection) voidRawSQLMigration.down(DataBase dataBase, Connection connection) voidDataBaseMigrator.migrate()voidDataBaseSchemaMigrator.migrate(Connection connection, Iterable<AbstractDBTable> tables, SchemaMigrationOptions options) voidDataBaseMigration.up(DataBase dataBase, Connection connection) voidRawSQLMigration.up(DataBase dataBase, Connection connection) -
Uses of DBException in lu.kbra.pclib.db.query
Methods in lu.kbra.pclib.db.query that throw DBExceptionModifier and TypeMethodDescriptionstatic <T,B> B SimpleTransformingQuery.transform(List<T> data, Query.Type type) -
Uses of DBException in lu.kbra.pclib.db.table
Methods in lu.kbra.pclib.db.table that throw DBExceptionModifier and TypeMethodDescriptionintAbstractDBTable.clear()intDataBaseTable.clear()protected intDataBaseTable.clear(Connection c) intDBTableProxy.clear()intDataBaseTable.count()protected intDataBaseTable.count(Connection c) intDBTableProxy.count()intAbstractDBTable.countNotNull(T data) protected intDataBaseTable.countNotNull(Connection c, T data) intDataBaseTable.countNotNull(T data) intDBTableProxy.countNotNull(X data) intAbstractDBTable.countUniques(T data) protected intDataBaseTable.countUniques(Connection c, T data) intDataBaseTable.countUniques(T data) intDBTableProxy.countUniques(X data) DataBaseTableStatus<T,? extends AbstractDBTable<T>> AbstractDBTable.create()DataBaseTableStatus<T,? extends DataBaseTable<T>> DataBaseTable.create()protected DataBaseTableStatus<T,? extends DataBaseTable<T>> DataBaseTable.create(Connection c) DataBaseTableStatus<X,? extends DataBaseTable<X>> DBTableProxy.create()Deprecated.protected TDataBaseTable.delete(Connection c, T data) AbstractDBTable.deleteIfExists(T data) DataBaseTable.deleteIfExists(Connection c, T data) DataBaseTable.deleteIfExists(T data) DBTableProxy.deleteIfExists(X data) AbstractDBTable.deleteUnique(T data) DataBaseTable.deleteUnique(Connection c, T data) DataBaseTable.deleteUnique(T data) DBTableProxy.deleteUnique(X data) AbstractDBTable.deleteUniques(T data) DataBaseTable.deleteUniques(Connection c, T data) DataBaseTable.deleteUniques(T data) DBTableProxy.deleteUniques(X data) AbstractDBTable.drop()DataBaseTable.drop()protected DataBaseTable<T>DataBaseTable.drop(Connection c) DBTableProxy.drop()Deprecated.booleanAbstractDBTable.exists()booleanbooleanDataBaseTable.exists()protected booleanDataBaseTable.exists(Connection c) protected booleanDataBaseTable.exists(Connection c, T data) booleanbooleanDBTableProxy.exists()booleanbooleanAbstractDBTable.existsUnique(T data) protected booleanDataBaseTable.existsUnique(Connection c, T data) booleanDataBaseTable.existsUnique(T data) booleanDBTableProxy.existsUnique(X data) booleanAbstractDBTable.existsUniques(T data) protected booleanDataBaseTable.existsUniques(Connection c, T data) booleanDataBaseTable.existsUniques(T data) booleanDBTableProxy.existsUniques(X data) protected TDataBaseTable.insert(Connection c, T data) AbstractDBTable.insertAndReload(T data) protected TDataBaseTable.insertAndReload(Connection c, T data) DataBaseTable.insertAndReload(T data) DBTableProxy.insertAndReload(X data) protected TDataBaseTable.load(Connection c, T data) AbstractDBTable.loadByUnique(T data) Returns a list of all the possible entries matching with the unique values of the input.DataBaseTable.loadByUnique(Connection c, T data) DataBaseTable.loadByUnique(T data) Returns a list of all the possible entries matching with the unique values of the input.DBTableProxy.loadByUnique(X data) DataBaseTable.loadIfExists(Connection c, T data) DataBaseTable.loadIfExists(T data) DBTableProxy.loadIfExists(X data) protected TDataBaseTable.loadIfExistsElseInsert(Connection c, T data) DataBaseTable.loadIfExistsElseInsert(T data) Loads the first pk result, returns a the newly inserted instance if none is foundDBTableProxy.loadIfExistsElseInsert(X data) AbstractDBTable.loadUnique(T data) Loads the first unique result, or throws an exception if none is found.protected TDataBaseTable.loadUnique(Connection c, T data) DataBaseTable.loadUnique(T data) Loads the first unique result, or throws an exception if none is found.DBTableProxy.loadUnique(X data) AbstractDBTable.loadUniqueIfExists(T data) Loads the first unique result, returns null if none is found and throws an exception if too many are available.DataBaseTable.loadUniqueIfExists(Connection c, T data) DataBaseTable.loadUniqueIfExists(T data) Loads the first unique result, returns null if none is found and throws an exception if too many are available.DBTableProxy.loadUniqueIfExists(X data) AbstractDBTable.loadUniqueIfExistsElseInsert(T data) Loads the first unique result, returns a the newly inserted instance if none is found and throws an exception if too many are available.protected TDataBaseTable.loadUniqueIfExistsElseInsert(Connection c, T data) DataBaseTable.loadUniqueIfExistsElseInsert(T data) Loads the first unique result, returns a the newly inserted instance if none is found and throws an exception if too many are available.DBTableProxy.loadUniqueIfExistsElseInsert(X data) protected <B> BDataBaseTable.query(Connection c, SQLQuery<T, B> query) <B> B<B> BintAbstractDBTable.truncate()intDataBaseTable.truncate()protected intDataBaseTable.truncate(Connection c) intDBTableProxy.truncate()Deprecated.protected TDataBaseTable.update(Connection c, T data) AbstractDBTable.updateAndReload(T data) protected TDataBaseTable.updateAndReload(Connection c, T data) DataBaseTable.updateAndReload(T data) DBTableProxy.updateAndReload(X data) protected AbstractConnectionDataBaseTable.use()protected AbstractConnectionDBTableProxy.use() -
Uses of DBException in lu.kbra.pclib.db.utils
Fields in lu.kbra.pclib.db.utils with type parameters of type DBExceptionModifier and TypeFieldDescriptionprotected final Map<Class<? extends DataBaseEntry>,Map<Set<String>, ReadOnlyPair<List<ReadOnlyQuadruple<String, ColumnData, Type, Integer>>, ThrowingFunction<Object[], ? extends DataBaseEntry, DBException>>>> BaseDataBaseEntryUtils.argInstanceFactoryCacheMethods in lu.kbra.pclib.db.utils that return types with arguments of type DBExceptionModifier and TypeMethodDescriptionprotected <B extends SQLQueryable<T>,T extends DataBaseEntry>
Map<Set<String>,ReadOnlyPair<List<ReadOnlyQuadruple<String, ColumnData, Type, Integer>>, ThrowingFunction<Object[], ? extends DataBaseEntry, DBException>>> BaseDataBaseEntryUtils.computeInstanceFactories(Class<T> entryClazz, Class<B> tableClazz) Method parameters in lu.kbra.pclib.db.utils with type arguments of type DBExceptionModifier and TypeMethodDescriptionprotected <T extends DataBaseEntry>
TBaseDataBaseEntryUtils.fillLoad(Class<T> entryClazz, ResultSet rs, List<ReadOnlyQuadruple<String, ColumnData, Type, Integer>> mapping, ThrowingFunction<Object[], ? extends DataBaseEntry, DBException> factory) -
Uses of DBException in lu.kbra.pclib.db.view
Methods in lu.kbra.pclib.db.view that throw DBExceptionModifier and TypeMethodDescriptionprotected ConnectionDataBaseView.connect()Deprecated.intDataBaseView.count()DataBaseViewStatus<T,? extends AbstractDBView<T>> AbstractDBView.create()DataBaseViewStatus<T,? extends DataBaseView<T>> DataBaseView.create()protected ConnectionDataBaseView.createConnection()Deprecated.AbstractDBView.drop()DataBaseView.drop()booleanAbstractDBView.exists()booleanDataBaseView.exists()<B> BDataBaseView.use()