Java Doc for NoPutResultSet.java in  » Database-DBMS » db-derby-10.2 » org » apache » derby » iapi » 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.iapi.sql.execute 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.apache.derby.iapi.sql.execute.NoPutResultSet

All known Subclasses:   org.apache.derby.impl.sql.execute.BasicNoPutResultSetImpl,  org.apache.derby.impl.sql.execute.TemporaryRowHolderResultSet,
NoPutResultSet
public interface NoPutResultSet extends ResultSet,RowLocationRetRowSource(Code)
The NoPutResultSet interface is used to provide additional operations on result sets that can be used in returning rows up a ResultSet tree.

Since the ResulSet operations must also be supported by NoPutResultSets, we extend that interface here as well.
author:
   jerry



Field Summary
final public static  StringABSOLUTE
    
final public static  StringFIRST
    
final public static  StringLAST
    
final public static  StringNEXT
    
final public static  StringPREVIOUS
    
final public static  StringRELATIVE
    


Method Summary
public  doublegetEstimatedRowCount()
     Get the estimated row count from this result set.
public  ExecRowgetNextRowCore()
     Return the requested values computed from the next row (if any) for which the restriction evaluates to true.

restriction and projection parameters are evaluated for each row.
exception:
  StandardException - thrown on failure.

public  intgetPointOfAttachment()
     Return the point of attachment for this subquery. (Only meaningful for Any and Once ResultSets, which can and will only be at the top of a ResultSet for a subquery.) int Point of attachment (result set number) for thissubquery.
public  intgetScanIsolationLevel()
     Return the isolation level of the scan in the result set.
public  booleanisForUpdate()
    
public  voidmarkAsTopResultSet()
     Mark the ResultSet as the topmost one in the ResultSet tree.
public  voidmarkRowAsDeleted()
     Marks the resultSet's currentRow as deleted after a delete has been issued by either by using positioned delete or JDBC's deleteRow method.
public  voidopenCore()
     open a scan on the table.
 voidpositionScanAtRowLocation(RowLocation rLoc)
     Positions the cursor in the specified rowLocation.
public  voidreopenCore()
     reopen the scan.
public  booleanrequiresRelocking()
     Do we need to relock the row when going to the heap.
public  intresultSetNumber()
     Get the number of this ResultSet, which is guaranteed to be unique within a statement.
public  voidsetCurrentRow(ExecRow row)
     Set the current row to the row passed in.
public  voidsetNeedsRowLocation(boolean needsRowLocation)
     Set whether or not the NPRS need the row location when acting as a row source.
public  voidsetTargetResultSet(TargetResultSet trs)
     Notify a NPRS that it is the source for the specified TargetResultSet.
public  voidupdateRow(ExecRow row)
     Updates the resultSet's current row with it's new values after an update has been issued either using positioned update or JDBC's udpateRow method.

Field Detail
ABSOLUTE
final public static String ABSOLUTE(Code)



FIRST
final public static String FIRST(Code)



LAST
final public static String LAST(Code)



NEXT
final public static String NEXT(Code)



PREVIOUS
final public static String PREVIOUS(Code)



RELATIVE
final public static String RELATIVE(Code)





Method Detail
getEstimatedRowCount
public double getEstimatedRowCount()(Code)
Get the estimated row count from this result set. The estimated row count (as a double) from this result set.



getNextRowCore
public ExecRow getNextRowCore() throws StandardException(Code)
Return the requested values computed from the next row (if any) for which the restriction evaluates to true.

restriction and projection parameters are evaluated for each row.
exception:
  StandardException - thrown on failure. the next row in the result




getPointOfAttachment
public int getPointOfAttachment()(Code)
Return the point of attachment for this subquery. (Only meaningful for Any and Once ResultSets, which can and will only be at the top of a ResultSet for a subquery.) int Point of attachment (result set number) for thissubquery. (-1 if not a subquery - also Sanity violation)



getScanIsolationLevel
public int getScanIsolationLevel()(Code)
Return the isolation level of the scan in the result set. Only expected to be called for those ResultSets that contain a scan. The isolation level of the scan (in TransactionController constants).



isForUpdate
public boolean isForUpdate()(Code)
Is this ResultSet or it's source result set for update Whether or not the result set is for update.



markAsTopResultSet
public void markAsTopResultSet()(Code)
Mark the ResultSet as the topmost one in the ResultSet tree. Useful for closing down the ResultSet on an error.



markRowAsDeleted
public void markRowAsDeleted() throws StandardException(Code)
Marks the resultSet's currentRow as deleted after a delete has been issued by either by using positioned delete or JDBC's deleteRow method.
exception:
  StandardException - thrown on failure.



openCore
public void openCore() throws StandardException(Code)
open a scan on the table. scan parameters are evaluated at each open, so there is probably some way of altering their values...

openCore() can only be called on a closed result set. see reopenCore if you want to reuse an open result set.
exception:
  StandardException - thrown if cursor finished.




positionScanAtRowLocation
void positionScanAtRowLocation(RowLocation rLoc) throws StandardException(Code)
Positions the cursor in the specified rowLocation. Used for scrollable insensitive result sets in order to position the cursor back to a row that has already be visited.
Parameters:
  rLoc - row location of the current cursor row
exception:
  StandardException - thrown on failure toget location from storage engine



reopenCore
public void reopenCore() throws StandardException(Code)
reopen the scan. behaves like openCore() but is optimized where appropriate (e.g. where scanController has special logic for us).

used by joiners

scan parameters are evaluated at each open, so there is probably some way of altering their values...
exception:
  StandardException - thrown if cursor finished.




requiresRelocking
public boolean requiresRelocking()(Code)
Do we need to relock the row when going to the heap. Whether or not we need to relock the row when going to the heap.



resultSetNumber
public int resultSetNumber()(Code)
Get the number of this ResultSet, which is guaranteed to be unique within a statement.



setCurrentRow
public void setCurrentRow(ExecRow row)(Code)
Set the current row to the row passed in.
Parameters:
  row - the new current row



setNeedsRowLocation
public void setNeedsRowLocation(boolean needsRowLocation)(Code)
Set whether or not the NPRS need the row location when acting as a row source. (The target result set determines this.)



setTargetResultSet
public void setTargetResultSet(TargetResultSet trs)(Code)
Notify a NPRS that it is the source for the specified TargetResultSet. This is useful when doing bulk insert.
Parameters:
  trs - The TargetResultSet.



updateRow
public void updateRow(ExecRow row) throws StandardException(Code)
Updates the resultSet's current row with it's new values after an update has been issued either using positioned update or JDBC's udpateRow method.
Parameters:
  row - new values for the currentRow
exception:
  StandardException - thrown on failure.



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