Stay organized with collections
Save and categorize content based on your preferences.
android.database.sqlite
Interfaces
Classes
Exceptions
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# android.database.sqlite\n=======================\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/database/sqlite/package-summary \"View this page in Java\")\n\nInterfaces\n----------\n\n|--------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------|\n| [SQLiteCursorDriver](/reference/kotlin/android/database/sqlite/SQLiteCursorDriver) | A driver for SQLiteCursors that is used to create them and gets notified by the cursors it creates on significant events in their lifetimes. |\n| [CursorFactory](/reference/kotlin/android/database/sqlite/SQLiteDatabase.CursorFactory) | Used to allow returning sub-classes of [Cursor](../Cursor.html#) when calling query. |\n| [SQLiteTransactionListener](/reference/kotlin/android/database/sqlite/SQLiteTransactionListener) | A listener for transaction events. |\n\nClasses\n-------\n\n|------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [SQLiteClosable](/reference/kotlin/android/database/sqlite/SQLiteClosable) | An object created from a SQLiteDatabase that can be closed. |\n| [SQLiteCursor](/reference/kotlin/android/database/sqlite/SQLiteCursor) | A Cursor implementation that exposes results from a query on a [SQLiteDatabase](/reference/kotlin/android/database/sqlite/SQLiteDatabase). |\n| [SQLiteDatabase](/reference/kotlin/android/database/sqlite/SQLiteDatabase) | Exposes methods to manage a SQLite database. |\n| [SQLiteOpenHelper](/reference/kotlin/android/database/sqlite/SQLiteOpenHelper) | A helper class to manage database creation and version management. |\n| [SQLiteProgram](/reference/kotlin/android/database/sqlite/SQLiteProgram) | A base class for compiled SQLite programs. |\n| [SQLiteQuery](/reference/kotlin/android/database/sqlite/SQLiteQuery) | Represents a query that reads the resulting rows into a [SQLiteQuery](/reference/kotlin/android/database/sqlite/SQLiteQuery). |\n| [SQLiteQueryBuilder](/reference/kotlin/android/database/sqlite/SQLiteQueryBuilder) | This is a convenience class that helps build SQL queries to be sent to [SQLiteDatabase](/reference/kotlin/android/database/sqlite/SQLiteDatabase) objects. |\n| [SQLiteRawStatement](/reference/kotlin/android/database/sqlite/SQLiteRawStatement) | A represents a SQLite prepared statement. |\n| [SQLiteStatement](/reference/kotlin/android/database/sqlite/SQLiteStatement) | Represents a statement that can be executed against a database. |\n\nExceptions\n----------\n\n|------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------|\n| [SQLiteAbortException](/reference/kotlin/android/database/sqlite/SQLiteAbortException) | An exception that indicates that the SQLite program was aborted. |\n| [SQLiteAccessPermException](/reference/kotlin/android/database/sqlite/SQLiteAccessPermException) | This exception class is used when sqlite can't access the database file due to lack of permissions on the file. |\n| [SQLiteBindOrColumnIndexOutOfRangeException](/reference/kotlin/android/database/sqlite/SQLiteBindOrColumnIndexOutOfRangeException) | Thrown if the bind or column parameter index is out of range. |\n| [SQLiteBlobTooBigException](/reference/kotlin/android/database/sqlite/SQLiteBlobTooBigException) | \u003cbr /\u003e |\n| [SQLiteCantOpenDatabaseException](/reference/kotlin/android/database/sqlite/SQLiteCantOpenDatabaseException) | \u003cbr /\u003e |\n| [SQLiteConstraintException](/reference/kotlin/android/database/sqlite/SQLiteConstraintException) | An exception that indicates that an integrity constraint was violated. |\n| [SQLiteDatabaseCorruptException](/reference/kotlin/android/database/sqlite/SQLiteDatabaseCorruptException) | An exception that indicates that the SQLite database file is corrupt. |\n| [SQLiteDatabaseLockedException](/reference/kotlin/android/database/sqlite/SQLiteDatabaseLockedException) | Thrown if the database engine was unable to acquire the database locks it needs to do its job. |\n| [SQLiteDatatypeMismatchException](/reference/kotlin/android/database/sqlite/SQLiteDatatypeMismatchException) | \u003cbr /\u003e |\n| [SQLiteDiskIOException](/reference/kotlin/android/database/sqlite/SQLiteDiskIOException) | Indicates that an IO error occurred while accessing the SQLite database file. |\n| [SQLiteDoneException](/reference/kotlin/android/database/sqlite/SQLiteDoneException) | An exception that indicates that the SQLite program is done. |\n| [SQLiteException](/reference/kotlin/android/database/sqlite/SQLiteException) | A SQLite exception that indicates there was an error with SQL parsing or execution. |\n| [SQLiteFullException](/reference/kotlin/android/database/sqlite/SQLiteFullException) | An exception that indicates that the SQLite database is full. |\n| [SQLiteMisuseException](/reference/kotlin/android/database/sqlite/SQLiteMisuseException) | This error can occur if the application creates a SQLiteStatement object and allows multiple threads in the application use it at the same time. |\n| [SQLiteOutOfMemoryException](/reference/kotlin/android/database/sqlite/SQLiteOutOfMemoryException) | \u003cbr /\u003e |\n| [SQLiteReadOnlyDatabaseException](/reference/kotlin/android/database/sqlite/SQLiteReadOnlyDatabaseException) | \u003cbr /\u003e |\n| [SQLiteTableLockedException](/reference/kotlin/android/database/sqlite/SQLiteTableLockedException) | \u003cbr /\u003e |"]]