Searched defs:entities (Results 1 - 8 of 8) sorted by relevance

/frameworks/support/room/common/src/main/java/androidx/room/
H A DDatabase.java36 * {@literal @}Database(version = 1, entities = {User.class, Book.class})
66 * The list of entities included in the database. Each entity turns into a table in the
69 * @return The list of entities in the database.
71 Class[] entities(); method in interface:Database
/frameworks/support/room/integration-tests/testapp/src/androidTest/java/androidx/room/integration/testapp/dao/
H A DFunnyNamedDao.java36 void insert(FunnyNamedEntity... entities); argument
38 void delete(FunnyNamedEntity... entities); argument
40 void update(FunnyNamedEntity... entities); argument
/frameworks/support/room/runtime/src/main/java/androidx/room/
H A DEntityDeletionOrUpdateAdapter.java61 * Deletes or updates the given entities in the database and returns the affected row count.
77 * Deletes or updates the given entities in the database and returns the affected row count.
79 * @param entities Entities to delete or update
82 public final int handleMultiple(Iterable<T> entities) { argument
86 for (T entity : entities) {
97 * Deletes or updates the given entities in the database and returns the affected row count.
99 * @param entities Entities to delete or update
102 public final int handleMultiple(T[] entities) { argument
106 for (T entity : entities) {
H A DEntityInsertionAdapter.java71 * Inserts the given entities into the database.
73 * @param entities Entities to insert
75 public final void insert(T[] entities) { argument
78 for (T entity : entities) {
88 * Inserts the given entities into the database.
90 * @param entities Entities to insert
92 public final void insert(Iterable<T> entities) { argument
95 for (T entity : entities) {
121 * Inserts the given entities into the database and returns the row ids.
123 * @param entities Entitie
126 insertAndReturnIdsArray(Collection<T> entities) argument
148 insertAndReturnIdsArray(T[] entities) argument
170 insertAndReturnIdsArrayBox(Collection<T> entities) argument
192 insertAndReturnIdsArrayBox(T[] entities) argument
214 insertAndReturnIdsList(T[] entities) argument
236 insertAndReturnIdsList(Collection<T> entities) argument
[all...]
/frameworks/support/room/migration/src/main/java/androidx/room/migration/bundle/
H A DDatabaseBundle.java40 @SerializedName("entities")
51 * @param entities List of entities
53 public DatabaseBundle(int version, String identityHash, List<EntityBundle> entities, argument
57 mEntities = entities;
76 * @return List of entities.
83 * @return Map of entities, keyed by table name.
/frameworks/support/room/integration-tests/testapp/src/androidTest/java/androidx/room/integration/testapp/test/
H A DCollationTest.java184 void insert(CollateEntity... entities); argument
187 @Database(entities = CollateEntity.class, version = 1, exportSchema = false)
/frameworks/support/textclassifier/src/main/java/androidx/textclassifier/
H A DTextClassifier.java77 /** Designates that the TextClassifier should identify no entities. **/
79 /** Designates that the TextClassifier should identify a base set of entities determined by the
103 * Configuration object for specifying what entities to identify.
123 public EntityConfig includeEntities(String... entities) { argument
124 mIncludedEntityTypes.addAll(Arrays.asList(entities));
131 public EntityConfig excludeEntities(String... entities) { argument
132 mExcludedEntityTypes.addAll(Arrays.asList(entities));
137 * Returns an unmodifiable list of the final set of entities to find.
140 ArrayList<String> entities = new ArrayList<>();
143 entities
[all...]
/frameworks/base/core/java/android/view/textclassifier/
H A DTextClassifier.java394 * Configuration object for specifying what entities to identify.
419 * @param hints Hints for the TextClassifier to determine what types of entities to find.
435 * @param hints Hints for the TextClassifier to determine what types of entities to find
452 * @param entityTypes Complete set of entities, e.g. {@link #TYPE_URL} to find.
468 * Returns a list of the final set of entities to find.
470 * @param entities Entities we think should be found before factoring in includes/excludes
475 @NonNull Collection<String> entities) {
478 finalSet.addAll(entities);
563 final Collection<String> entities = request.getEntityConfig()
565 if (entities
474 resolveEntityListModifications( @onNull Collection<String> entities) argument
[all...]

Completed in 86 milliseconds