Package | Description |
---|---|
org.datanucleus.store.rdbms.adapter |
Provides mappings of all supported databases to aspects of the database that determines the SQL generation.
|
org.datanucleus.store.rdbms.key |
This package contains wrappers to various types of keys found in RDBMS databases.
|
org.datanucleus.store.rdbms.table |
Provides the internal DataNucleus definition of a table/view and its columns.
|
Modifier and Type | Method and Description |
---|---|
String |
TimesTenAdapter.getAddCandidateKeyStatement(CandidateKey ck,
IdentifierFactory factory)
Returns the appropriate SQL to add a candidate key to its table.
|
String |
SQLiteAdapter.getAddCandidateKeyStatement(CandidateKey ck,
IdentifierFactory factory) |
String |
SAPDBAdapter.getAddCandidateKeyStatement(CandidateKey ck,
IdentifierFactory factory) |
String |
DatastoreAdapter.getAddCandidateKeyStatement(CandidateKey ck,
IdentifierFactory factory)
Returns the appropriate SQL to add a candidate key to its table.
|
String |
DerbyAdapter.getAddCandidateKeyStatement(CandidateKey ck,
IdentifierFactory factory)
Returns the appropriate SQL to add a candidate key to its table.
|
String |
SQLAnywhereAdapter.getAddCandidateKeyStatement(CandidateKey ck,
IdentifierFactory factory)
Returns the appropriate SQL to add a candidate key to its table.
|
String |
InformixAdapter.getAddCandidateKeyStatement(CandidateKey ck,
IdentifierFactory factory)
Returns the appropriate SQL to add a candidate key to its table.
|
String |
BaseDatastoreAdapter.getAddCandidateKeyStatement(CandidateKey ck,
IdentifierFactory factory)
Returns the appropriate SQL to add a candidate key to its table.
|
Modifier and Type | Class and Description |
---|---|
class |
PrimaryKey
Representation of the primary key of a table.
|
Constructor and Description |
---|
Index(CandidateKey ck)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static CandidateKey |
TableUtils.getCandidateKeyForField(Table table,
org.datanucleus.metadata.UniqueMetaData umd,
JavaTypeMapping fieldMapping)
Convenience method to return the candidate key (if any) for a field.
|
Modifier and Type | Method and Description |
---|---|
protected List<CandidateKey> |
ClassTable.getExpectedCandidateKeys()
Accessor for the expected candidate keys for this table.
|
protected List<CandidateKey> |
TableImpl.getExpectedCandidateKeys()
Accessor for the expected candidate keys for this table in the datastore.
|
Copyright © 2017. All rights reserved.