@Retention(value=RUNTIME) @Target(value={ANNOTATION_TYPE,FIELD,METHOD}) public @interface PrimaryKeyColumn
| Modifier and Type | Optional Element and Description |
|---|---|
boolean |
forceQuote
Whether to cause the column name to be force-quoted.
|
String |
name
The name of the column in the table.
|
Ordering |
ordering
The cluster ordering of this column if
type() is PrimaryKeyType.CLUSTERED, otherwise ignored. |
int |
ordinal
The order of this column relative to other primary key columns.
|
PrimaryKeyType |
type
The type of this key column.
|
String |
value
The name of the column in the table.
|
public abstract int ordinal
public abstract PrimaryKeyType type
PrimaryKeyType.CLUSTERED.public abstract Ordering ordering
type() is PrimaryKeyType.CLUSTERED, otherwise ignored.
Default is Ordering.ASCENDING.Copyright © 2011–2019 Pivotal Software, Inc.. All rights reserved.