Annotation Interface PrimaryKey
Annotation which defines the set of columns that uniquely identify a row instance. A row
definition must have exactly one
@PrimaryKey
annotation.
A primary key is itself a special kind of index, and so no additional annotations are required to ensure that searches against the primary key are efficient.
- See Also:
-
Required Element Summary
Required Elements
-
Element Details
-
value
String[] valueThe set of column names within primary key, whose ordering affects the natural ordering of the rows within the table. Column names can be optionally prefixed with a '+' or '-' character to indicate ascending or descending order. By default, column order is ascending.
-