Verwendungen von Schnittstelle
ch.framedev.javasqliteutils.Callback
-
Verwendungen von Callback in ch.framedev.javasqliteutils
Methoden in ch.framedev.javasqliteutils mit Parametern vom Typ CallbackModifizierer und TypMethodeBeschreibungstatic voidSQLite.addColumnAsync(String table, String column, Callback<Boolean> callback) voidSQLiteV2.addColumnAsync(String table, String column, Callback<Boolean> callback) Asynchronously adds a new column to an existing table.static voidSQLite.connectAsync(Callback<Connection> callback) voidSQLiteV2.connectAsync(Callback<Connection> callback) static voidSQLite.createTableAsync(String tableName, boolean date, String[] columns, Callback<Boolean> callback) Erstelle einen Table mit einem Table Name und verschiedene ColumnvoidSQLiteV2.createTableAsync(String tableName, boolean date, String[] columns, Callback<Boolean> callback) Asynchronously creates a table with the specified name and columns.static voidSQLite.deleteDataInTableAsync(String table, String where, Callback<Boolean> callback) static voidSQLite.deleteDataInTableAsync(String table, String whereColumn, String whereValue, String andColumn, String andValue, Callback<Boolean> callback) voidSQLiteV2.deleteDataInTableAsync(String table, String where, Callback<Boolean> callback) Asynchronously deletes data from a specified table based on a condition.voidSQLiteV2.deleteDataInTableAsync(String table, String whereColumn, String whereValue, String andColumn, String andValue, Callback<Boolean> callback) Asynchronously deletes data from a specified table based on two conditions.static voidstatic voidSQLite.existsAsync(String table, String column, String data, String andColumn, String andValue, Callback<Boolean> callback) voidAsynchronously checks if a record exists in a specified table based on a column and data.voidSQLiteV2.existsAsync(String table, String column, String data, String andColumn, String andValue, Callback<Boolean> callback) Asynchronously checks if a record exists in a specified table based on two conditions.static voidSQLite.getAsync(String table, String[] selectedColumns, String column, Object data, Callback<List<Object>> callback) static voidSQLite.getAsync(String table, String selected, String column, Object data, Callback<Object> callback) static <T> voidSQLite.getAsync(String table, String selected, String column, Object data, Class<T> type, Callback<T> callback) voidSQLiteV2.getAsync(String table, String[] selectedColumns, String column, Object data, Callback<List<Object>> callback) Asynchronously retrieves multiple values from a specified table based on a column and data.voidSQLiteV2.getAsync(String table, String selected, String column, Object data, Callback<Object> callback) Asynchronously retrieves a single value from a specified table based on a column and data.<T> voidSQLiteV2.getAsync(String table, String selected, String column, Object data, Class<T> type, Callback<T> callback) Asynchronously retrieves a single value from a specified table based on a column and data, with type casting.static voidvoidAsynchronously inserts data into a specified table with the given columns.static voidSQLite.isTableExistsAsync(String table, Callback<Boolean> callback) voidSQLiteV2.isTableExistsAsync(String table, Callback<Boolean> callback) Asynchronously checks if a table exists in the SQLite database.static voidSQLite.removeColumnAsync(String table, String column, Callback<Boolean> callback) voidSQLiteV2.removeColumnAsync(String table, String column, Callback<Boolean> callback) Asynchronously removes a column from an existing table.static voidSQLite.showColumnsAsync(String table, Callback<List<String>> callback) voidSQLiteV2.showColumnsAsync(String table, Callback<List<String>> callback) Asynchronously retrieves the names of all columns in a specified table.static voidSQLite.updateDataAsync(String table, String[] columns, Object[] values, String where, Callback<Boolean> callback) static voidSQLite.updateDataAsync(String table, String selected, Object data, String where, Callback<Boolean> callback) voidSQLiteV2.updateDataAsync(String table, String[] columns, Object[] values, String where, Callback<Boolean> callback) Asynchronously updates data in a specified table with multiple columns.voidSQLiteV2.updateDataAsync(String table, String selected, Object data, String where, Callback<Boolean> callback) Asynchronously updates data in a specified table.