Java Doc for DeleteCascadeResultSet.java in  » Database-DBMS » db-derby-10.2 » org » apache » derby » impl » sql » execute » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Database DBMS » db derby 10.2 » org.apache.derby.impl.sql.execute 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.apache.derby.impl.sql.execute.NoRowsResultSetImpl
      org.apache.derby.impl.sql.execute.DMLWriteResultSet
         org.apache.derby.impl.sql.execute.DeleteResultSet
            org.apache.derby.impl.sql.execute.DeleteCascadeResultSet

DeleteCascadeResultSet
public class DeleteCascadeResultSet extends DeleteResultSet (Code)
Delete the rows from the specified base table and executes delete/update on dependent tables depending on the referential actions specified. Note:(beetle:5197) Dependent Resultsets of DeleteCascade Resultset can in any one of the multiple resultsets generated for the same table because of multiple foreign key relationship to the same table. At the bind time , dependents are binded only once per table. We can not depend on mainNodeTable Flag to fire actions on dependents, it should be done based on whether the resultset has dependent resultsets or not.


Field Summary
public  ResultSet[]dependentResultSets
    

Constructor Summary
public  DeleteCascadeResultSet(NoPutResultSet source, Activation activation, int constantActionItem, ResultSet[] dependentResultSets, String resultSetId)
    

Method Summary
public  voidcleanUp()
    
 booleancollectAffectedRows(boolean rowsFound)
    
 voiddeleteDeferredRows()
    
public  voidfinish()
    
 voidfireAfterTriggers()
    
 voidfireBeforeTriggers(Hashtable msht)
    
public  voidopen()
    
 voidrunFkChecker(boolean restrictCheckOnly)
    
 voidsetup()
     Gathers the rows that needs to be deleted/updated and creates a temporary resulsets that will be passed as source to its dependent result sets.

Field Detail
dependentResultSets
public ResultSet[] dependentResultSets(Code)




Constructor Detail
DeleteCascadeResultSet
public DeleteCascadeResultSet(NoPutResultSet source, Activation activation, int constantActionItem, ResultSet[] dependentResultSets, String resultSetId) throws StandardException(Code)




Method Detail
cleanUp
public void cleanUp() throws StandardException(Code)



collectAffectedRows
boolean collectAffectedRows(boolean rowsFound) throws StandardException(Code)



deleteDeferredRows
void deleteDeferredRows() throws StandardException(Code)



finish
public void finish() throws StandardException(Code)



fireAfterTriggers
void fireAfterTriggers() throws StandardException(Code)



fireBeforeTriggers
void fireBeforeTriggers(Hashtable msht) throws StandardException(Code)



open
public void open() throws StandardException(Code)

exception:
  StandardException - Standard Cloudscape error policy



runFkChecker
void runFkChecker(boolean restrictCheckOnly) throws StandardException(Code)



setup
void setup() throws StandardException(Code)
Gathers the rows that needs to be deleted/updated and creates a temporary resulsets that will be passed as source to its dependent result sets.



Fields inherited from org.apache.derby.impl.sql.execute.DeleteResultSet
protected boolean cascadeDelete(Code)(Java Doc)
DeleteConstantAction constants(Code)(Java Doc)
protected ConglomerateController deferredBaseCC(Code)(Java Doc)
ExecRow deferredBaseRow(Code)(Java Doc)
ExecRow deferredRLRow(Code)(Java Doc)
ExecRow deferredSparseRow(Code)(Java Doc)
protected FKInfo[] fkInfoArray(Code)(Java Doc)
int lockMode(Code)(Java Doc)
int numIndexes(Code)(Java Doc)
int numberOfBaseColumns(Code)(Java Doc)
protected RowChanger rc(Code)(Java Doc)
protected ResultDescription resultDescription(Code)(Java Doc)
protected TemporaryRowHolderImpl rowHolder(Code)(Java Doc)
NoPutResultSet savedSource(Code)(Java Doc)
protected NoPutResultSet source(Code)(Java Doc)

Methods inherited from org.apache.derby.impl.sql.execute.DeleteResultSet
public void cleanUp() throws StandardException(Code)(Java Doc)
boolean collectAffectedRows() throws StandardException(Code)(Java Doc)
NoPutResultSet createDependentSource(RowChanger rc) throws StandardException(Code)(Java Doc)
void deleteDeferredRows() throws StandardException(Code)(Java Doc)
public void finish() throws StandardException(Code)(Java Doc)
void fireAfterTriggers() throws StandardException(Code)(Java Doc)
void fireBeforeTriggers() throws StandardException(Code)(Java Doc)
public ResultDescription getResultDescription()(Code)(Java Doc)
public void open() throws StandardException(Code)(Java Doc)
void runFkChecker(boolean restrictCheckOnly) throws StandardException(Code)(Java Doc)
void setup() throws StandardException(Code)(Java Doc)

