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


java.lang.Object
   org.apache.derby.impl.drda.DRDAResultSet

DRDAResultSet
class DRDAResultSet (Code)
DRDAResultSet holds result set information


Field Summary
final protected static  intNOT_OPENED
    
final public static  intQRYCLSIMP_DEFAULT
    
final protected static  intSUSPENDED
    
protected  intblksize
    
protected  intconcurType
    
 booleanexplicitlyClosed
    
protected  booleanhasdata
    
protected  intmaxblkext
    
protected  intnbrrow
    
protected  int[]outovr_drdaType
    
protected  intoutovropt
    
protected  ConsistencyTokenpkgcnstkn
    
protected  booleanqryblkrst
    
protected  intqryclsimp
    
protected  booleanqryrelscr
    
protected  booleanqryrfrtbl
    
protected  longqryrownbr
    
protected  intqryrowset
    
protected  booleanqryrowsns
    
protected  booleanqryrtndta
    
protected  intqryscrorn
    
protected  longrowCount
    
protected  int[]rsLens
    
protected  byte[]rslsetflg
    
protected  intrtnextdta
    
protected  intscrollType
    
 intstate
    
protected  intwithHoldCursor
    

Constructor Summary
 DRDAResultSet()
    

Method Summary
protected  voidCLSQRY()
     Explicitly close the result set by CLSQRY needed to check for double close.
protected  voidaddExtDtaObject(Object o, int jdbcIndex)
    
protected  voidclearExtDtaObjects()
    
protected  voidclose()
     This method closes the JDBC objects and frees up all references held by this object.
protected  ArrayListgetExtDtaObjects()
    
protected  intgetQryprctyp()
    
protected  ResultSetgetResultSet()
    
public  StringgetResultSetCursorName()
    
protected  intgetRsDRDAType(int index)
    
protected  int[]getRsDRDATypes()
    
protected  intgetRsLen(int index)
    
protected  intgetRsPrecision(int index)
    
protected  intgetRsScale(int index)
    
public  byte[]getSplitQRYDTA()
    
protected  booleanhasLobColumns()
     Check to see if the result set for this statement has at least one column that is BLOB/CLOB.
protected  booleanisClosed()
    
protected  booleanisExtDtaValueNullable(int index)
    
protected  voidreset()
     This method resets the state of this DRDAResultset object so that it can be re-used.
protected  voidsetExtDtaObjects(ArrayList a)
    
protected  voidsetOPNQRYOptions(int blksize, int qryblkctl, int maxblkext, int outovropt, int qryrowset, int qryclsimpl)
     Sets the OPNQRYOptions.
protected  voidsetPkgcnstkn(ConsistencyToken pkgcnstkn)
    
protected  voidsetQryprctyp(int qryprctyp)
    
protected  voidsetResultSet(ResultSet value)
     Set result set and initialize type array.
protected  voidsetRsDRDAType(int index, int type)
    
protected  voidsetRsDRDATypes(int[] value)
    
protected  voidsetRsLen(int index, int value)
    
protected  voidsetRsPrecision(int index, int precision)
    
protected  voidsetRsScale(int index, int scale)
    
public  voidsetSplitQRYDTA(byte[] data)
    
protected  voidsuspend()
    
protected  StringtoDebugString(String indent)
    
protected  booleanwasExplicitlyClosed()
    

Field Detail
NOT_OPENED
final protected static int NOT_OPENED(Code)



QRYCLSIMP_DEFAULT
final public static int QRYCLSIMP_DEFAULT(Code)



SUSPENDED
final protected static int SUSPENDED(Code)



blksize
protected int blksize(Code)



concurType
protected int concurType(Code)



explicitlyClosed
boolean explicitlyClosed(Code)



hasdata
protected boolean hasdata(Code)



maxblkext
protected int maxblkext(Code)



nbrrow
protected int nbrrow(Code)



outovr_drdaType
protected int[] outovr_drdaType(Code)



outovropt
protected int outovropt(Code)



pkgcnstkn
protected ConsistencyToken pkgcnstkn(Code)



qryblkrst
protected boolean qryblkrst(Code)



qryclsimp
protected int qryclsimp(Code)



qryrelscr
protected boolean qryrelscr(Code)



qryrfrtbl
protected boolean qryrfrtbl(Code)



qryrownbr
protected long qryrownbr(Code)



qryrowset
protected int qryrowset(Code)



qryrowsns
protected boolean qryrowsns(Code)



qryrtndta
protected boolean qryrtndta(Code)



qryscrorn
protected int qryscrorn(Code)



rowCount
protected long rowCount(Code)



rsLens
protected int[] rsLens(Code)



rslsetflg
protected byte[] rslsetflg(Code)



rtnextdta
protected int rtnextdta(Code)



