floor_common library

Classes

Callback
Callback class that can be attached to the Floor builder.
ColumnInfo
Allows customization of the column associated with this field.
Database
Marks a class as a FloorDatabase.
DatabaseView
Marks a class as a database view (a fixed select statement).
DeletionAdapter<T>
Entity
Marks a class as a database entity (table).
FloorDatabase
Extend this class to enable database functionality.
ForeignKey
Declares a foreign key on another Entity.
Fts3
Marks an Entity annotated class as an FTS3 entity. This class will have a mapping SQLite FTS3 table in the database.
Fts4
Marks an Entity annotated class as an FTS4 entity. This class will have a mapping SQLite FTS4 table in the database.
FtsTokenizer
Available option values that can be used with Fts3 & Fts4.
Index
Declares an index on an Entity. see: SQLite Index Documentation
Insert
Marks a method as an insert method.
InsertionAdapter<T>
Migration
Base class for a database migration.
MigrationAdapter
PrimaryKey
Marks a field in an Entity as the primary key.
Query
Marks a method as a query method.
QueryAdapter
This class knows how to execute database queries.
TypeConverter<T, S>
Base class for type converters which can be applied to:
TypeConverters
Specifies additional type converters that Floor can use. The TypeConverter is added to the scope of the element so if you put it on a class, all methods/fields in that class will be able to use the converter.
Update
Marks a method as an update method.
UpdateAdapter<T>

Enums

ForeignKeyAction
Constants definition for values that can be used in ForeignKey.onDelete and ForeignKey.onUpdate
OnConflictStrategy
Set of conflict handling strategies for insert and update methods.

Constants

dao → const _Dao
Marks the class as a Data Access Object.
delete → const _Delete
Marks a method as a deletion method.
entity → const Entity
Marks a class as a database entity (table).
fts3 → const Fts3
Marks an Entity annotated class as an FTS3 entity. This class will have a mapping SQLite FTS3 table in the database.
fts4 → const Fts4
Marks an Entity annotated class as an FTS4 entity. This class will have a mapping SQLite FTS4 table in the database.
ignore → const _Ignore
Ignores the marked element from Floor's processing logic. It can only be applied to entity's fields.
insert → const Insert
Marks a method as an insert method.
primaryKey → const PrimaryKey
Marks a field in an Entity as the primary key.
transaction → const _Transaction
Marks a method as a transaction method.
update → const Update
Marks a method as an update method.