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


java.lang.Object
   org.apache.derby.client.am.Cursor

All known Subclasses:   org.apache.derby.client.net.NetCursor,
Cursor
abstract public class Cursor (Code)


Field Summary
final public static  intBYTES
    
final public static  intDBCS_CLOB
    
final public static  intMBCS_CLOB
    
final public static  intNULL_TERMINATED_BYTES
    
final public static  intNULL_TERMINATED_STRING
    
final public static  java.lang.BooleanROW_IS_NOT_NULL
    
final public static  java.lang.BooleanROW_IS_NULL
    
final public static  intSBCS_CLOB
    
final public static  intSTRING
    
final public static  intVARIABLE_BYTES
    
final public static  intVARIABLE_SHORT_BYTES
    
final public static  intVARIABLE_SHORT_STRING
    
final public static  intVARIABLE_STRING
    
protected  Agentagent_
    
public  int[]ccsid_
    
 char[]charBuffer_
    
public  String[]charsetName_
    
protected  int[]columnDataComputedLength_
    
protected  java.util.ArrayListcolumnDataIsNullCache_
    
protected  java.util.ArrayListcolumnDataLengthCache_
    
protected  java.util.ArrayListcolumnDataPositionCache_
    
protected  int[]columnDataPosition_
    
public  intcolumns_
    
protected  intcurrentRowPosition_
    
public  java.io.ByteArrayOutputStreamdataBufferStream_
    
public  byte[]dataBuffer_
    
public  int[]fdocaLength_
    
public  booleanhasLobs_
    
public  boolean[]isNull_
    
public  java.util.ArrayListisUpdateDeleteHoleCache_
    
public  booleanisUpdateDeleteHole_
    
public  int[]jdbcTypes_
    
public  intlastValidBytePosition_
    
 intmaxFieldSize_
    
public  boolean[]nullable_
    
public  intposition_
    
 java.sql.DaterecyclableDate_
    
 java.sql.TimerecyclableTime_
    
 java.sql.TimestamprecyclableTimestamp_
    
 introwsRead_
    

Constructor Summary
public  Cursor(Agent agent)
    
public  Cursor(Agent agent, byte[] dataBuffer)
    

Method Summary
final public  booleanallRowsReceivedFromServer()
     Return true if all rows are received from the server.
final public  voidallocateCharBuffer()
    
abstract protected  booleancalculateColumnOffsetsForRow_(int row, boolean allowServerFetch)
     Calculate the column offsets for a row.
abstract protected  voidclearLobData_()
    
final public  booleancurrentRowPositionIsEqualToNextRowPosition()
    
final public  booleandataBufferHasUnprocessedData()
    
final public  java.sql.ArraygetArray(int column)
    
final public  java.io.InputStreamgetAsciiStream(int column)
    
final  java.math.BigDecimalgetBigDecimal(int column)
    
final public  java.io.InputStreamgetBinaryStream(int column)
    
final public  java.sql.BlobgetBlob(int column)
    
abstract public  BlobgetBlobColumn_(int column, Agent agent)
    
final  booleangetBoolean(int column)
    
final  bytegetByte(int column)
    
final  byte[]getBytes(int column)
    
final  byte[]getBytesFromVARCHAR(int column)
    
final public  java.io.ReadergetCharacterStream(int column)
    
final public  java.sql.ClobgetClob(int column)
    
abstract public  byte[]getClobBytes_(int column, int[] dataOffset)
    
abstract public  ClobgetClobColumn_(int column, Agent agent)
    
final public  byte[]getDataBuffer()
    
final public  intgetDataBufferLength()
    
final  java.sql.DategetDate(int column)
    
final  doublegetDouble(int column)
    
final  floatgetFloat(int column)
    
final  intgetInt(int column)
    
final public  booleangetIsRowUpdated()
     Get updated status for this row.
final public  booleangetIsUpdateDeleteHole()
     Get deleted status for this row.
final public  intgetLastValidBytePosition()
    
final  longgetLong(int column)
    
abstract protected  voidgetMoreData_()
    
final public  ObjectgetObject(int column)
    
final  intgetPosition()
    
final public  java.sql.RefgetRef(int column)
    
final  shortgetShort(int column)
    
final  StringgetString(int column)
    
final  java.sql.TimegetTime(int column)
    
final  java.sql.TimestampgetTimestamp(int column)
    
final public  java.io.InputStreamgetUnicodeStream(int column)
    
final public  voidincrementRowsReadEvent()
    
final public  voidmakeNextRowPositionCurrent()
    
final public  voidmarkCurrentRowPosition()
    
final public  voidmarkNextRowPosition()
    
public  booleannext()
     Makes the next row the current row.
public  voidnullDataForGC()
    
final  voidrepositionCursorToCurrentRow()
    
