SQLite-specific wrapper around JdbcDatabaseClient.
More...
Classes | |
| class | Builder |
Builder for SQLiteDatabaseClient. | |
| interface | DatabaseOperation |
| Functional interface for database operations. More... | |
Public Member Functions | |
| long[] | batch (final String sql, final List< StatementBinder > binders) |
| int | execute (final SqlQuery query) |
| Executes a SQL statement (INSERT, UPDATE, DELETE, or stored procedure call). | |
| Optional< SQLiteConfig > | getConfig () |
| Returns the SQLite configuration, if present. | |
| SQLiteDatabaseClient (final DataSource dataSource) | |
Creates a new SQLiteDatabaseClient with the specified data source. | |
| SQLiteDatabaseClient (final DataSource dataSource, final SQLiteConfig config) | |
Creates a new SQLiteDatabaseClient with the specified data source and configuration. | |
Static Public Member Functions | |
| static Builder | builder (final DataSource dataSource) |
Returns a builder for creating SQLiteDatabaseClient instances. | |
SQLite-specific wrapper around JdbcDatabaseClient.
This class provides SQLite-specific configuration and error handling while delegating all database operations to JdbcDatabaseClient.
Definition at line 55 of file SQLiteDatabaseClient.java.
| dev.rafex.ether.database.sqlite.client.SQLiteDatabaseClient.SQLiteDatabaseClient | ( | final DataSource | dataSource | ) |
Creates a new SQLiteDatabaseClient with the specified data source.
| dataSource | the data source to use for database connections |
| NullPointerException | if dataSource is null |
Definition at line 66 of file SQLiteDatabaseClient.java.
| dev.rafex.ether.database.sqlite.client.SQLiteDatabaseClient.SQLiteDatabaseClient | ( | final DataSource | dataSource, |
| final SQLiteConfig | config ) |
Creates a new SQLiteDatabaseClient with the specified data source and configuration.
| dataSource | the data source to use for database connections |
| config | the SQLite configuration to apply |
| NullPointerException | if dataSource or config is null |
Definition at line 78 of file SQLiteDatabaseClient.java.
| long[] dev.rafex.ether.database.sqlite.client.SQLiteDatabaseClient.batch | ( | final String | sql, |
| final List< StatementBinder > | binders ) |
Implements dev.rafex.ether.database.core.DatabaseClient.
Definition at line 287 of file SQLiteDatabaseClient.java.
|
static |
Returns a builder for creating SQLiteDatabaseClient instances.
| dataSource | the data source to use |
Definition at line 93 of file SQLiteDatabaseClient.java.
| int dev.rafex.ether.database.sqlite.client.SQLiteDatabaseClient.execute | ( | final SqlQuery | query | ) |
Executes a SQL statement (INSERT, UPDATE, DELETE, or stored procedure call).
| query | the SQL query to execute |
Implements dev.rafex.ether.database.core.DatabaseClient.
Definition at line 282 of file SQLiteDatabaseClient.java.
| Optional< SQLiteConfig > dev.rafex.ether.database.sqlite.client.SQLiteDatabaseClient.getConfig | ( | ) |
Returns the SQLite configuration, if present.
Definition at line 229 of file SQLiteDatabaseClient.java.