Home
last modified time | relevance | path

Searched refs:Migrator (Results 1 – 6 of 6) sorted by relevance

/packages/modules/AppSearch/framework/java/external/android/app/appsearch/util/
DSchemaMigrationUtil.java24 import android.app.appsearch.Migrator;
48 public static Map<String, Migrator> getActiveMigrators( in getActiveMigrators()
50 @NonNull Map<String, Migrator> migrators, in getActiveMigrators()
61 Map<String, Migrator> activeMigrators = new ArrayMap<>(); in getActiveMigrators()
62 for (Map.Entry<String, Migrator> entry : migrators.entrySet()) { in getActiveMigrators()
65 Migrator migrator = entry.getValue(); in getActiveMigrators()
/packages/modules/AppSearch/framework/java/external/android/app/appsearch/
DSetSchemaRequest.java176 private final Map<String, Migrator> mMigrators;
187 @NonNull Map<String, Migrator> migrators, in SetSchemaRequest()
300 public Map<String, Migrator> getMigrators() { in getMigrators()
340 private ArrayMap<String, Migrator> mMigrators = new ArrayMap<>();
642 public Builder setMigrator(@NonNull String schemaType, @NonNull Migrator migrator) { in setMigrator()
676 public Builder setMigrators(@NonNull Map<String, Migrator> migrators) { in setMigrators()
DMigrator.java37 public abstract class Migrator { class
/packages/modules/AppSearch/framework/java/android/app/appsearch/
DAppSearchMigrationHelper.java133 @NonNull Migrator migrator, in queryAndTransform()
251 @NonNull Migrator migrator, in readAndTransform()
DAppSearchSession.java1059 Map<String, Migrator> activeMigrators = in setSchemaWithMigrations()
1159 for (Map.Entry<String, Migrator> entry : activeMigrators.entrySet()) { in setSchemaWithMigrations()
/packages/modules/AppSearch/framework/api/
Dcurrent.txt346 public abstract class Migrator {
347 ctor public Migrator();
648 …method @NonNull public java.util.Map<java.lang.String,android.app.appsearch.Migrator> getMigrators…
675 …rch.SetSchemaRequest.Builder setMigrator(@NonNull String, @NonNull android.app.appsearch.Migrator);
676 …uest.Builder setMigrators(@NonNull java.util.Map<java.lang.String,android.app.appsearch.Migrator>);