BundledSQLiteDriver


public final class BundledSQLiteDriver implements SQLiteDriver


A SQLiteDriver that uses a bundled version of SQLite included as a native component of this library.

Summary

Public constructors

Public methods

@NonNull SQLiteConnection
open(@NonNull String fileName)

Opens a new database connection.

final @NonNull SQLiteConnection
open(@NonNull String fileName, int flags)

Opens a new database connection.

Inherited methods

From androidx.sqlite.SQLiteDriver
abstract @NonNull SQLiteConnection
open(@NonNull String fileName)

Opens a new database connection.

Public constructors

BundledSQLiteDriver

Added in 2.5.0-alpha12
public BundledSQLiteDriver()

BundledSQLiteDriver

Added in 2.5.0-alpha12
public BundledSQLiteDriver()

Public methods

open

Added in 2.5.0-alpha12
public @NonNull SQLiteConnection open(@NonNull String fileName)

Opens a new database connection.

Parameters
@NonNull String fileName

Name of the database file.

Returns
@NonNull SQLiteConnection

the database connection.

open

Added in 2.5.0-alpha12
public final @NonNull SQLiteConnection open(@NonNull String fileName, int flags)

Opens a new database connection.

See also Opening A New Database Connection

Parameters
@NonNull String fileName

Name of the database file.

int flags

Connection open flags.

Returns
@NonNull SQLiteConnection

the database connection.