Fields inherited from org.apache.derby.impl.sql.execute.DMLWriteResultSet
protected int[] baseRowReadMap(Code)(Java Doc)
protected WriteCursorConstantAction constantAction(Code)(Java Doc)
protected ExecRow deferredSparseRow(Code)(Java Doc)
protected DynamicCompiledOpenConglomInfo heapDCOCI(Code)(Java Doc)
protected DynamicCompiledOpenConglomInfo[] indexDCOCIs(Code)(Java Doc)
public int rowCount(Code)(Java Doc)
protected int[] streamStorableHeapColIds(Code)(Java Doc)

Methods inherited from org.apache.derby.impl.sql.execute.DMLWriteResultSet
String getIndexNameFromCID(long indexCID)(Code)(Java Doc)
protected ExecRow getNextRowCore(NoPutResultSet source) throws StandardException(Code)(Java Doc)
protected ExecRow makeDeferredSparseRow(ExecRow deferredBaseRow, FormatableBitSet baseRowReadList, LanguageConnectionContext lcc) throws StandardException(Code)(Java Doc)
final public int modifiedRowCount()(Code)(Java Doc)

Fields inherited from org.apache.derby.impl.sql.execute.NoRowsResultSetImpl
final Activation activation(Code)(Java Doc)
protected long beginExecutionTime(Code)(Java Doc)
protected long beginTime(Code)(Java Doc)
protected long endExecutionTime(Code)(Java Doc)
protected long endTime(Code)(Java Doc)
protected String indent(Code)(Java Doc)
final LanguageConnectionContext lcc(Code)(Java Doc)
protected int sourceDepth(Code)(Java Doc)
protected String subIndent(Code)(Java Doc)
NoPutResultSet[] subqueryTrackingArray(Code)(Java Doc)

Methods inherited from org.apache.derby.impl.sql.execute.NoRowsResultSetImpl
public boolean checkRowPosition(int isType)(Code)(Java Doc)
final public void clearCurrentRow()(Code)(Java Doc)
public void close() throws StandardException(Code)(Java Doc)
public boolean doesCommit()(Code)(Java Doc)
public static void evaluateACheckConstraint(GeneratedMethod checkGM, String checkName, long heapConglom, Activation activation) throws StandardException(Code)(Java Doc)
public static void evaluateCheckConstraints(GeneratedMethod checkGM, Activation activation) throws StandardException(Code)(Java Doc)
public void finish() throws StandardException(Code)(Java Doc)
public ExecRow getAbsoluteRow(int row) throws StandardException(Code)(Java Doc)
final public Activation getActivation()(Code)(Java Doc)
public ResultSet getAutoGeneratedKeysResultset()(Code)(Java Doc)
public Timestamp getBeginExecutionTimestamp()(Code)(Java Doc)
final protected long getCurrentTimeMillis()(Code)(Java Doc)
public String getCursorName()(Code)(Java Doc)
public Timestamp getEndExecutionTimestamp()(Code)(Java Doc)
public long getExecuteTime()(Code)(Java Doc)
public ExecRow getFirstRow() throws StandardException(Code)(Java Doc)
public ExecRow getLastRow() throws StandardException(Code)(Java Doc)
public ExecRow getNextRow() throws StandardException(Code)(Java Doc)
public ExecRow getPreviousRow() throws StandardException(Code)(Java Doc)
public String getQueryPlanText(int depth)(Code)(Java Doc)
public ExecRow getRelativeRow(int row) throws StandardException(Code)(Java Doc)
public ResultDescription getResultDescription()(Code)(Java Doc)
public int getRowNumber()(Code)(Java Doc)
final public NoPutResultSet[] getSubqueryTrackingArray(int numSubqueries)(Code)(Java Doc)
public long getTimeSpent(int type)(Code)(Java Doc)
public java.sql.SQLWarning getWarnings()(Code)(Java Doc)
public boolean isClosed()(Code)(Java Doc)
public int modifiedRowCount()(Code)(Java Doc)
final public boolean returnsRows()(Code)(Java Doc)
public ExecRow setAfterLastRow() throws StandardException(Code)(Java Doc)
public ExecRow setBeforeFirstRow() throws StandardException(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.