Class GraphBasedDbRowOpSorter
- java.lang.Object
-
- org.apache.cayenne.access.flush.operation.GraphBasedDbRowOpSorter
-
- All Implemented Interfaces:
DbRowOpSorter
public class GraphBasedDbRowOpSorter extends Object implements DbRowOpSorter
Db operation sorted that builds dependency graph and uses topological sort to get final order. This in general slower thanDefaultDbRowOpSorter
but can handle more edge cases (like multiple meaningful PKs/FKs). TODO: possible optimizations could be optional logic parts (e.g. detecting effective id intersections, reflexive dependencies, etc.)- Since:
- 4.2
-
-
Constructor Summary
Constructors Constructor Description GraphBasedDbRowOpSorter(Provider<DataDomain> dataDomainProvider)
-
-
-
Constructor Detail
-
GraphBasedDbRowOpSorter
public GraphBasedDbRowOpSorter(Provider<DataDomain> dataDomainProvider)
-
-