@Retention(value=RUNTIME) @Target(value={FIELD,METHOD,ANNOTATION_TYPE}) public @interface PrimaryKeyColumn
| Modifier and Type | Required Element and Description |
|---|---|
int |
ordinal
The order of this column relative to other primary key columns.
|
| 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. |
PrimaryKeyType |
type
The type of this key column.
|
public abstract int ordinal
public abstract String name
public abstract PrimaryKeyType type
PrimaryKeyType.CLUSTERED.public abstract Ordering ordering
type() is PrimaryKeyType.CLUSTERED, otherwise ignored.
Default is Ordering.ASCENDING.Copyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.