| 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.entry |
A database entry implementation.
|
| Modifier and Type | Field and Description |
|---|---|
protected EntityEntry |
BatchEntry.entityEntry
the entity data
|
| Modifier and Type | Method and Description |
|---|---|
EntityEntry |
BatchEntry.getEntityEntry()
Gets the entity data.
|
| Modifier and Type | Method and Description |
|---|---|
void |
PdbBatch.add(String entityName,
EntityEntry ee)
Adds the entry to the batch.
|
void |
AbstractPdbBatch.add(String entityName,
EntityEntry ee) |
void |
AbstractBatch.add(String entityName,
EntityEntry ee)
Adds the fields to the batch.
|
void |
BatchEntry.setEntityEntry(EntityEntry entityEntry)
Sets new the entity data.
|
| Constructor and Description |
|---|
BatchEntry(String tableName,
EntityEntry entityEntry)
Creates a new instance of
BatchEntry. |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractDatabaseEngine.addBatch(String name,
EntityEntry entry)
Add an entry to the batch.
|
void |
DatabaseEngine.addBatch(String name,
EntityEntry entry)
Adds an entry to the batch.
|
protected int |
AbstractDatabaseEngine.entityToPreparedStatement(DbEntity entity,
PreparedStatement ps,
EntityEntry entry,
boolean useAutoInc)
Translates the given entry entity to the prepared statement.
|
protected int |
AbstractDatabaseEngine.entityToPreparedStatementForBatch(DbEntity entity,
PreparedStatement ps,
EntityEntry entry,
boolean useAutoInc)
Translates the given entry entity to the prepared statement when used in the context of batch updates.
|
protected int |
AbstractDatabaseEngine.entityToPreparedStatementInternal(DbEntity entity,
PreparedStatement ps,
EntityEntry entry,
boolean useAutoInc,
boolean fromBatch)
Translates the given entry entity to the prepared statement.
|
Long |
AbstractDatabaseEngine.persist(String name,
EntityEntry entry)
Persists a given entry.
|
Long |
DatabaseEngine.persist(String name,
EntityEntry entry)
Persists a given entry.
|
Long |
AbstractDatabaseEngine.persist(String name,
EntityEntry entry,
boolean useAutoInc)
Persists a given entry.
|
Long |
DatabaseEngine.persist(String name,
EntityEntry entry,
boolean useAutoInc)
Persists a given entry.
|
| Modifier and Type | Method and Description |
|---|---|
EntityEntry |
EntityEntry.Builder.build() |
Copyright © 2023 Feedzai. All rights reserved.