| // Signature format: 3.0 |
| package androidx.room { |
| |
| @java.lang.annotation.Target({java.lang.annotation.ElementType.FIELD, java.lang.annotation.ElementType.METHOD}) @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.CLASS) public @interface ColumnInfo { |
| method @androidx.room.ColumnInfo.Collate public abstract int collate() default androidx.room.ColumnInfo.UNSPECIFIED; |
| method public abstract String defaultValue() default androidx.room.ColumnInfo.VALUE_UNSPECIFIED; |
| method public abstract boolean index() default false; |
| method public abstract String name() default androidx.room.ColumnInfo.INHERIT_FIELD_NAME; |
| method @androidx.room.ColumnInfo.SQLiteTypeAffinity public abstract int typeAffinity() default androidx.room.ColumnInfo.UNDEFINED; |
| field public static final int BINARY = 2; // 0x2 |
| field public static final int BLOB = 5; // 0x5 |
| field public static final String INHERIT_FIELD_NAME = "[field-name]"; |
| field public static final int INTEGER = 3; // 0x3 |
| field @RequiresApi(21) public static final int LOCALIZED = 5; // 0x5 |
| field public static final int NOCASE = 3; // 0x3 |
| field public static final int REAL = 4; // 0x4 |
| field public static final int RTRIM = 4; // 0x4 |
| field public static final int TEXT = 2; // 0x2 |
| field public static final int UNDEFINED = 1; // 0x1 |
| field @RequiresApi(21) public static final int UNICODE = 6; // 0x6 |
| field public static final int UNSPECIFIED = 1; // 0x1 |
| field public static final String VALUE_UNSPECIFIED = "[value-unspecified]"; |
| } |
| |
| @IntDef({androidx.room.ColumnInfo.UNSPECIFIED, androidx.room.ColumnInfo.BINARY, androidx.room.ColumnInfo.NOCASE, androidx.room.ColumnInfo.RTRIM, androidx.room.ColumnInfo.LOCALIZED, androidx.room.ColumnInfo.UNICODE}) @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.CLASS) public static @interface ColumnInfo.Collate { |
| } |
| |
| @IntDef({androidx.room.ColumnInfo.UNDEFINED, androidx.room.ColumnInfo.TEXT, androidx.room.ColumnInfo.INTEGER, androidx.room.ColumnInfo.REAL, androidx.room.ColumnInfo.BLOB}) @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.CLASS) public static @interface ColumnInfo.SQLiteTypeAffinity { |
| } |
| |
| @java.lang.annotation.Target(java.lang.annotation.ElementType.TYPE) @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.CLASS) public @interface Dao { |
| } |
| |
| @java.lang.annotation.Target(java.lang.annotation.ElementType.TYPE) @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.CLASS) public @interface Database { |
| method public abstract Class<?>[] entities(); |
| method public abstract boolean exportSchema() default true; |
| method public abstract int version(); |
| method public abstract Class<?>[] views() default {}; |
| } |
| |
| @java.lang.annotation.Target(java.lang.annotation.ElementType.TYPE) @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.CLASS) public @interface DatabaseView { |
| method public abstract String value() default ""; |
| method public abstract String viewName() default ""; |
| } |
| |
| @java.lang.annotation.Target(java.lang.annotation.ElementType.METHOD) @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.CLASS) public @interface Delete { |
| method public abstract Class<?> entity() default java.lang.Object.class; |
| } |
| |
| @java.lang.annotation.Target({java.lang.annotation.ElementType.FIELD, java.lang.annotation.ElementType.METHOD}) @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.CLASS) public @interface Embedded { |
| method public abstract String prefix() default ""; |
| } |
| |
| @java.lang.annotation.Target(java.lang.annotation.ElementType.TYPE) @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.CLASS) public @interface Entity { |
| method public abstract androidx.room.ForeignKey[] foreignKeys() default {}; |
| method public abstract String[] ignoredColumns() default {}; |
| method public abstract androidx.room.Index[] indices() default {}; |
| method public abstract boolean inheritSuperIndices() default false; |
| method public abstract String[] primaryKeys() default {}; |
| method public abstract String tableName() default ""; |
| } |
| |
| @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.CLASS) public @interface ForeignKey { |
| method public abstract String[] childColumns(); |
| method public abstract boolean deferred() default false; |
| method public abstract Class<?> entity(); |
| method @androidx.room.ForeignKey.Action public abstract int onDelete() default androidx.room.ForeignKey.NO_ACTION; |
| method @androidx.room.ForeignKey.Action public abstract int onUpdate() default androidx.room.ForeignKey.NO_ACTION; |
| method public abstract String[] parentColumns(); |
| field public static final int CASCADE = 5; // 0x5 |
| field public static final int NO_ACTION = 1; // 0x1 |
| field public static final int RESTRICT = 2; // 0x2 |
| field public static final int SET_DEFAULT = 4; // 0x4 |
| field public static final int SET_NULL = 3; // 0x3 |
| } |
| |
| @IntDef({androidx.room.ForeignKey.NO_ACTION, androidx.room.ForeignKey.RESTRICT, androidx.room.ForeignKey.SET_NULL, androidx.room.ForeignKey.SET_DEFAULT, androidx.room.ForeignKey.CASCADE}) @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.CLASS) public static @interface ForeignKey.Action { |
| } |
| |
| @RequiresApi(16) @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.CLASS) @java.lang.annotation.Target(java.lang.annotation.ElementType.TYPE) public @interface Fts3 { |
| method public abstract String tokenizer() default androidx.room.FtsOptions.TOKENIZER_SIMPLE; |
| method public abstract String[] tokenizerArgs() default {}; |
| } |
| |
| @RequiresApi(16) @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.CLASS) @java.lang.annotation.Target(java.lang.annotation.ElementType.TYPE) public @interface Fts4 { |
| method public abstract Class<?> contentEntity() default java.lang.Object.class; |
| method public abstract String languageId() default ""; |
| method public abstract androidx.room.FtsOptions.MatchInfo matchInfo() default androidx.room.FtsOptions.MatchInfo.FTS4; |
| method public abstract String[] notIndexed() default {}; |
| method public abstract androidx.room.FtsOptions.Order order() default androidx.room.FtsOptions.Order.ASC; |
| method public abstract int[] prefix() default {}; |
| method public abstract String tokenizer() default androidx.room.FtsOptions.TOKENIZER_SIMPLE; |
| method public abstract String[] tokenizerArgs() default {}; |
| } |
| |
| public class FtsOptions { |
| field public static final String TOKENIZER_ICU = "icu"; |
| field public static final String TOKENIZER_PORTER = "porter"; |
| field public static final String TOKENIZER_SIMPLE = "simple"; |
| field @RequiresApi(21) public static final String TOKENIZER_UNICODE61 = "unicode61"; |
| } |
| |
| public enum FtsOptions.MatchInfo { |
| enum_constant public static final androidx.room.FtsOptions.MatchInfo FTS3; |
| enum_constant public static final androidx.room.FtsOptions.MatchInfo FTS4; |
| } |
| |
| public enum FtsOptions.Order { |
| enum_constant public static final androidx.room.FtsOptions.Order ASC; |
| enum_constant public static final androidx.room.FtsOptions.Order DESC; |
| } |
| |
| @java.lang.annotation.Target({java.lang.annotation.ElementType.METHOD, java.lang.annotation.ElementType.FIELD, java.lang.annotation.ElementType.CONSTRUCTOR}) @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.CLASS) public @interface Ignore { |
| } |
| |
| @java.lang.annotation.Target({}) @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.CLASS) public @interface Index { |
| method public abstract String name() default ""; |
| method public abstract boolean unique() default false; |
| method public abstract String[] value(); |
| } |
| |
| @java.lang.annotation.Target({java.lang.annotation.ElementType.METHOD}) @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.CLASS) public @interface Insert { |
| method public abstract Class<?> entity() default java.lang.Object.class; |
| method @androidx.room.OnConflictStrategy public abstract int onConflict() default androidx.room.OnConflictStrategy.ABORT; |
| } |
| |
| @java.lang.annotation.Target({}) @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.CLASS) public @interface Junction { |
| method public abstract String entityColumn() default ""; |
| method public abstract String parentColumn() default ""; |
| method public abstract Class<?> value(); |
| } |
| |
| @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.CLASS) @IntDef({androidx.room.OnConflictStrategy.REPLACE, androidx.room.OnConflictStrategy.ROLLBACK, androidx.room.OnConflictStrategy.ABORT, androidx.room.OnConflictStrategy.FAIL, androidx.room.OnConflictStrategy.IGNORE}) public @interface OnConflictStrategy { |
| field public static final int ABORT = 3; // 0x3 |
| field @Deprecated public static final int FAIL = 4; // 0x4 |
| field public static final int IGNORE = 5; // 0x5 |
| field public static final int REPLACE = 1; // 0x1 |
| field @Deprecated public static final int ROLLBACK = 2; // 0x2 |
| } |
| |
| @java.lang.annotation.Target({java.lang.annotation.ElementType.FIELD, java.lang.annotation.ElementType.METHOD}) @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.CLASS) public @interface PrimaryKey { |
| method public abstract boolean autoGenerate() default false; |
| } |
| |
| @java.lang.annotation.Target(java.lang.annotation.ElementType.METHOD) @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.CLASS) public @interface Query { |
| method public abstract String value(); |
| } |
| |
| @java.lang.annotation.Target(java.lang.annotation.ElementType.METHOD) @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.CLASS) public @interface RawQuery { |
| method public abstract Class<?>[] observedEntities() default {}; |
| } |
| |
| @java.lang.annotation.Target({java.lang.annotation.ElementType.FIELD, java.lang.annotation.ElementType.METHOD}) @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.CLASS) public @interface Relation { |
| method public abstract androidx.room.Junction associateBy() default @androidx.room.Junction; |
| method public abstract Class<?> entity() default java.lang.Object.class; |
| method public abstract String entityColumn(); |
| method public abstract String parentColumn(); |
| method public abstract String[] projection() default {}; |
| } |
| |
| @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public class RoomMasterTable { |
| method public static String! createInsertQuery(String!); |
| field public static final String CREATE_QUERY = "CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)"; |
| field public static final String DEFAULT_ID = "42"; |
| field public static final String NAME = "room_master_table"; |
| field public static final String READ_QUERY = "SELECT identity_hash FROM room_master_table WHERE id = 42 LIMIT 1"; |
| field public static final String TABLE_NAME = "room_master_table"; |
| } |
| |
| public class RoomWarnings { |
| ctor @Deprecated public RoomWarnings(); |
| field public static final String CANNOT_CREATE_VERIFICATION_DATABASE = "ROOM_CANNOT_CREATE_VERIFICATION_DATABASE"; |
| field public static final String CURSOR_MISMATCH = "ROOM_CURSOR_MISMATCH"; |
| field public static final String DEFAULT_CONSTRUCTOR = "ROOM_DEFAULT_CONSTRUCTOR"; |
| field public static final String INDEX_FROM_EMBEDDED_ENTITY_IS_DROPPED = "ROOM_EMBEDDED_ENTITY_INDEX_IS_DROPPED"; |
| field public static final String INDEX_FROM_EMBEDDED_FIELD_IS_DROPPED = "ROOM_EMBEDDED_INDEX_IS_DROPPED"; |
| field public static final String INDEX_FROM_PARENT_FIELD_IS_DROPPED = "ROOM_PARENT_FIELD_INDEX_IS_DROPPED"; |
| field public static final String INDEX_FROM_PARENT_IS_DROPPED = "ROOM_PARENT_INDEX_IS_DROPPED"; |
| field public static final String MISMATCHED_GETTER = "ROOM_MISMATCHED_GETTER_TYPE"; |
| field public static final String MISMATCHED_SETTER = "ROOM_MISMATCHED_SETTER_TYPE"; |
| field public static final String MISSING_INDEX_ON_FOREIGN_KEY_CHILD = "ROOM_MISSING_FOREIGN_KEY_CHILD_INDEX"; |
| field public static final String MISSING_JAVA_TMP_DIR = "ROOM_MISSING_JAVA_TMP_DIR"; |
| field public static final String MISSING_SCHEMA_LOCATION = "ROOM_MISSING_SCHEMA_LOCATION"; |
| field public static final String PRIMARY_KEY_FROM_EMBEDDED_IS_DROPPED = "ROOM_EMBEDDED_PRIMARY_KEY_IS_DROPPED"; |
| field public static final String RELATION_QUERY_WITHOUT_TRANSACTION = "ROOM_RELATION_QUERY_WITHOUT_TRANSACTION"; |
| field public static final String RELATION_TYPE_MISMATCH = "ROOM_RELATION_TYPE_MISMATCH"; |
| } |
| |
| @java.lang.annotation.Target({java.lang.annotation.ElementType.METHOD, java.lang.annotation.ElementType.TYPE}) @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.CLASS) public @interface SkipQueryVerification { |
| } |
| |
| @java.lang.annotation.Target({java.lang.annotation.ElementType.METHOD}) @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.CLASS) public @interface Transaction { |
| } |
| |
| @java.lang.annotation.Target({java.lang.annotation.ElementType.METHOD}) @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.CLASS) public @interface TypeConverter { |
| } |
| |
| @java.lang.annotation.Target({java.lang.annotation.ElementType.METHOD, java.lang.annotation.ElementType.PARAMETER, java.lang.annotation.ElementType.TYPE, java.lang.annotation.ElementType.FIELD}) @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.CLASS) public @interface TypeConverters { |
| method public abstract Class<?>[] value(); |
| } |
| |
| @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.CLASS) public @interface Update { |
| method public abstract Class<?> entity() default java.lang.Object.class; |
| method @androidx.room.OnConflictStrategy public abstract int onConflict() default androidx.room.OnConflictStrategy.ABORT; |
| } |
| |
| } |
| |