scrollType
protected int scrollType(Code)



state
int state(Code)



withHoldCursor
protected int withHoldCursor(Code)




Constructor Detail
DRDAResultSet
DRDAResultSet()(Code)




Method Detail
CLSQRY
protected void CLSQRY()(Code)
Explicitly close the result set by CLSQRY needed to check for double close.



addExtDtaObject
protected void addExtDtaObject(Object o, int jdbcIndex)(Code)
Add extDtaObject
Parameters:
  o - - object to add



clearExtDtaObjects
protected void clearExtDtaObjects()(Code)
Clear externalized lob objects in current result set



close
protected void close() throws SQLException(Code)
This method closes the JDBC objects and frees up all references held by this object.
throws:
  SQLException -



getExtDtaObjects
protected ArrayList getExtDtaObjects()(Code)
Get the extData Objects ArrayList with extdta



getQryprctyp
protected int getQryprctyp() throws SQLException(Code)



getResultSet
protected ResultSet getResultSet()(Code)
the underlying java.sql.ResultSet



getResultSetCursorName
public String getResultSetCursorName() throws SQLException(Code)
Get the cursor name for the ResultSet



getRsDRDAType
protected int getRsDRDAType(int index)(Code)
get resultset/out parameter DRDAType
Parameters:
  index - - starting with 1 DRDA Type of column



getRsDRDATypes
protected int[] getRsDRDATypes()(Code)
ResultSet DRDA DataTypes



getRsLen
protected int getRsLen(int index)(Code)
get resultset DRDALen
Parameters:
  index - - starting with 1 length of column value



getRsPrecision
protected int getRsPrecision(int index)(Code)
get resultset /out paramter precision
Parameters:
  index - -starting with 1 precision of column



getRsScale
protected int getRsScale(int index)(Code)
get resultset /out paramter scale
Parameters:
  index - -starting with 1 scale of column



getSplitQRYDTA
public byte[] getSplitQRYDTA()(Code)



hasLobColumns
protected boolean hasLobColumns() throws SQLException(Code)
Check to see if the result set for this statement has at least one column that is BLOB/CLOB. True if the result has at least one blob/clobcolumn; false otherwise.



isClosed
protected boolean isClosed()(Code)
is ResultSet closed whether the resultSet is closed



isExtDtaValueNullable
protected boolean isExtDtaValueNullable(int index)(Code)



reset
protected void reset()(Code)
This method resets the state of this DRDAResultset object so that it can be re-used. This method should reset all variables of this class.



setExtDtaObjects
protected void setExtDtaObjects(ArrayList a)(Code)
Set the extData Objects



setOPNQRYOptions
protected void setOPNQRYOptions(int blksize, int qryblkctl, int maxblkext, int outovropt, int qryrowset, int qryclsimpl)(Code)
Sets the OPNQRYOptions. For more information on the meaning of these values consult the DRDA Technical Standard document.
Parameters:
  blksize - Query block Size
Parameters:
  qryblkctl - Use to set the query protocol type
Parameters:
  maxblkext - Maximum number of extra blocks
Parameters:
  outovropt - Output override option
Parameters:
  qryrowset - Query row set
Parameters:
  qryclsimpl - Implicit query close setting



setPkgcnstkn
protected void setPkgcnstkn(ConsistencyToken pkgcnstkn)(Code)
set consistency token for this resultSet



setQryprctyp
protected void setQryprctyp(int qryprctyp)(Code)



setResultSet
protected void setResultSet(ResultSet value) throws SQLException(Code)
Set result set and initialize type array.
Parameters:
  value -



setRsDRDAType
protected void setRsDRDAType(int index, int type)(Code)
set resultset/out parameter DRDAType
Parameters:
  index - - starting with 1
Parameters:
  type -



setRsDRDATypes
protected void setRsDRDATypes(int[] value)(Code)
Set ResultSet DRDA DataTypes
Parameters:
  value - drdaTypes for columns.



setRsLen
protected void setRsLen(int index, int value)(Code)
set resultset DRDA Len
Parameters:
  index - - starting with 1
Parameters:
  value -



setRsPrecision
protected void setRsPrecision(int index, int precision)(Code)
set resultset/out parameter precision
Parameters:
  index - - starting with 1
Parameters:
  precision -



setRsScale
protected void setRsScale(int index, int scale)(Code)
set resultset/out parameter scale
Parameters:
  index - - starting with 1
Parameters:
  scale -



setSplitQRYDTA
public void setSplitQRYDTA(byte[] data)(Code)



suspend
protected void suspend()(Code)
Set state to SUSPENDED (result set is opened)



toDebugString
protected String toDebugString(String indent)(Code)



wasExplicitlyClosed
protected boolean wasExplicitlyClosed()(Code)



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.