1// Signature format: 4.0
2package androidx.room.migration.bundle {
3
4  @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public class BundleUtil {
5    field public static final String TABLE_NAME_PLACEHOLDER = "${TABLE_NAME}";
6    field public static final String VIEW_NAME_PLACEHOLDER = "${VIEW_NAME}";
7  }
8
9  @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public class DatabaseBundle {
10    ctor public DatabaseBundle();
11    ctor public DatabaseBundle(int, String!, java.util.List<androidx.room.migration.bundle.EntityBundle!>!, java.util.List<androidx.room.migration.bundle.DatabaseViewBundle!>!, java.util.List<java.lang.String!>!);
12    method public java.util.List<java.lang.String!>! buildCreateQueries();
13    method public java.util.List<androidx.room.migration.bundle.EntityBundle!>! getEntities();
14    method public java.util.Map<java.lang.String!,androidx.room.migration.bundle.EntityBundle!>! getEntitiesByTableName();
15    method public String! getIdentityHash();
16    method public int getVersion();
17    method public java.util.List<androidx.room.migration.bundle.DatabaseViewBundle!>! getViews();
18    method public boolean isSchemaEqual(androidx.room.migration.bundle.DatabaseBundle!);
19  }
20
21  @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public class DatabaseViewBundle {
22    ctor public DatabaseViewBundle(String!, String!);
23    method public String! createView();
24    method public String! getCreateSql();
25    method public String! getViewName();
26    method public boolean isSchemaEqual(androidx.room.migration.bundle.DatabaseViewBundle!);
27  }
28
29  @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public class EntityBundle {
30    ctor public EntityBundle(String!, String!, java.util.List<androidx.room.migration.bundle.FieldBundle!>!, androidx.room.migration.bundle.PrimaryKeyBundle!, java.util.List<androidx.room.migration.bundle.IndexBundle!>!, java.util.List<androidx.room.migration.bundle.ForeignKeyBundle!>!);
31    method public java.util.Collection<java.lang.String!>! buildCreateQueries();
32    method public String! createNewTable();
33    method public String! createTable();
34    method public String! getCreateSql();
35    method public java.util.List<androidx.room.migration.bundle.FieldBundle!>! getFields();
36    method public java.util.Map<java.lang.String!,androidx.room.migration.bundle.FieldBundle!>! getFieldsByColumnName();
37    method public java.util.List<androidx.room.migration.bundle.ForeignKeyBundle!>! getForeignKeys();
38    method public java.util.List<androidx.room.migration.bundle.IndexBundle!>! getIndices();
39    method public String! getNewTableName();
40    method public androidx.room.migration.bundle.PrimaryKeyBundle! getPrimaryKey();
41    method public String! getTableName();
42    method public boolean isSchemaEqual(androidx.room.migration.bundle.EntityBundle!);
43    method public String renameToOriginal();
44  }
45
46  @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public class FieldBundle {
47    ctor public FieldBundle(String!, String!, String!, boolean);
48    method public String! getAffinity();
49    method public String! getColumnName();
50    method public String! getFieldPath();
51    method public boolean isNonNull();
52    method public boolean isSchemaEqual(androidx.room.migration.bundle.FieldBundle!);
53  }
54
55  @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public class ForeignKeyBundle {
56    ctor public ForeignKeyBundle(String!, String!, String!, java.util.List<java.lang.String!>!, java.util.List<java.lang.String!>!);
57    method public java.util.List<java.lang.String!>! getColumns();
58    method public String! getOnDelete();
59    method public String! getOnUpdate();
60    method public java.util.List<java.lang.String!>! getReferencedColumns();
61    method public String! getTable();
62    method public boolean isSchemaEqual(androidx.room.migration.bundle.ForeignKeyBundle!);
63  }
64
65  @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public class FtsEntityBundle extends androidx.room.migration.bundle.EntityBundle {
66    ctor public FtsEntityBundle(String!, String!, java.util.List<androidx.room.migration.bundle.FieldBundle!>!, androidx.room.migration.bundle.PrimaryKeyBundle!, String!, androidx.room.migration.bundle.FtsOptionsBundle!, java.util.List<java.lang.String!>!);
67    method public androidx.room.migration.bundle.FtsOptionsBundle! getFtsOptions();
68    method public java.util.List<java.lang.String!>! getShadowTableNames();
69  }
70
71  @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public class FtsOptionsBundle {
72    ctor public FtsOptionsBundle(String!, java.util.List<java.lang.String!>!, String!, String!, String!, java.util.List<java.lang.String!>!, java.util.List<java.lang.Integer!>!, String!);
73    method public String! getContentTable();
74    method public boolean isSchemaEqual(androidx.room.migration.bundle.FtsOptionsBundle!);
75  }
76
77  @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public class IndexBundle {
78    ctor public IndexBundle(String!, boolean, java.util.List<java.lang.String!>!, String!);
79    method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public String! create(String!);
80    method public java.util.List<java.lang.String!>! getColumnNames();
81    method public String! getName();
82    method public boolean isSchemaEqual(androidx.room.migration.bundle.IndexBundle!);
83    method public boolean isUnique();
84    field public static final String DEFAULT_PREFIX = "index_";
85  }
86
87  @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public class PrimaryKeyBundle {
88    ctor public PrimaryKeyBundle(boolean, java.util.List<java.lang.String!>!);
89    method public java.util.List<java.lang.String!>! getColumnNames();
90    method public boolean isAutoGenerate();
91    method public boolean isSchemaEqual(androidx.room.migration.bundle.PrimaryKeyBundle!);
92  }
93
94  @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public class SchemaBundle {
95    ctor public SchemaBundle(int, androidx.room.migration.bundle.DatabaseBundle!);
96    method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public static androidx.room.migration.bundle.SchemaBundle! deserialize(java.io.InputStream!) throws java.io.UnsupportedEncodingException;
97    method public androidx.room.migration.bundle.DatabaseBundle! getDatabase();
98    method public int getFormatVersion();
99    method public boolean isSchemaEqual(androidx.room.migration.bundle.SchemaBundle!);
100    method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public static void serialize(androidx.room.migration.bundle.SchemaBundle!, java.io.File!) throws java.io.IOException;
101    field public static final int LATEST_FORMAT = 1; // 0x1
102  }
103
104}
105
106