| Package | Description | 
|---|---|
| com.feedzai.commons.sql.abstraction.batch | 
 Contains a batch to periodically flushes to the database. 
 | 
| com.feedzai.commons.sql.abstraction.engine | 
 Contains the database engine core. 
 | 
| com.feedzai.commons.sql.abstraction.engine.impl | 
 Database specific implementations. 
 | 
| Modifier and Type | Field and Description | 
|---|---|
protected DatabaseEngine | 
AbstractBatch.de
The database engine. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static DefaultBatch | 
DefaultBatch.create(DatabaseEngine de,
      String name,
      int batchSize,
      long batchTimeout,
      long maxAwaitTimeShutdown)
Creates a new instance of  
DefaultBatch. | 
| Constructor and Description | 
|---|
AbstractBatch(DatabaseEngine de,
             int batchSize,
             long batchTimeout,
             long maxAwaitTimeShutdown)
Creates a new instance of  
AbstractBatch. | 
AbstractBatch(DatabaseEngine de,
             String name,
             int batchSize,
             long batchTimeout,
             long maxAwaitTimeShutdown)
Creates a new instance of  
AbstractBatch. | 
DefaultBatch(DatabaseEngine de,
            String name,
            int batchSize,
            long batchTimeout,
            long maxAwaitTimeShutdown)
Creates a new instance of  
DefaultBatch. | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
AbstractDatabaseEngine
Provides a set of functions to interact with the database. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
DatabaseEngine | 
DatabaseEngine.duplicate(Properties mergeProperties,
         boolean copyEntities)
Duplicates a connection. 
 | 
DatabaseEngine | 
AbstractDatabaseEngine.duplicate(Properties mergeProperties,
         boolean copyEntities)
Duplicates a connection. 
 | 
static DatabaseEngine | 
DatabaseFactory.getConnection(Properties p)
Gets a database connection from the specified properties. 
 | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
DB2Engine
DB2 specific database implementation. 
 | 
class  | 
H2Engine
H2 specific database implementation. 
 | 
class  | 
MySqlEngine
MySQL specific database implementation. 
 | 
class  | 
OracleEngine
Oracle specific database implementation. 
 | 
class  | 
PostgreSqlEngine
PostgreSQL specific database implementation. 
 | 
class  | 
SqlServerEngine
SQLServer specific database implementation. 
 | 
Copyright © 2014 Feedzai. All Rights Reserved.