Interface TableDetails.KeyDetails
- All Superinterfaces:
SelectableMappings
- All Known Subinterfaces:
EntityTableMapping.KeyMapping
- All Known Implementing Classes:
EntityTableMapping.AbstractKeyMapping, EntityTableMapping.CompositeKeyMapping, EntityTableMapping.SimpleKeyMapping
- Enclosing interface:
TableDetails
Details about the primary key of a table
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionvoidbreakDownKeyJdbcValues(Object domainValue, TableDetails.KeyDetails.KeyValueConsumer valueConsumer, SharedSessionContractImplementor session) Break a key value down into its constituent parts, calling the consumer for each.<K> DomainResult<K> createDomainResult(NavigablePath navigablePath, TableReference tableReference, String resultVariable, DomainResultCreationState creationState) Create a DomainResult for selecting and retrieving the key.voidVisit each key columnintNumber of columnsgetKeyColumn(int position) Get a key column by relative positionList<? extends TableDetails.KeyColumn> Group of columns defined on the primary keyMethods inherited from interface SelectableMappings
forEachSelectable, forEachSelectable, getJdbcTypeCount, getSelectable
-
Method Details
-
getColumnCount
int getColumnCount()Number of columns -
getKeyColumns
List<? extends TableDetails.KeyColumn> getKeyColumns()Group of columns defined on the primary key -
getKeyColumn
Get a key column by relative position -
forEachKeyColumn
Visit each key column
-