Uses of Class
org.datanucleus.store.rdbms.key.CandidateKey
Packages that use CandidateKey
Package
Description
Provides mappings of all supported databases to aspects of the database that determines the SQL generation.
This package contains wrappers to various types of keys found in RDBMS databases.
Provides the internal DataNucleus definition of a table/view and its columns.
-
Uses of CandidateKey in org.datanucleus.store.rdbms.adapter
Methods in org.datanucleus.store.rdbms.adapter with parameters of type CandidateKeyModifier and TypeMethodDescriptionBaseDatastoreAdapter.getAddCandidateKeyStatement
(CandidateKey ck, IdentifierFactory factory) Returns the appropriate SQL to add a candidate key to its table.DatastoreAdapter.getAddCandidateKeyStatement
(CandidateKey ck, IdentifierFactory factory) Returns the appropriate SQL to add a candidate key to its table.DerbyAdapter.getAddCandidateKeyStatement
(CandidateKey ck, IdentifierFactory factory) Returns the appropriate SQL to add a candidate key to its table.InformixAdapter.getAddCandidateKeyStatement
(CandidateKey ck, IdentifierFactory factory) Returns the appropriate SQL to add a candidate key to its table.SAPDBAdapter.getAddCandidateKeyStatement
(CandidateKey ck, IdentifierFactory factory) SQLiteAdapter.getAddCandidateKeyStatement
(CandidateKey ck, IdentifierFactory factory) TimesTenAdapter.getAddCandidateKeyStatement
(CandidateKey ck, IdentifierFactory factory) Returns the appropriate SQL to add a candidate key to its table. -
Uses of CandidateKey in org.datanucleus.store.rdbms.key
Constructors in org.datanucleus.store.rdbms.key with parameters of type CandidateKeyModifierConstructorDescriptionIndex
(CandidateKey ck) Constructor for an index for the specified candidate key. -
Uses of CandidateKey in org.datanucleus.store.rdbms.table
Fields in org.datanucleus.store.rdbms.table with type parameters of type CandidateKeyModifier and TypeFieldDescription(package private) Map
<org.datanucleus.metadata.AbstractMemberMetaData, CandidateKey> ClassTable.candidateKeysByMapField
Methods in org.datanucleus.store.rdbms.table that return CandidateKeyModifier and TypeMethodDescriptionstatic CandidateKey
TableUtils.getCandidateKeyForField
(Table table, org.datanucleus.metadata.UniqueMetaData umd, JavaTypeMapping fieldMapping) Convenience method to return the candidate key (if any) for a field.private CandidateKey
ClassTable.getCandidateKeyForUniqueMetaData
(org.datanucleus.metadata.UniqueMetaData umd) Convenience method to convert a UniqueMetaData into a CandidateKey.Methods in org.datanucleus.store.rdbms.table that return types with arguments of type CandidateKeyModifier and TypeMethodDescriptionprivate Map
<DatastoreIdentifier, CandidateKey> TableImpl.getExistingCandidateKeys
(Connection conn) Accessor for the candidate keys for this table.protected List
<CandidateKey> ClassTable.getExpectedCandidateKeys()
Accessor for the expected candidate keys for this table.protected List
<CandidateKey> ElementContainerTable.getExpectedCandidateKeys()
Accessor for the candidate keys for this table.protected List
<CandidateKey> MapTable.getExpectedCandidateKeys()
Accessor for the candidate keys for this table.protected List
<CandidateKey> PersistableJoinTable.getExpectedCandidateKeys()
Accessor for the candidate keys for this table.protected List
<CandidateKey> TableImpl.getExpectedCandidateKeys()
Accessor for the expected candidate keys for this table in the datastore.Method parameters in org.datanucleus.store.rdbms.table with type arguments of type CandidateKeyModifier and TypeMethodDescriptionprivate boolean
TableImpl.createCandidateKeys
(Connection conn, Collection<Throwable> autoCreateErrors, Map<DatastoreIdentifier, CandidateKey> actualCandidateKeysByName) Method to create any Candidate keys on this table in the datastore, and auto create any that are missing where required.TableImpl.getSQLAddCandidateKeyStatements
(Map<DatastoreIdentifier, CandidateKey> actualCandidateKeysByName) Get SQL statements to add expected Candidate Keys that are not yet on the table.