Package | Description |
---|---|
org.apache.cayenne.access.flush | |
org.apache.cayenne.access.flush.operation |
Modifier and Type | Method and Description |
---|---|
protected List<DbRowOp> |
DefaultDataDomainFlushAction.createDbRowOps(ObjectStore objectStore,
ObjectStoreGraphDiff changes)
Create ops based on incoming graph changes
|
protected List<DbRowOp> |
DefaultDataDomainFlushAction.filterOps(List<DbRowOp> dbRowOps) |
protected List<DbRowOp> |
DefaultDataDomainFlushAction.mergeSameObjectIds(List<DbRowOp> dbRowOps) |
protected List<DbRowOp> |
DefaultDataDomainFlushAction.sort(List<DbRowOp> dbRowOps)
Sort all operations
|
Modifier and Type | Method and Description |
---|---|
protected List<? extends Query> |
DefaultDataDomainFlushAction.createQueries(List<DbRowOp> dbRowOps) |
protected void |
DefaultDataDomainFlushAction.createReplacementIds(ObjectStore store,
CompoundDiff afterCommitDiff,
List<DbRowOp> dbRowOps)
Set final
ObjectId for persistent objects |
protected List<DbRowOp> |
DefaultDataDomainFlushAction.filterOps(List<DbRowOp> dbRowOps) |
protected List<DbRowOp> |
DefaultDataDomainFlushAction.mergeSameObjectIds(List<DbRowOp> dbRowOps) |
protected void |
DefaultDataDomainFlushAction.postprocess(DataContext context,
ObjectStoreGraphDiff changes,
CompoundDiff afterCommitDiff,
List<DbRowOp> dbRowOps)
Notify
ObjectStore and it's data row cache about actual changes we performed. |
protected List<DbRowOp> |
DefaultDataDomainFlushAction.sort(List<DbRowOp> dbRowOps)
Sort all operations
|
protected void |
DefaultDataDomainFlushAction.updateObjectIds(Collection<DbRowOp> dbRowOps)
Fill in replacement IDs' data for given operations
|
Modifier and Type | Interface and Description |
---|---|
interface |
DbRowOpWithQualifier |
interface |
DbRowOpWithValues |
Modifier and Type | Class and Description |
---|---|
class |
BaseDbRowOp |
class |
DeleteDbRowOp |
class |
DeleteInsertDbRowOp
Special case op, that describes delete/insert sequence of different objects
that have same ObjectId (known example: meaningful PK set to same value as used before).
|
class |
InsertDbRowOp |
class |
UpdateDbRowOp |
Modifier and Type | Field and Description |
---|---|
protected DbRowOp |
Qualifier.row |
protected DbRowOp |
Values.row |
Modifier and Type | Field and Description |
---|---|
protected Comparator<DbRowOp> |
DefaultDbRowOpSorter.comparator |
Modifier and Type | Method and Description |
---|---|
DbRowOp |
DbRowOpMerger.apply(DbRowOp oldValue,
DbRowOp newValue) |
DbRowOp |
DbRowOpMerger.visitDelete(DeleteDbRowOp other) |
DbRowOp |
DbRowOpMerger.visitInsert(InsertDbRowOp other) |
DbRowOp |
DbRowOpMerger.visitUpdate(UpdateDbRowOp other) |
Modifier and Type | Method and Description |
---|---|
protected Comparator<DbRowOp> |
DefaultDbRowOpSorter.getComparator() |
List<DbRowOp> |
DbRowOpSorter.sort(List<DbRowOp> dbRows) |
List<DbRowOp> |
DefaultDbRowOpSorter.sort(List<DbRowOp> dbRows) |
List<DbRowOp> |
GraphBasedDbRowOpSorter.sort(List<DbRowOp> dbRows) |
Modifier and Type | Method and Description |
---|---|
DbRowOp |
DbRowOpMerger.apply(DbRowOp oldValue,
DbRowOp newValue) |
int |
DefaultDbRowOpSorter.DbRowComparator.compare(DbRowOp left,
DbRowOp right) |
boolean |
DbRowOp.isSameBatch(DbRowOp rowOp) |
boolean |
DeleteDbRowOp.isSameBatch(DbRowOp rowOp) |
boolean |
DeleteInsertDbRowOp.isSameBatch(DbRowOp rowOp) |
boolean |
InsertDbRowOp.isSameBatch(DbRowOp rowOp) |
boolean |
UpdateDbRowOp.isSameBatch(DbRowOp rowOp) |
Modifier and Type | Method and Description |
---|---|
List<DbRowOp> |
DbRowOpSorter.sort(List<DbRowOp> dbRows) |
List<DbRowOp> |
DefaultDbRowOpSorter.sort(List<DbRowOp> dbRows) |
List<DbRowOp> |
GraphBasedDbRowOpSorter.sort(List<DbRowOp> dbRows) |
protected void |
DefaultDbRowOpSorter.sortReflexive(List<DbRowOp> sortedDbRows) |
Constructor and Description |
---|
Qualifier(DbRowOp row) |
Values(DbRowOp row,
boolean includeId) |
Copyright © 2001–2021 Apache Cayenne. All rights reserved.