final  voidrepositionCursorToNextRow()
    
final public  voidresetDataBuffer()
    
public  voidsetAllRowsReceivedFromServer(boolean b)
     Set the value of value of allRowsReceivedFromServer_.
final public  voidsetBuffer(byte[] dataBuffer)
    
final public  voidsetIsRowUpdated(boolean isRowUpdated)
     Keep track of updated status for this row.
final public  voidsetIsUpdataDeleteHole(int row, boolean isRowNull)
    
public  voidsetNumberOfColumns(int numberOfColumns)
    
final  voidsetPosition(int newPosition)
    
protected  booleanstepNext(boolean allowServerFetch)
     Makes the next row the current row.

Field Detail
BYTES
final public static int BYTES(Code)



DBCS_CLOB
final public static int DBCS_CLOB(Code)



MBCS_CLOB
final public static int MBCS_CLOB(Code)



NULL_TERMINATED_BYTES
final public static int NULL_TERMINATED_BYTES(Code)



NULL_TERMINATED_STRING
final public static int NULL_TERMINATED_STRING(Code)



ROW_IS_NOT_NULL
final public static java.lang.Boolean ROW_IS_NOT_NULL(Code)



ROW_IS_NULL
final public static java.lang.Boolean ROW_IS_NULL(Code)



SBCS_CLOB
final public static int SBCS_CLOB(Code)



STRING
final public static int STRING(Code)



VARIABLE_BYTES
final public static int VARIABLE_BYTES(Code)



VARIABLE_SHORT_BYTES
final public static int VARIABLE_SHORT_BYTES(Code)



VARIABLE_SHORT_STRING
final public static int VARIABLE_SHORT_STRING(Code)



VARIABLE_STRING
final public static int VARIABLE_STRING(Code)



agent_
protected Agent agent_(Code)



ccsid_
public int[] ccsid_(Code)



charBuffer_
char[] charBuffer_(Code)



charsetName_
public String[] charsetName_(Code)



columnDataComputedLength_
protected int[] columnDataComputedLength_(Code)



columnDataIsNullCache_
protected java.util.ArrayList columnDataIsNullCache_(Code)



columnDataLengthCache_
protected java.util.ArrayList columnDataLengthCache_(Code)



columnDataPositionCache_
protected java.util.ArrayList columnDataPositionCache_(Code)



columnDataPosition_
protected int[] columnDataPosition_(Code)



columns_
public int columns_(Code)



currentRowPosition_
protected int currentRowPosition_(Code)



dataBufferStream_
public java.io.ByteArrayOutputStream dataBufferStream_(Code)



dataBuffer_
public byte[] dataBuffer_(Code)



fdocaLength_
public int[] fdocaLength_(Code)



hasLobs_
public boolean hasLobs_(Code)



isNull_
public boolean[] isNull_(Code)



isUpdateDeleteHoleCache_
public java.util.ArrayList isUpdateDeleteHoleCache_(Code)



isUpdateDeleteHole_
public boolean isUpdateDeleteHole_(Code)



jdbcTypes_
public int[] jdbcTypes_(Code)



lastValidBytePosition_
public int lastValidBytePosition_(Code)



maxFieldSize_
int maxFieldSize_(Code)



nullable_
public boolean[] nullable_(Code)



position_
public int position_(Code)



recyclableDate_
java.sql.Date recyclableDate_(Code)



recyclableTime_
java.sql.Time recyclableTime_(Code)



recyclableTimestamp_
java.sql.Timestamp recyclableTimestamp_(Code)



rowsRead_
int rowsRead_(Code)




Constructor Detail
Cursor
public Cursor(Agent agent)(Code)



Cursor
public Cursor(Agent agent, byte[] dataBuffer)(Code)




Method Detail
allRowsReceivedFromServer
final public boolean allRowsReceivedFromServer()(Code)
Return true if all rows are received from the server. true if all rows are received from theserver.



allocateCharBuffer
final public void allocateCharBuffer()(Code)



calculateColumnOffsetsForRow_
abstract protected boolean calculateColumnOffsetsForRow_(int row, boolean allowServerFetch) throws SqlException, DisconnectException(Code)
Calculate the column offsets for a row.
Parameters:
  row - row index
Parameters:
  allowServerFetch - if true, allow fetching more data fromserver true if the current row position is avalid row position.
exception:
  SqlException -
exception:
  DisconnectException -



clearLobData_
abstract protected void clearLobData_()(Code)



currentRowPositionIsEqualToNextRowPosition
final public boolean currentRowPositionIsEqualToNextRowPosition()(Code)



dataBufferHasUnprocessedData
final public boolean dataBufferHasUnprocessedData()(Code)



getArray
final public java.sql.Array getArray(int column) throws SqlException(Code)



