Modifier and Type | Field and Description |
---|---|
protected DbAdapter |
DataNode.adapter |
protected DbAdapter |
DbGenerator.adapter |
Modifier and Type | Method and Description |
---|---|
DbAdapter |
DataNode.getAdapter()
Returns DbAdapter object.
|
DbAdapter |
DbGenerator.getAdapter()
Returns DbAdapter associated with this DbGenerator.
|
DbAdapter |
DbLoader.getAdapter()
Returns DbAdapter associated with this DbLoader.
|
Modifier and Type | Method and Description |
---|---|
void |
DataNode.setAdapter(DbAdapter adapter) |
Constructor and Description |
---|
DbGenerator(DbAdapter adapter,
DataMap map,
Collection<DbEntity> excludedEntities,
DataDomain domain,
JdbcEventLogger logger)
Creates and initializes new DbGenerator instance.
|
DbGenerator(DbAdapter adapter,
DataMap map,
JdbcEventLogger logger) |
DbGenerator(DbAdapter adapter,
DataMap map,
JdbcEventLogger logger,
Collection<DbEntity> excludedEntities) |
DbLoader(Connection connection,
DbAdapter adapter,
DbLoaderDelegate delegate)
Creates new DbLoader.
|
DbLoader(Connection connection,
DbAdapter adapter,
DbLoaderDelegate delegate,
ObjectNameGenerator strategy)
Creates new DbLoader with specified naming strategy.
|
Modifier and Type | Field and Description |
---|---|
protected DbAdapter |
SQLTemplateAction.dbAdapter |
Modifier and Type | Method and Description |
---|---|
DbAdapter |
SQLTemplateAction.getAdapter()
Returns unwrapped DbAdapter used to find correct SQL for a given DB.
|
Modifier and Type | Method and Description |
---|---|
RowReader<?> |
DefaultRowReaderFactory.rowReader(RowDescriptor descriptor,
QueryMetadata queryMetadata,
DbAdapter adapter,
Map<ObjAttribute,ColumnDescriptor> attributeOverrides) |
RowReader<?> |
RowReaderFactory.rowReader(RowDescriptor descriptor,
QueryMetadata queryMetadata,
DbAdapter adapter,
Map<ObjAttribute,ColumnDescriptor> attributeOverrides) |
Modifier and Type | Field and Description |
---|---|
protected DbAdapter |
DefaultBatchTranslator.adapter |
Modifier and Type | Method and Description |
---|---|
protected BatchTranslator |
DefaultBatchTranslatorFactory.deleteTranslator(DeleteBatchQuery query,
DbAdapter adapter,
String trimFunction) |
protected BatchTranslator |
SoftDeleteTranslatorFactory.deleteTranslator(DeleteBatchQuery query,
DbAdapter adapter,
String trimFunction) |
protected BatchTranslator |
DefaultBatchTranslatorFactory.insertTranslator(InsertBatchQuery query,
DbAdapter adapter) |
BatchTranslator |
BatchTranslatorFactory.translator(BatchQuery query,
DbAdapter adapter,
String trimFunction)
Creates a proper translator for a BatchQuery
|
BatchTranslator |
DefaultBatchTranslatorFactory.translator(BatchQuery query,
DbAdapter adapter,
String trimFunction) |
protected BatchTranslator |
DefaultBatchTranslatorFactory.updateTranslator(UpdateBatchQuery query,
DbAdapter adapter,
String trimFunction) |
Constructor and Description |
---|
DefaultBatchTranslator(BatchQuery query,
DbAdapter adapter,
String trimFunction) |
DeleteBatchTranslator(DeleteBatchQuery query,
DbAdapter adapter,
String trimFunction) |
InsertBatchTranslator(InsertBatchQuery query,
DbAdapter adapter) |
SoftDeleteBatchTranslator(DeleteBatchQuery query,
DbAdapter adapter,
String trimFunction,
String deletedFieldName) |
UpdateBatchTranslator(UpdateBatchQuery query,
DbAdapter adapter,
String trimFunction) |
Modifier and Type | Field and Description |
---|---|
protected DbAdapter |
ProcedureTranslator.adapter |
Modifier and Type | Method and Description |
---|---|
void |
ProcedureTranslator.setAdapter(DbAdapter adapter) |
Modifier and Type | Field and Description |
---|---|
protected DbAdapter |
QueryAssembler.adapter |
Modifier and Type | Method and Description |
---|---|
DbAdapter |
QueryAssembler.getAdapter() |
Constructor and Description |
---|
JoinStack(DbAdapter dbAdapter,
DataMap dataMap,
QueryAssembler assembler) |
Modifier and Type | Method and Description |
---|---|
DbAdapter |
DbAdapterDetector.createAdapter(DatabaseMetaData md)
Returns an instance of DbAdapter if the factory detects that it knows how to handle
the database or null if the database is not known to the factory, thus allowing
multiple factories to be chained.
|
DbAdapter |
DbAdapterFactory.createAdapter(DataNodeDescriptor nodeDescriptor,
DataSource dataSource)
Returns an instance of DbAdapter if the factory detects that it knows how to handle
the database.
|
DbAdapter |
DefaultDbAdapterFactory.createAdapter(DataNodeDescriptor nodeDescriptor,
DataSource dataSource) |
protected DbAdapter |
DefaultDbAdapterFactory.defaultAdapter() |
protected DbAdapter |
DefaultDbAdapterFactory.detectAdapter(DatabaseMetaData metaData) |
protected DbAdapter |
DefaultDbAdapterFactory.detectAdapter(DataSource dataSource) |
Modifier and Type | Class and Description |
---|---|
class |
AutoAdapter
A DbAdapter that automatically detects the kind of database it is running on and
instantiates an appropriate DB-specific adapter, delegating all subsequent method calls
to this adapter.
|
class |
JdbcAdapter
A generic DbAdapter implementation.
|
Modifier and Type | Field and Description |
---|---|
protected Provider<DbAdapter> |
AutoAdapter.adapterProvider |
Modifier and Type | Method and Description |
---|---|
protected DbAdapter |
AutoAdapter.getAdapter()
Returns a proxied DbAdapter, lazily creating it on first invocation.
|
protected DbAdapter |
AutoAdapter.loadAdapter()
Loads underlying DbAdapter delegate.
|
DbAdapter |
AutoAdapter.unwrap() |
DbAdapter |
DbAdapter.unwrap()
Allows the users to get access to the adapter decorated by a given
adapter.
|
DbAdapter |
JdbcAdapter.unwrap()
Simply returns this, as JdbcAdapter is not a wrapper.
|
Modifier and Type | Method and Description |
---|---|
static String |
JdbcAdapter.getType(DbAdapter adapter,
DbAttribute column) |
static String |
JdbcAdapter.sizeAndPrecision(DbAdapter adapter,
DbAttribute column) |
Constructor and Description |
---|
AutoAdapter(Provider<DbAdapter> adapterProvider,
JdbcEventLogger logger)
Creates an
AutoAdapter based on a delegate adapter obtained via
"adapterProvider". |
Modifier and Type | Class and Description |
---|---|
class |
DB2Adapter
DbAdapter implementation for the DB2 RDBMS .
|
Modifier and Type | Method and Description |
---|---|
DbAdapter |
DB2Sniffer.createAdapter(DatabaseMetaData md) |
Modifier and Type | Class and Description |
---|---|
class |
DerbyAdapter
DbAdapter implementation for the Derby RDBMS
.
|
Modifier and Type | Method and Description |
---|---|
DbAdapter |
DerbySniffer.createAdapter(DatabaseMetaData md) |
Modifier and Type | Class and Description |
---|---|
class |
FirebirdAdapter
DbAdapter implementation for FirebirdSQL
RDBMS .
|
Modifier and Type | Method and Description |
---|---|
DbAdapter |
FirebirdSniffer.createAdapter(DatabaseMetaData md) |
Modifier and Type | Class and Description |
---|---|
class |
FrontBaseAdapter
DbAdapter implementation for FrontBase RDBMS.
|
Modifier and Type | Method and Description |
---|---|
DbAdapter |
FrontBaseSniffer.createAdapter(DatabaseMetaData md) |
Modifier and Type | Class and Description |
---|---|
class |
H2Adapter
DbAdapter implementation for H2
RDBMS .
|
Modifier and Type | Method and Description |
---|---|
DbAdapter |
H2Sniffer.createAdapter(DatabaseMetaData md) |
Modifier and Type | Class and Description |
---|---|
class |
HSQLDBAdapter
DbAdapter implementation for the
HSQLDB RDBMS .
|
class |
HSQLDBNoSchemaAdapter
A flavor of HSQLDBAdapter that implements workarounds for some old driver limitations.
|
Modifier and Type | Method and Description |
---|---|
DbAdapter |
HSQLDBSniffer.createAdapter(DatabaseMetaData md) |
Modifier and Type | Class and Description |
---|---|
class |
IngresAdapter
DbAdapter implementation for Ingres.
|
Modifier and Type | Method and Description |
---|---|
DbAdapter |
IngresSniffer.createAdapter(DatabaseMetaData md) |
Modifier and Type | Class and Description |
---|---|
class |
MySQLAdapter
DbAdapter implementation for MySQL RDBMS.
|
Modifier and Type | Method and Description |
---|---|
DbAdapter |
MySQLSniffer.createAdapter(DatabaseMetaData md) |
Modifier and Type | Class and Description |
---|---|
class |
OpenBaseAdapter
DbAdapter implementation for OpenBase.
|
Modifier and Type | Method and Description |
---|---|
DbAdapter |
OpenBaseSniffer.createAdapter(DatabaseMetaData md) |
Modifier and Type | Class and Description |
---|---|
class |
Oracle8Adapter
A flavor of OracleAdapter that implements workarounds for some old driver limitations.
|
class |
OracleAdapter
DbAdapter implementation for Oracle RDBMS .
|
Modifier and Type | Method and Description |
---|---|
DbAdapter |
OracleSniffer.createAdapter(DatabaseMetaData md) |
Modifier and Type | Class and Description |
---|---|
class |
PostgresAdapter
DbAdapter implementation for PostgreSQL
RDBMS .
|
Modifier and Type | Method and Description |
---|---|
DbAdapter |
PostgresSniffer.createAdapter(DatabaseMetaData md) |
Modifier and Type | Class and Description |
---|---|
class |
SQLiteAdapter
A SQLite database adapter that works with Zentus JDBC driver.
|
Modifier and Type | Method and Description |
---|---|
DbAdapter |
SQLiteSniffer.createAdapter(DatabaseMetaData md) |
Modifier and Type | Class and Description |
---|---|
class |
SQLServerAdapter
Cayenne DbAdapter implementation for Microsoft
SQL Server engine.
|
Modifier and Type | Method and Description |
---|---|
DbAdapter |
SQLServerSniffer.createAdapter(DatabaseMetaData md) |
Modifier and Type | Class and Description |
---|---|
class |
SybaseAdapter
DbAdapter implementation for Sybase
RDBMS.
|
Modifier and Type | Method and Description |
---|---|
DbAdapter |
SybaseSniffer.createAdapter(DatabaseMetaData md) |
Modifier and Type | Method and Description |
---|---|
DbAdapter |
ExecutingMergerContext.getAdapter() |
DbAdapter |
MergerContext.getAdapter() |
Modifier and Type | Method and Description |
---|---|
protected void |
SetPrimaryKeyToDb.appendAddNewPrimaryKeySQL(DbAdapter adapter,
List<String> sqls) |
protected void |
SetPrimaryKeyToDb.appendDropOriginalPrimaryKeySQL(DbAdapter adapter,
List<String> sqls) |
List<MergerToken> |
DbMerger.createMergeTokens(DataSource dataSource,
DbAdapter adapter,
DataMap existingDataMap,
DbLoaderConfiguration config)
|
abstract List<String> |
AbstractToDbToken.createSql(DbAdapter adapter) |
List<String> |
AddColumnToDb.createSql(DbAdapter adapter) |
List<String> |
AddRelationshipToDb.createSql(DbAdapter adapter) |
List<String> |
CreateTableToDb.createSql(DbAdapter adapter) |
List<String> |
DropColumnToDb.createSql(DbAdapter adapter) |
List<String> |
DropRelationshipToDb.createSql(DbAdapter adapter) |
List<String> |
DropTableToDb.createSql(DbAdapter adapter) |
List<String> |
SetAllowNullToDb.createSql(DbAdapter adapter) |
List<String> |
SetColumnTypeToDb.createSql(DbAdapter adapter) |
List<String> |
SetNotNullToDb.createSql(DbAdapter adapter) |
List<String> |
SetPrimaryKeyToDb.createSql(DbAdapter adapter) |
List<String> |
SetValueForNullToDb.createSql(DbAdapter adapter) |
Copyright © 2001–2015 Apache Cayenne. All rights reserved.