| /frameworks/support/room/compiler/src/test/kotlin/androidx/room/processor/ |
| EntityProcessorTest.kt | 41 @PrimaryKey 58 assertThat(entity.primaryKey.fields, `is`(listOf(field))) 65 @PrimaryKey 76 @PrimaryKey 88 @PrimaryKey 100 @PrimaryKey 111 @PrimaryKey 122 @PrimaryKey 133 @PrimaryKey 146 @PrimaryKey [all...] |
| /frameworks/support/room/compiler/src/main/kotlin/androidx/room/vo/ |
| Entity.kt | 28 val primaryKey: PrimaryKey, val indices: List<Index>, 41 identityKey.append(primaryKey) 50 val autoIncrement = primaryKey.autoGenerateId && primaryKey.fields.contains(it) 61 return if (primaryKey.fields.isEmpty() || primaryKey.autoGenerateId) { 64 val keys = primaryKey.fields.joinToString(", ") { "`${it.columnName}`" } 81 primaryKey.toBundle(), 86 return if (primaryKey.columnNames.size == columns.siz [all...] |
| PrimaryKey.kt | 22 * Represents a PrimaryKey for an Entity. 24 data class PrimaryKey(val declaredIn: Element?, val fields: List<Field>, 27 val MISSING = PrimaryKey(null, emptyList(), false) 33 return "PrimaryKey[" +
|
| /frameworks/support/room/integration-tests/kotlintestapp/schemas/androidx.room.integration.kotlintestapp.migration.MigrationDbKotlin/ |
| 2.json | 24 "primaryKey": { 49 "primaryKey": {
|
| 4.json | 24 "primaryKey": { 55 "primaryKey": { 86 "primaryKey": {
|
| 5.json | 24 "primaryKey": { 55 "primaryKey": { 80 "primaryKey": {
|
| 7.json | 24 "primaryKey": { 65 "primaryKey": { 91 "primaryKey": {
|
| 1.json | 24 "primaryKey": {
|
| 3.json | 24 "primaryKey": { 55 "primaryKey": {
|
| 6.json | 24 "primaryKey": { 55 "primaryKey": {
|
| /frameworks/support/room/integration-tests/kotlintestapp/src/androidTest/java/androidx/room/integration/kotlintestapp/vo/ |
| JavaEntity.java | 19 import androidx.room.PrimaryKey; 24 @PrimaryKey
|
| NoArgClass.kt | 20 import androidx.room.PrimaryKey 26 data class NoArgClass(@PrimaryKey var id: Long = 0, var class_name: String = ""
|
| Publisher.kt | 20 import androidx.room.PrimaryKey 23 data class Publisher(@PrimaryKey val publisherId: String, val name: String)
|
| /frameworks/support/room/integration-tests/testapp/schemas/androidx.room.integration.testapp.migration.MigrationDb/ |
| 2.json | 24 "primaryKey": { 49 "primaryKey": {
|
| 4.json | 24 "primaryKey": { 55 "primaryKey": { 87 "primaryKey": {
|
| 5.json | 24 "primaryKey": { 55 "primaryKey": { 81 "primaryKey": {
|
| 7.json | 24 "primaryKey": { 65 "primaryKey": { 91 "primaryKey": {
|
| 1.json | 24 "primaryKey": {
|
| /frameworks/support/room/integration-tests/testapp/src/androidTest/java/androidx/room/integration/testapp/vo/ |
| BlobEntity.java | 20 import androidx.room.PrimaryKey; 24 @PrimaryKey
|
| IntAutoIncPKeyEntity.java | 20 import androidx.room.PrimaryKey; 24 @PrimaryKey(autoGenerate = true)
|
| IntegerAutoIncPKeyEntity.java | 20 import androidx.room.PrimaryKey; 24 @PrimaryKey(autoGenerate = true)
|
| IntegerPKeyEntity.java | 20 import androidx.room.PrimaryKey; 24 @PrimaryKey
|
| ObjectPKeyEntity.java | 21 import androidx.room.PrimaryKey; 25 @PrimaryKey
|
| /frameworks/support/work/integration-tests/testapp/src/main/java/androidx/work/integration/testapp/db/ |
| WordCount.java | 19 import android.arch.persistence.room.PrimaryKey; 28 @PrimaryKey
|
| /frameworks/support/room/common/src/main/java/androidx/room/ |
| PrimaryKey.java | 31 * primary key. If both an {@link Entity} and its super class defines a {@code PrimaryKey}, the 32 * child's {@code PrimaryKey} definition will override the parent's {@code PrimaryKey}. 34 * If {@code PrimaryKey} annotation is used on a {@link Embedded}d field, all columns inherited 40 public @interface PrimaryKey {
|