getAsciiStream
final public java.io.InputStream getAsciiStream(int column) throws SqlException(Code)



getBigDecimal
final java.math.BigDecimal getBigDecimal(int column) throws SqlException(Code)



getBinaryStream
final public java.io.InputStream getBinaryStream(int column) throws SqlException(Code)



getBlob
final public java.sql.Blob getBlob(int column) throws SqlException(Code)



getBlobColumn_
abstract public Blob getBlobColumn_(int column, Agent agent) throws SqlException(Code)



getBoolean
final boolean getBoolean(int column) throws SqlException(Code)



getByte
final byte getByte(int column) throws SqlException(Code)



getBytes
final byte[] getBytes(int column) throws SqlException(Code)



getBytesFromVARCHAR
final byte[] getBytesFromVARCHAR(int column) throws SqlException(Code)



getCharacterStream
final public java.io.Reader getCharacterStream(int column) throws SqlException(Code)



getClob
final public java.sql.Clob getClob(int column) throws SqlException(Code)



getClobBytes_
abstract public byte[] getClobBytes_(int column, int[] dataOffset) throws SqlException(Code)



getClobColumn_
abstract public Clob getClobColumn_(int column, Agent agent) throws SqlException(Code)



getDataBuffer
final public byte[] getDataBuffer()(Code)



getDataBufferLength
final public int getDataBufferLength()(Code)



getDate
final java.sql.Date getDate(int column) throws SqlException(Code)



getDouble
final double getDouble(int column) throws SqlException(Code)



getFloat
final float getFloat(int column) throws SqlException(Code)



getInt
final int getInt(int column) throws SqlException(Code)



getIsRowUpdated
final public boolean getIsRowUpdated()(Code)
Get updated status for this row. Minion of ResultSet#rowUpdated.
See Also:   Cursor.setIsRowUpdated



getIsUpdateDeleteHole
final public boolean getIsUpdateDeleteHole()(Code)
Get deleted status for this row. Minion of ResultSet#rowDeleted.
See Also:   Cursor.setIsUpdataDeleteHole



getLastValidBytePosition
final public int getLastValidBytePosition()(Code)



getLong
final long getLong(int column) throws SqlException(Code)



getMoreData_
abstract protected void getMoreData_() throws SqlException(Code)



getObject
final public Object getObject(int column) throws SqlException(Code)



getPosition
final int getPosition()(Code)



getRef
final public java.sql.Ref getRef(int column) throws SqlException(Code)



getShort
final short getShort(int column) throws SqlException(Code)



getString
final String getString(int column) throws SqlException(Code)



getTime
final java.sql.Time getTime(int column) throws SqlException(Code)



getTimestamp
final java.sql.Timestamp getTimestamp(int column) throws SqlException(Code)



getUnicodeStream
final public java.io.InputStream getUnicodeStream(int column) throws SqlException(Code)



incrementRowsReadEvent
final public void incrementRowsReadEvent()(Code)



makeNextRowPositionCurrent
final public void makeNextRowPositionCurrent()(Code)



markCurrentRowPosition
final public void markCurrentRowPosition()(Code)



markNextRowPosition
final public void markNextRowPosition()(Code)



next
public boolean next() throws SqlException(Code)
Makes the next row the current row. Returns true if the current row position is a valid row position. true if current row position is valid
exception:
  SqlException - if an error occurs



nullDataForGC
public void nullDataForGC()(Code)



repositionCursorToCurrentRow
final void repositionCursorToCurrentRow()(Code)



repositionCursorToNextRow
final void repositionCursorToNextRow()(Code)



resetDataBuffer
final public void resetDataBuffer()(Code)



setAllRowsReceivedFromServer
public void setAllRowsReceivedFromServer(boolean b)(Code)
Set the value of value of allRowsReceivedFromServer_.
Parameters:
  b - a boolean value indicating whether allrows are received from the server



setBuffer
final public void setBuffer(byte[] dataBuffer)(Code)



setIsRowUpdated
final public void setIsRowUpdated(boolean isRowUpdated)(Code)
Keep track of updated status for this row.
Parameters:
  isRowUpdated - true if row has been updated
See Also:   Cursor.getIsRowUpdated



setIsUpdataDeleteHole
final public void setIsUpdataDeleteHole(int row, boolean isRowNull)(Code)



setNumberOfColumns
public void setNumberOfColumns(int numberOfColumns)(Code)



setPosition
final void setPosition(int newPosition)(Code)



stepNext
protected boolean stepNext(boolean allowServerFetch) throws SqlException(Code)
Makes the next row the current row. Returns true if the current row position is a valid row position.
Parameters:
  allowServerFetch - if false, don't fetch more data fromthe server even if more data is needed true if current row position is valid
exception:
  SqlException - if an error occurs



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.