Package org.datanucleus.store.rdbms.key
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 TypeMethodDescriptionvoid
Class to add a column to the keygetColumnList
(boolean includeOrdering) Method to return the list of columns which the key applies to.void
Sets a column in a specified positionseq
for this index.void
setColumnOrdering
(String ordering) Methods inherited from class org.datanucleus.store.rdbms.key.Key
assertSameDatastoreObject, equals, getColumnList, getColumnList, getColumns, getName, getNumberOfColumns, getTable, hashCode, setListMinimumSize, setName
-
Field Details
-
columnOrdering
Column ordering. True implies ascending order. -
extensions
-
-
Constructor Details
-
ColumnOrderedKey
-
-
Method Details
-
getValueForExtension
-
addColumn
Class to add a column to the key -
setColumnOrdering
-
setColumn
Sets a column in a specified positionseq
for this index. -
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.
-