Class ColumnOrderedKey
java.lang.Object
org.datanucleus.store.rdbms.key.Key
org.datanucleus.store.rdbms.key.ColumnOrderedKey
- Direct Known Subclasses:
CandidateKey, Index
Representation of a key that has columns with specified ordering (ascending/descending) for each column (if required).
-
Field Summary
FieldsModifier and TypeFieldDescriptionColumn ordering. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidClass to add a column to the keygetColumnList(boolean includeOrdering) Method to return the list of columns which the key applies to.voidSets a column in a specified positionseqfor this index.voidsetColumnOrdering(String ordering) Methods inherited from class Key
assertSameDatastoreObject, equals, getColumnList, getColumnList, getColumns, getName, getNumberOfColumns, getTable, hashCode, setListMinimumSize, setName
-
Field Details
-
columnOrdering
-
extensions
-
-
Constructor Details
-
ColumnOrderedKey
-
-
Method Details
-
getValueForExtension
-
addColumn
-
setColumnOrdering
-
setColumn
-
getColumnList
Method to return the list of columns which the key applies to.- Parameters:
includeOrdering- Whether to include ordering in the column list when it is specified- Returns:
- The column list.
-