Home
last modified time | relevance | path

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

/frameworks/support/room/runtime/src/main/java/androidx/room/util/
DTableInfo.java226 final int primaryKeyPosition = cursor.getInt(pkIndex); in readColumns() local
227 columns.put(name, new Column(name, type, notNull, primaryKeyPosition)); in readColumns()
344 public final int primaryKeyPosition; field in TableInfo.Column
347 public Column(String name, String type, boolean notNull, int primaryKeyPosition) { in Column() argument
351 this.primaryKeyPosition = primaryKeyPosition; in Column()
395 if (primaryKeyPosition != column.primaryKeyPosition) return false; in equals()
412 return primaryKeyPosition > 0; in isPrimaryKey()
420 result = 31 * result + primaryKeyPosition; in hashCode()
431 + ", primaryKeyPosition=" + primaryKeyPosition in toString()