public class ConstraintUpdateManager extends AbstractUpdateManager
Standard update manager, capable of foreign key constraint evaluation.
AbstractUpdateManager.CustomMappingconf, dict| Constructor and Description | 
|---|
ConstraintUpdateManager()  | 
| Modifier and Type | Method and Description | 
|---|---|
protected void | 
flush(Collection deleteUpdates,
     Collection nodes,
     PreparedStatementManager psMgr)  | 
protected void | 
flush(Collection rows,
     PreparedStatementManager psMgr)
Flush the given collection of secondary rows. 
 | 
protected Collection | 
flush(RowManager rowMgr,
     PreparedStatementManager psMgr,
     Collection exceps)
Flush all rows of the given row manager. 
 | 
protected void | 
flushGraph(Graph graph,
          PreparedStatementManager psMgr,
          boolean autoAssign)
Flush the given graph of rows in the proper order. 
 | 
protected DepthFirstAnalysis | 
newDepthFirstAnalysis(Graph graph,
                     boolean autoAssign)
Create a new  
DepthFirstAnalysis suitable for the given graph
 and auto-assign settings. | 
protected PreparedStatementManager | 
newPreparedStatementManager(JDBCStore store,
                           Connection conn)
Return a new  
PreparedStatementManager. | 
protected RowManager | 
newRowManager()
Return a new  
RowManager. | 
boolean | 
orderDirty()
Whether the store context should maintain the order in which instances
 are dirtied. 
 | 
addException, delete, endConfiguration, flush, flush, insert, populateRowManager, setConfiguration, startConfiguration, update, updateIndicatorspublic boolean orderDirty()
UpdateManagerprotected PreparedStatementManager newPreparedStatementManager(JDBCStore store, Connection conn)
AbstractUpdateManagerPreparedStatementManager.newPreparedStatementManager in class AbstractUpdateManagerprotected RowManager newRowManager()
AbstractUpdateManagerRowManager.newRowManager in class AbstractUpdateManagerprotected Collection flush(RowManager rowMgr, PreparedStatementManager psMgr, Collection exceps)
AbstractUpdateManagerexceps (which may start as null) using
 AbstractUpdateManager.addException(java.util.Collection, java.lang.Exception). Return exceps.flush in class AbstractUpdateManagerprotected void flushGraph(Graph graph, PreparedStatementManager psMgr, boolean autoAssign) throws SQLException
graph - The graph of statements to be walkedpsMgr - The prepared statement manager to use to issue the
 statementsautoAssign - Whether any of the rows in the graph have any
 auto-assign constraintsSQLExceptionprotected void flush(Collection deleteUpdates, Collection nodes, PreparedStatementManager psMgr)
protected DepthFirstAnalysis newDepthFirstAnalysis(Graph graph, boolean autoAssign)
DepthFirstAnalysis suitable for the given graph
 and auto-assign settings.protected void flush(Collection rows, PreparedStatementManager psMgr)
Copyright © 2006–2022 Apache Software Foundation. All rights reserved.