androidx.room
Annotations
AutoMigration |
Declares an automatic migration on a Database. |
BuiltInTypeConverters |
Flags to turn on/off extra type converters provided by Room. |
ColumnInfo |
Allows specific customization about the column associated with this field. |
ColumnInfo.Collate |
|
ColumnInfo.SQLiteTypeAffinity |
The SQLite column type constants that can be used in typeAffinity() |
ConstructedBy |
Defines the |
Dao |
Marks the class as a Data Access Object. |
Database |
Marks a class as a |
DatabaseView |
Marks a class as an SQLite view. |
Delete |
Marks a method in a |
DeleteColumn |
Repeatable annotation declaring the deleted columns in the |
DeleteColumn.Entries |
Container annotation for the repeatable annotation |
DeleteTable |
Repeatable annotation declaring the deleted tables in the |
DeleteTable.Entries |
Container annotation for the repeatable annotation |
Embedded |
Marks a field of an |
Entity |
Marks a class as an entity. |
ExperimentalRoomApi |
APIs marked with ExperimentalRoomApi are experimental and may change. |
ForeignKey |
Declares a foreign key on another |
ForeignKey.Action |
Constants definition for values that can be used in |
Fts3 |
Marks an |
Fts4 |
Marks an |
Ignore |
Ignores the marked element from Room's processing logic. |
Index |
Declares an index on an |
Insert |
Marks a method in a |
Junction |
Declares a junction to be used for joining a relationship. |
MapColumn |
Declares which column is used to build a map or multimap return value in a |
MapInfo |
This annotation is deprecated. Use @MapColumn instead. |
OnConflictStrategy |
Set of conflict handling strategies for various {@link Dao} methods. |
PrimaryKey |
Marks a field in an |
ProvidedAutoMigrationSpec |
Marks a class as an auto migration spec that will be provided to Room at runtime. |
ProvidedTypeConverter |
Marks a class as a type converter that will be provided to Room at runtime. |
Query |
Marks a method in a |
RawQuery |
Marks a method in a |
Relation |
A convenience annotation which can be used in a POJO to automatically fetch relation entities. |
RenameColumn |
Repeatable annotation declaring the renamed columns in the |
RenameColumn.Entries |
Container annotation for the repeatable annotation |
RenameTable |
Repeatable annotation declaring the renamed tables in the new version of an auto migration. |
RenameTable.Entries |
Container annotation for the repeatable annotation |
RewriteQueriesToDropUnusedColumns |
When present, |
SkipQueryVerification |
Skips database verification for the annotated element. |
Transaction |
Marks a method in a |
TypeConverter |
Marks a method as a type converter. |
TypeConverters |
Specifies additional type converters that Room can use. |
Update |
Marks a method in a |
Upsert |
Marks a method in a |
Interfaces
PooledConnection |
A wrapper of |
RoomDatabaseConstructor |
Defines a class that can instantiate the Room generated implementation of an 'abstract' |
RoomOpenDelegateMarker |
Marker interface for Room's code generated delegate. |
TransactionScope |
A |
Transactor |
A |
Classes
DatabaseConfiguration |
Configuration class for a |
InvalidationTracker |
The invalidation tracker keeps track of tables modified by queries and notifies its created |
MultiInstanceInvalidationService |
A |
RoomDatabase |
Base class for all Room databases. |
RoomDatabase.Builder |
Builder for |
RoomDatabase.Callback |
Callback for |
RoomDatabase.MigrationContainer |
A container to hold migrations. |
RoomDatabaseKt |
|
RoomRawQuery |
A query with an argument binding function. |
RoomWarnings |
The list of warnings that are produced by Room. |
RxRoom |
|
TransactorKt |
|
FtsOptions |
|
Room |
Entry point for building and initializing a |
Enums
BuiltInTypeConverters.State |
Control flags for built in converters. |
FtsOptions.MatchInfo |
|
FtsOptions.Order |
|
Index.Order |
|
RoomDatabase.JournalMode |
Journal modes for SQLite database. |
Transactor.SQLiteTransactionType |
Transaction types. |
Exceptions
EmptyResultSetException |
Thrown by Room when the query in a |