Searched refs:migrator (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/apex/appsearch/framework/java/external/android/app/appsearch/util/ |
D | SchemaMigrationUtil.java | 63 Migrator migrator = entry.getValue(); in getActiveMigrators() local 65 && migrator.shouldMigrate(currentVersion, finalVersion)) { in getActiveMigrators() 66 activeMigrators.put(schemaType, migrator); in getActiveMigrators()
|
/frameworks/base/apex/appsearch/framework/java/android/app/appsearch/ |
D | AppSearchMigrationHelper.java | 94 public void queryAndTransform(@NonNull String schemaType, @NonNull Migrator migrator, in queryAndTransform() argument 119 readAndTransform(queryFile, migrator, currentVersion, finalVersion); in queryAndTransform() 181 private void readAndTransform(@NonNull File file, @NonNull Migrator migrator, in readAndTransform() argument 198 newDocument = migrator.onUpgrade(currentVersion, finalVersion, document); in readAndTransform() 201 newDocument = migrator.onDowngrade(currentVersion, finalVersion, document); in readAndTransform()
|
/frameworks/base/apex/appsearch/framework/java/external/android/app/appsearch/ |
D | SetSchemaRequest.java | 315 public Builder setMigrator(@NonNull String schemaType, @NonNull Migrator migrator) { in setMigrator() argument 317 Objects.requireNonNull(migrator); in setMigrator() 319 mMigrators.put(schemaType, migrator); in setMigrator()
|