Java Doc for ResultSet.java in  » Database-DBMS » Quadcap-Embeddable-Database » com » quadcap » jdbc » 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 » Quadcap Embeddable Database » com.quadcap.jdbc 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.quadcap.jdbc.ResultSet

ResultSet
public class ResultSet implements QedResultSet(Code)
This class implements the java.sql.ResultSet interface, and provides facilities for accessing the results of a SQL query. QED supports updateable ResultSets.

TODO: update{BC}lob


author:
   Stan Bailes


Field Summary
 booleanbf
    
 Cursorcursor
    
 RowinsertRow
    
 Objectlock
    
 booleanonInsertRow
    
 booleanonUpdateRow
    
 intresultSetConcurrency
    
 intresultSetType
    
 Rowrow
    
 introwCount
    
 booleanrowDeleted
    
 introwNum
    
 booleanrowUpdated
    
 Statementstmt
    
final static  ConfigNumbertrace
    
 booleanwasNull
    

Constructor Summary
public  ResultSet(Cursor cursor)
     Constructor that wraps a cursor.

Method Summary
public  booleanabsolute(int x)
     Position the resultset to the specified row.
public  voidafterLast()
     Position the cursor to the end of the ResultSet, after the last row.
final  NumberasNumber(Object obj)
     Are you a number? Any sort of number? Even some fancy schmancy number? Are you? Or not.
public  voidbeforeFirst()
     Position the cursor to the beginning of the ResultSet, before the first row.
public  voidcancelRowUpdates()
     This function rolls back row updates, as long as updateRow() hasn't been called yet.
final  voidcheckScrollable()
     Ensure that this ResultSet is scrollable.
final  voidcheckUpdatable()
     Ensure that this ResultSet is updatable.
public  voidclearWarnings()
     Clears all warnings that have been reported on this ResultSet object.
public  voidclose()
     Close this ResultSet object.
public  voiddeleteRow()
     Delete the current row from the ResultSet and the underlying database.
public  voidfinalize()
     We will clean up the user's mess for him.
public  intfindColumn(String column)
     Return the column number of the specified column.
public  booleanfirst()
     Position the cursor on the first row of the ResultSet.
public  ArraygetArray(int col)
     This release of QED doesn't support ARRAY types.
public  ArraygetArray(String column)
     This release of QED doesn't support ARRAY types.
public  InputStreamgetAsciiStream(int col)
     Return an InputStream object that can be used to read the specified character value as a stream of ASCII bytes.
public  InputStreamgetAsciiStream(String column)
     Return an InputStream object that can be used to read the specified character value as a stream of ASCII bytes.
public  BigDecimalgetBigDecimal(int col)
     Retrieve the specified column as a BigDecimal object.
public  BigDecimalgetBigDecimal(int col, int scale)
    
public  BigDecimalgetBigDecimal(String column)
     Retrieve the specified column as a BigDecimal object.
public  BigDecimalgetBigDecimal(String column, int scale)
    
public  InputStreamgetBinaryStream(int col)
     Return an InputStream object that can be used to read the specified column value as a stream of bytes.
public  InputStreamgetBinaryStream(String column)
     Return an InputStream object that can be used to read the specified column value as a stream of bytes.
public  BlobgetBlob(int col)
     Retrieve the specified column as a Blob object.
public  BlobgetBlob(String column)
     Retrieve the specified column as a Blob object.
public  booleangetBoolean(int col)
     Retrieve the specified column as a boolean.
public  booleangetBoolean(String column)
     Retrieve the specified column as a boolean.
public  bytegetByte(int col)
     Retrieve the specified column as a byte.
public  bytegetByte(String column)
     Retrieve the specified column as a byte.
public  byte[]getBytes(int col)
     Retrieve the specified column as an array of bytes.
public  byte[]getBytes(String column)
     Retrieve the specified column as an array of bytes.
public  ReadergetCharacterStream(int col)
     Return a Reader object that can be used to read the specified column value as a stream of characters.
public  ReadergetCharacterStream(String column)
     Return a Reader object that can be used to read the specified column value as a stream of characters.
public  ClobgetClob(int col)
     Retrieve the specified column as a Clob object.
public  ClobgetClob(String column)
     Retrieve the specified column as a Clob object.
public  intgetConcurrency()
     Return the concurrency level of this ResultSet.
public  StringgetCursorName()
    
final  RowgetCursorRow()
     Return the current cursor row.
public  DategetDate(int col)
     Retrieve the specified column as a Date object.
public  DategetDate(int col, Calendar c)
     Retrieve the specified column as a Date object.
Parameters:
  col - the column number
Parameters:
  c - a Calendar object that is used for convertingthe database date to the local timezone.
public  DategetDate(String column)
     Retrieve the specified column as a Date object.
public  DategetDate(String column, Calendar c)
     Retrieve the specified column as a Date object.
Parameters:
  column - the column name
Parameters:
  c - a Calendar object that is used for convertingthe database date to the local timezone.
public  doublegetDouble(int col)
     Retrieve the specified column as a double.
public  doublegetDouble(String column)
     Retrieve the specified column as a double.
public  intgetFetchDirection()
     This release of QED only supports forward cursor movement.
public  intgetFetchSize()
     QED, being an embedded driver, fetches rows only when they are needed, with no performance penalty.
public  floatgetFloat(int col)
     Retrieve the specified column as a float.
public  floatgetFloat(String column)
     Retrieve the specified column as a float.
public  intgetInt(int col)
     Retrieve the specified column as an int.
public  intgetInt(String column)
     Retrieve the specified column as an int.
public  longgetLong(int col)
     Retrieve the specified column as a long.
public  longgetLong(String column)
     Retrieve the specified column as a long.
public  java.sql.ResultSetMetaDatagetMetaData()
     Return a ResultSetMetaData object that can be used to obtain information about the columns of this ResultSet.
public  ObjectgetObject(int col, Type type)
     Return the value in the specified column as a Java "Object" after performing the indicated type conversion.
public  ObjectgetObject(int col)
     Retrieve the specified column as a Java Object.
public  ObjectgetObject(String column)
     Retrieve the specified column as a Java Object.
public  ObjectgetObject(int col, Map map)
     Retrieve the specified column as a Java Object, using the supplied type map.
public  ObjectgetObject(String column, Map map)
     Retrieve the specified column as a Java Object, using the supplied type map.
public  RefgetRef(int col)
     This release of QED doesn't support REF types.
public  RefgetRef(String column)
     This release of QED doesn't support REF types.
public  intgetRow()
     Return the row number of the current row in the ResultSet.
public  shortgetShort(int col)
     Retrieve the specified column as a short.
public  shortgetShort(String column)
     Retrieve the specified column as a short.
public  java.sql.StatementgetStatement()
     Return the Statement object that generated this ResultSet.
public  StringgetString(int col)
     Retrieve the specified column as a String object.
public  StringgetString(String column)
     Retrieve the specified column as a String object.
public  TimegetTime(int col)
     Retrieve the specified column as a Time object.
public  TimegetTime(int col, Calendar c)
     Retrieve the specified column as a Time object.
Parameters:
  col - the column number
Parameters:
  c - a Calendar object that is used for convertingthe database time to the local timezone.
public  TimegetTime(String column)
     Retrieve the specified column as a Time object.
public  TimegetTime(String column, Calendar c)
     Retrieve the specified column as a Time object.
Parameters:
  column - the column name
Parameters:
  c - a Calendar object that is used for convertingthe database time to the local timezone.
public  TimestampgetTimestamp(int col)
     Retrieve the specified column as a Timestamp object.
public  TimestampgetTimestamp(int col, Calendar c)
     Retrieve the specified column as a Timestamp object.
Parameters:
  col - the column number
Parameters:
  c - a Calendar object that is used for convertingthe database time to the local timezone.
public  TimestampgetTimestamp(String column)
     Retrieve the specified column as a Timestamp object.
public  TimestampgetTimestamp(String column, Calendar c)
     Retrieve the specified column as a Timestamp object.
Parameters:
  column - the column name
Parameters:
  c - a Calendar object that is used for convertingthe database time to the local timezone.
public  intgetType()
     This QED release only supports ResultSet.TYPE_FORWARD_ONLY.
public  java.net.URLgetURL(int columnIndex)
     Retrieves the value of the designated column in the current row of this ResultSet object as a java.net.URL object in the Java programming language.
Parameters:
  columnIndex - the index of the column 1 is the first, 2 is the second,...
public  java.net.URLgetURL(String columnName)
     Retrieves the value of the designated column in the current row of this ResultSet object as a java.net.URL object in the Java programming language.
public  InputStreamgetUnicodeStream(int col)
    
public  InputStreamgetUnicodeStream(String column)
    
 ValuegetValue(int col)
     Return the value in the specified column.
final  ValuegetValue(int col, Type type)
     Convert the value in the specified column to the given type.
public  SQLWarninggetWarnings()
    
public  voidinsertRow()
     If this ResultSet is currently positioned on the insert row, then insert the current row into the database.
public  booleanisAfterLast()
     Return true if this cursor is positioned after the last row.
public  booleanisBeforeFirst()
     Return true if this cursor is positioned before the first row.
public  booleanisFirst()
     Return true if this cursor is positioned on the first row.
public  booleanisLast()
     Return true if this cursor is positioned on the last row.
public  booleanlast()
     Move to the last row of the ResultSet.
public  voidmoveToCurrentRow()
     If the cursor is on the insert row, move it back to the previous position in the ResultSet.
public  voidmoveToInsertRow()
     Move the cursor to the insert row.
public  booleannext()
     Advance the cursor to the next row in the ResultSet.
public  booleanprevious()
     Advance the cursor to the next row in the ResultSet.
public  voidrefreshRow()
    
public  booleanrelative(int rows)
    
public  booleanrowDeleted()
     Return true if the current row has been deleted.
public  booleanrowInserted()
     Return true if the current row has been inserted.
public  booleanrowUpdated()
     Return true if the current row has been updated.
public  voidsetFetchDirection(int direction)
    
public  voidsetFetchSize(int size)
     QED, being an embedded driver, fetches rows only when they are needed, with no performance penalty.
public  voidsetStatement(java.sql.Statement stmt)
     Attach this result set to its parent statement.
public  voidupdateArray(int columnIndex, java.sql.Array x)
     Updates the designated column with a java.sql.Array value. The updater methods are used to update column values in the current row or the insert row.
public  voidupdateArray(String columnName, java.sql.Array x)
     Updates the designated column with a java.sql.Array value. The updater methods are used to update column values in the current row or the insert row.
public  voidupdateAsciiStream(int col, InputStream is, int length)
     Update the specified character value using an InputStream that contains a stream of ASCII bytes.
public  voidupdateAsciiStream(String column, InputStream is, int length)
     Update the specified character value using an InputStream that contains a stream of ASCII bytes.
public  voidupdateBigDecimal(int col, BigDecimal val)
     Update the specified column with a BigDecimal value.
public  voidupdateBigDecimal(String column, BigDecimal val)
     Update the specified column with a BigDecimal value.
public  voidupdateBinaryStream(int col, InputStream is, int length)
     Update the specified value using an InputStream that contains a stream of bytes.
public  voidupdateBinaryStream(String column, InputStream is, int length)
     Update the specified value using an InputStream that contains a stream of bytes.
public  voidupdateBlob(int columnIndex, java.sql.Blob x)
     Updates the designated column with a java.sql.Blob value. The updater methods are used to update column values in the current row or the insert row.
public  voidupdateBlob(String columnName, java.sql.Blob x)
     Updates the designated column with a java.sql.Blob value. The updater methods are used to update column values in the current row or the insert row.
public  voidupdateBoolean(int col, boolean val)
     Update the specified column with a boolean value.
public  voidupdateBoolean(String column, boolean val)
     Update the specified column with a boolean value.
public  voidupdateByte(int col, byte val)
     Update the specified column with a byte value.
public  voidupdateByte(String column, byte val)
     Update the specified column with a byte value.
public  voidupdateBytes(int col, byte[] val)
     Update the specified column with a byte array value.
public  voidupdateBytes(String column, byte[] val)
     Update the specified column with a byte array value.
public  voidupdateCharacterStream(int col, Reader r, int length)
     Update the specified character value using a Reader that contains a stream of characters.
public  voidupdateCharacterStream(String column, Reader r, int length)
     Update the specified character value using a Reader that contains a stream of characters.
public  voidupdateClob(int columnIndex, java.sql.Clob x)
     Updates the designated column with a java.sql.Clob value. The updater methods are used to update column values in the current row or the insert row.
public  voidupdateClob(String columnName, java.sql.Clob x)
     Updates the designated column with a java.sql.Clob value. The updater methods are used to update column values in the current row or the insert row.
public  voidupdateDate(int col, Date val)
     Update the specified column with a Date value.
public  voidupdateDate(String column, Date val)
     Update the specified column with a Date value.
public  voidupdateDouble(int col, double val)
     Update the specified column with a double value.
public  voidupdateDouble(String column, double val)
     Update the specified column with a double value.
public  voidupdateFloat(int col, float val)
     Update the specified column with a float value.
public  voidupdateFloat(String column, float val)
     Update the specified column with a float value.
public  voidupdateInt(int col, int val)
     Update the specified column with a int value.
public  voidupdateInt(String column, int val)
     Update the specified column with a int value.
public  voidupdateLong(int col, long val)
     Update the specified column with a long value.
public  voidupdateLong(String column, long val)
     Update the specified column with a long value.
public  voidupdateNull(int col)
     Update the specified column with a null value.
public  voidupdateNull(String column)
     Update the specified column with a null value.
public  voidupdateObject(int col, Object val)
     Update the specified column with the value of a Java Object.
public  voidupdateObject(int col, Object val, int scale)
     Update the specified column with the value of a Java Object.
public  voidupdateObject(String column, Object val)
     Update the specified column with the value of a Java Object.
public  voidupdateObject(String column, Object val, int scale)
     Update the specified column with the value of a Java Object.
public  voidupdateRef(int columnIndex, java.sql.Ref x)
     Updates the designated column with a java.sql.Ref value. The updater methods are used to update column values in the current row or the insert row.
public  voidupdateRef(String columnName, java.sql.Ref x)
     Updates the designated column with a java.sql.Ref value. The updater methods are used to update column values in the current row or the insert row.
public  voidupdateRow()
     Update the current row (based on previous calls to the updateXXX methods) in the database.
public  voidupdateShort(int col, short val)
     Update the specified column with a short value.
public  voidupdateShort(String column, short val)
     Update the specified column with a short value.
public  voidupdateString(int col, String val)
     Update the specified column with a String value.
public  voidupdateString(String column, String val)
     Update the specified column with a String value.
public  voidupdateTime(int col, Time val)
     Update the specified column with a Time value.
public  voidupdateTime(String column, Time val)
     Update the specified column with a Time value.
public  voidupdateTimestamp(int col, Timestamp val)
     Update the specified column with a Timestamp value.
public  voidupdateTimestamp(String column, Timestamp val)
     Update the specified column with a Timestamp value.
public  booleanwasNull()
     Return true if the last value fetched (via a getXXX() method) was NULL.

Field Detail
bf
boolean bf(Code)



cursor
Cursor cursor(Code)



insertRow
Row insertRow(Code)



lock
Object lock(Code)



onInsertRow
boolean onInsertRow(Code)



onUpdateRow
boolean onUpdateRow(Code)



resultSetConcurrency
int resultSetConcurrency(Code)



resultSetType
int resultSetType(Code)



row
Row row(Code)



rowCount
int rowCount(Code)



rowDeleted
boolean rowDeleted(Code)



rowNum
int rowNum(Code)



rowUpdated
boolean rowUpdated(Code)



stmt
Statement stmt(Code)



trace
final static ConfigNumber trace(Code)



wasNull
boolean wasNull(Code)




Constructor Detail
ResultSet
public ResultSet(Cursor cursor)(Code)
Constructor that wraps a cursor. Used internally to QED.
Parameters:
  cursor - a cursor




Method Detail
absolute
public boolean absolute(int x) throws SQLException(Code)
Position the resultset to the specified row. If positive, the row number indicates an offset from the beginning of the ResultSet (row 1 is the first row). If negative, the row number indicates an offset from the end of the ResultSet (row -1 is the last row).

In general, this release of QED supports absolute positioning to the first row of the ResultSet only.
Parameters:
  row - the row number true if we're positioned on a valid row, false if we'rebefore the first row or after the last row.
exception:
  SQLException - if row is zero.




afterLast
public void afterLast() throws SQLException(Code)
Position the cursor to the end of the ResultSet, after the last row. Our underlying cursor doesn't support this operation, so we use 'absolute()' to get to the end, then 'next()' to move past the end.
exception:
  SQLException - may be thrown.



asNumber
final Number asNumber(Object obj)(Code)
Are you a number? Any sort of number? Even some fancy schmancy number? Are you? Or not.



beforeFirst
public void beforeFirst() throws SQLException(Code)
Position the cursor to the beginning of the ResultSet, before the first row.
exception:
  SQLException - may be thrown.



cancelRowUpdates
public void cancelRowUpdates() throws SQLException(Code)
This function rolls back row updates, as long as updateRow() hasn't been called yet.
exception:
  SQLException - may be thrown



checkScrollable
final void checkScrollable() throws SQLException(Code)
Ensure that this ResultSet is scrollable. This method is a factorization of the common check necessary for all ResultSet scoll methods.



checkUpdatable
final void checkUpdatable() throws SQLException(Code)
Ensure that this ResultSet is updatable. This method is a factorization of the common check necessary for all ResultSet update methods.



clearWarnings
public void clearWarnings() throws SQLException(Code)
Clears all warnings that have been reported on this ResultSet object. QED doesn't currently throw any SQLWarnings, so this operation does nothing.



close
public void close() throws SQLException(Code)
Close this ResultSet object. If this is an updatable ResultSet, and the connection that this ResultSet was created from is in autoCommit mode, the transaction is committed at this time.
exception:
  SQLException - may be thrown



deleteRow
public void deleteRow() throws SQLException(Code)
Delete the current row from the ResultSet and the underlying database.
exception:
  SQLException - may be thrown



finalize
public void finalize() throws Throwable(Code)
We will clean up the user's mess for him.



findColumn
public int findColumn(String column) throws SQLException(Code)
Return the column number of the specified column.
Parameters:
  column - the name of the column the number of the column in the resultset.



first
public boolean first() throws SQLException(Code)
Position the cursor on the first row of the ResultSet. Return true if the ResultSet has at least one row.
exception:
  SQLException - may be thrown



getArray
public Array getArray(int col) throws SQLException(Code)
This release of QED doesn't support ARRAY types.
exception:
  SQLException - "not implemented"



getArray
public Array getArray(String column) throws SQLException(Code)
This release of QED doesn't support ARRAY types.
exception:
  SQLException - "not implemented"



getAsciiStream
public InputStream getAsciiStream(int col) throws SQLException(Code)
Return an InputStream object that can be used to read the specified character value as a stream of ASCII bytes.
Parameters:
  col - the column number an InputStream
exception:
  SQLException - may be thrown



getAsciiStream
public InputStream getAsciiStream(String column) throws SQLException(Code)
Return an InputStream object that can be used to read the specified character value as a stream of ASCII bytes.
Parameters:
  column - the column name an InputStream
exception:
  SQLException - may be thrown



getBigDecimal
public BigDecimal getBigDecimal(int col) throws SQLException(Code)
Retrieve the specified column as a BigDecimal object.
Parameters:
  col - the column number the column's value in the current row
exception:
  SQLException - may be thrown



getBigDecimal
public BigDecimal getBigDecimal(int col, int scale) throws SQLException(Code)



getBigDecimal
public BigDecimal getBigDecimal(String column) throws SQLException(Code)
Retrieve the specified column as a BigDecimal object.
Parameters:
  column - the column name the column's value in the current row
exception:
  SQLException - may be thrown



getBigDecimal
public BigDecimal getBigDecimal(String column, int scale) throws SQLException(Code)



getBinaryStream
public InputStream getBinaryStream(int col) throws SQLException(Code)
Return an InputStream object that can be used to read the specified column value as a stream of bytes.
Parameters:
  col - the column number an InputStream
exception:
  SQLException - may be thrown



getBinaryStream
public InputStream getBinaryStream(String column) throws SQLException(Code)
Return an InputStream object that can be used to read the specified column value as a stream of bytes.
Parameters:
  column - the column name an InputStream
exception:
  SQLException - may be thrown



getBlob
public Blob getBlob(int col) throws SQLException(Code)
Retrieve the specified column as a Blob object.
Parameters:
  col - the column number the column's value in the current row
exception:
  SQLException - may be thrown



getBlob
public Blob getBlob(String column) throws SQLException(Code)
Retrieve the specified column as a Blob object.
Parameters:
  column - the column name the column's value in the current row
exception:
  SQLException - may be thrown



getBoolean
public boolean getBoolean(int col) throws SQLException(Code)
Retrieve the specified column as a boolean.
Parameters:
  col - the column number the column's value in the current row
exception:
  SQLException - may be thrown



getBoolean
public boolean getBoolean(String column) throws SQLException(Code)
Retrieve the specified column as a boolean.
Parameters:
  column - the column name the column's value in the current row
exception:
  SQLException - may be thrown



getByte
public byte getByte(int col) throws SQLException(Code)
Retrieve the specified column as a byte.
Parameters:
  col - the column number the column's value in the current row
exception:
  SQLException - may be thrown



getByte
public byte getByte(String column) throws SQLException(Code)
Retrieve the specified column as a byte.
Parameters:
  column - the column name the column's value in the current row
exception:
  SQLException - may be thrown



getBytes
public byte[] getBytes(int col) throws SQLException(Code)
Retrieve the specified column as an array of bytes.
Parameters:
  col - the column number the column's value in the current row
exception:
  SQLException - may be thrown



getBytes
public byte[] getBytes(String column) throws SQLException(Code)
Retrieve the specified column as an array of bytes.
Parameters:
  column - the column name the column's value in the current row
exception:
  SQLException - may be thrown



getCharacterStream
public Reader getCharacterStream(int col) throws SQLException(Code)
Return a Reader object that can be used to read the specified column value as a stream of characters.
Parameters:
  col - the column number a Reader
exception:
  SQLException - may be thrown



getCharacterStream
public Reader getCharacterStream(String column) throws SQLException(Code)
Return a Reader object that can be used to read the specified column value as a stream of characters.
Parameters:
  column - the column name a Reader
exception:
  SQLException - may be thrown



getClob
public Clob getClob(int col) throws SQLException(Code)
Retrieve the specified column as a Clob object.
Parameters:
  col - the column number the column's value in the current row
exception:
  SQLException - may be thrown



getClob
public Clob getClob(String column) throws SQLException(Code)
Retrieve the specified column as a Clob object.
Parameters:
  column - the column name the column's value in the current row
exception:
  SQLException - may be thrown



getConcurrency
public int getConcurrency()(Code)
Return the concurrency level of this ResultSet. this ResultSets concurrency level



getCursorName
public String getCursorName() throws SQLException(Code)
QED doesn't support named cursors, so this method throws a SQLException "not implemented" never
exception:
  SQLException - not implemented



getCursorRow
final Row getCursorRow() throws SQLException(Code)
Return the current cursor row.



getDate
public Date getDate(int col) throws SQLException(Code)
Retrieve the specified column as a Date object.
Parameters:
  col - the column number the column's value in the current row
exception:
  SQLException - may be thrown



getDate
public Date getDate(int col, Calendar c) throws SQLException(Code)
Retrieve the specified column as a Date object.
Parameters:
  col - the column number
Parameters:
  c - a Calendar object that is used for convertingthe database date to the local timezone. The database date isadjusted based on the Calendar timezone and DST offset. the column's value in the current row
exception:
  SQLException - may be thrown



getDate
public Date getDate(String column) throws SQLException(Code)
Retrieve the specified column as a Date object.
Parameters:
  column - the column name the column's value in the current row
exception:
  SQLException - may be thrown



getDate
public Date getDate(String column, Calendar c) throws SQLException(Code)
Retrieve the specified column as a Date object.
Parameters:
  column - the column name
Parameters:
  c - a Calendar object that is used for convertingthe database date to the local timezone. The database date isadjusted based on the Calendar timezone and DST offset. the column's value in the current row
exception:
  SQLException - may be thrown



getDouble
public double getDouble(int col) throws SQLException(Code)
Retrieve the specified column as a double.
Parameters:
  col - the column number the column's value in the current row
exception:
  SQLException - may be thrown



getDouble
public double getDouble(String column) throws SQLException(Code)
Retrieve the specified column as a double.
Parameters:
  column - the column name the column's value in the current row
exception:
  SQLException - may be thrown



getFetchDirection
public int getFetchDirection()(Code)
This release of QED only supports forward cursor movement. FETCH_FORWARD



getFetchSize
public int getFetchSize()(Code)
QED, being an embedded driver, fetches rows only when they are needed, with no performance penalty. Thus, the fetch size is always one. one.



getFloat
public float getFloat(int col) throws SQLException(Code)
Retrieve the specified column as a float.
Parameters:
  col - the column number the column's value in the current row
exception:
  SQLException - may be thrown



getFloat
public float getFloat(String column) throws SQLException(Code)
Retrieve the specified column as a float.
Parameters:
  column - the column name the column's value in the current row
exception:
  SQLException - may be thrown



getInt
public int getInt(int col) throws SQLException(Code)
Retrieve the specified column as an int.
Parameters:
  col - the column number the column's value in the current row
exception:
  SQLException - may be thrown



getInt
public int getInt(String column) throws SQLException(Code)
Retrieve the specified column as an int.
Parameters:
  column - the column name the column's value in the current row
exception:
  SQLException - may be thrown



getLong
public long getLong(int col) throws SQLException(Code)
Retrieve the specified column as a long.
Parameters:
  col - the column number the column's value in the current row
exception:
  SQLException - may be thrown



getLong
public long getLong(String column) throws SQLException(Code)
Retrieve the specified column as a long.
Parameters:
  column - the column name the column's value in the current row
exception:
  SQLException - may be thrown



getMetaData
public java.sql.ResultSetMetaData getMetaData() throws SQLException(Code)
Return a ResultSetMetaData object that can be used to obtain information about the columns of this ResultSet. a ResultSetMetaData object that describesthe columns of this ResultSet.
exception:
  SQLException - may be thrown



getObject
public Object getObject(int col, Type type) throws SQLException(Code)
Return the value in the specified column as a Java "Object" after performing the indicated type conversion.



getObject
public Object getObject(int col) throws SQLException(Code)
Retrieve the specified column as a Java Object. The type of the object is based on the underlying SQL datatype, using the conversions as specified by JDBC.
Parameters:
  col - the column number the column's value in the current row
exception:
  SQLException - may be thrown



getObject
public Object getObject(String column) throws SQLException(Code)
Retrieve the specified column as a Java Object. The type of the object is based on the underlying SQL datatype, using the conversions as specified by JDBC.
Parameters:
  column - the column name the column's value in the current row
exception:
  SQLException - may be thrown



getObject
public Object getObject(int col, Map map) throws SQLException(Code)
Retrieve the specified column as a Java Object, using the supplied type map. This feature is not supported by this release of QED.
exception:
  SQLException - "not implemented"



getObject
public Object getObject(String column, Map map) throws SQLException(Code)
Retrieve the specified column as a Java Object, using the supplied type map. This feature is not supported by this release of QED.
exception:
  SQLException - "not implemented"



getRef
public Ref getRef(int col) throws SQLException(Code)
This release of QED doesn't support REF types.
exception:
  SQLException - "not implemented"



getRef
public Ref getRef(String column) throws SQLException(Code)
This release of QED doesn't support REF types.
exception:
  SQLException - "not implemented"



getRow
public int getRow() throws SQLException(Code)
Return the row number of the current row in the ResultSet.



getShort
public short getShort(int col) throws SQLException(Code)
Retrieve the specified column as a short.
Parameters:
  col - the column number the column's value in the current row
exception:
  SQLException - may be thrown



getShort
public short getShort(String column) throws SQLException(Code)
Retrieve the specified column as a short.
Parameters:
  column - the column name the column's value in the current row
exception:
  SQLException - may be thrown



getStatement
public java.sql.Statement getStatement()(Code)
Return the Statement object that generated this ResultSet. the Statement object that generated thisResultSet



getString
public String getString(int col) throws SQLException(Code)
Retrieve the specified column as a String object.
Parameters:
  col - the column number the column's value in the current row
exception:
  SQLException - may be thrown



getString
public String getString(String column) throws SQLException(Code)
Retrieve the specified column as a String object.
Parameters:
  column - the column name the column's value in the current row
exception:
  SQLException - may be thrown



getTime
public Time getTime(int col) throws SQLException(Code)
Retrieve the specified column as a Time object.
Parameters:
  col - the column number the column's value in the current row
exception:
  SQLException - may be thrown



getTime
public Time getTime(int col, Calendar c) throws SQLException(Code)
Retrieve the specified column as a Time object.
Parameters:
  col - the column number
Parameters:
  c - a Calendar object that is used for convertingthe database time to the local timezone. The database time isadjusted based on the Calendar timezone and DST offset. the column's value in the current row
exception:
  SQLException - may be thrown



getTime
public Time getTime(String column) throws SQLException(Code)
Retrieve the specified column as a Time object.
Parameters:
  column - the column name the column's value in the current row
exception:
  SQLException - may be thrown



getTime
public Time getTime(String column, Calendar c) throws SQLException(Code)
Retrieve the specified column as a Time object.
Parameters:
  column - the column name
Parameters:
  c - a Calendar object that is used for convertingthe database time to the local timezone. The database time isadjusted based on the Calendar timezone and DST offset. the column's value in the current row
exception:
  SQLException - may be thrown



getTimestamp
public Timestamp getTimestamp(int col) throws SQLException(Code)
Retrieve the specified column as a Timestamp object.
Parameters:
  col - the column number the column's value in the current row
exception:
  SQLException - may be thrown



getTimestamp
public Timestamp getTimestamp(int col, Calendar c) throws SQLException(Code)
Retrieve the specified column as a Timestamp object.
Parameters:
  col - the column number
Parameters:
  c - a Calendar object that is used for convertingthe database time to the local timezone. The database time isadjusted based on the Calendar timezone and DST offset. the column's value in the current row
exception:
  SQLException - may be thrown



getTimestamp
public Timestamp getTimestamp(String column) throws SQLException(Code)
Retrieve the specified column as a Timestamp object.
Parameters:
  column - the column name the column's value in the current row
exception:
  SQLException - may be thrown



getTimestamp
public Timestamp getTimestamp(String column, Calendar c) throws SQLException(Code)
Retrieve the specified column as a Timestamp object.
Parameters:
  column - the column name
Parameters:
  c - a Calendar object that is used for convertingthe database time to the local timezone. The database time isadjusted based on the Calendar timezone and DST offset. the column's value in the current row
exception:
  SQLException - may be thrown



getType
public int getType()(Code)
This QED release only supports ResultSet.TYPE_FORWARD_ONLY. ResultSet.TYPE_FORWARD_ONLY



getURL
public java.net.URL getURL(int columnIndex) throws SQLException(Code)
Retrieves the value of the designated column in the current row of this ResultSet object as a java.net.URL object in the Java programming language.
Parameters:
  columnIndex - the index of the column 1 is the first, 2 is the second,... the column value as a java.net.URL object;if the value is SQL NULL,the value returned is null in the Java programming language
exception:
  SQLException - if a database access error occurs,or if a URL is malformed
since:
   1.4



getURL
public java.net.URL getURL(String columnName) throws SQLException(Code)
Retrieves the value of the designated column in the current row of this ResultSet object as a java.net.URL object in the Java programming language.
Parameters:
  columnName - the SQL name of the column the column value as a java.net.URL object;if the value is SQL NULL,the value returned is null in the Java programming language
exception:
  SQLException - if a database access error occursor if a URL is malformed
since:
   1.4



getUnicodeStream
public InputStream getUnicodeStream(int col) throws SQLException(Code)



getUnicodeStream
public InputStream getUnicodeStream(String column) throws SQLException(Code)



getValue
Value getValue(int col) throws SQLException(Code)
Return the value in the specified column.



getValue
final Value getValue(int col, Type type) throws SQLException(Code)
Convert the value in the specified column to the given type.



getWarnings
public SQLWarning getWarnings()(Code)
QED doesn't implement any SQLWarnings, so this function always returns null null



insertRow
public void insertRow() throws SQLException(Code)
If this ResultSet is currently positioned on the insert row, then insert the current row into the database.
exception:
  SQLException - may be thrown if we're not currentlyon the insert row, or if there is an error reported from thedatabase for the insert operation



isAfterLast
public boolean isAfterLast() throws SQLException(Code)
Return true if this cursor is positioned after the last row.
exception:
  SQLException - may be thrown



isBeforeFirst
public boolean isBeforeFirst() throws SQLException(Code)
Return true if this cursor is positioned before the first row.
exception:
  SQLException - may be thrown



isFirst
public boolean isFirst() throws SQLException(Code)
Return true if this cursor is positioned on the first row.
exception:
  SQLException - may be thrown



isLast
public boolean isLast() throws SQLException(Code)
Return true if this cursor is positioned on the last row.
exception:
  SQLException - may be thrown



last
public boolean last() throws SQLException(Code)
Move to the last row of the ResultSet. true if we manage to successfully position the ResultSet on the last row
exception:
  SQLException - is likely to be thrown ;-)



moveToCurrentRow
public void moveToCurrentRow()(Code)
If the cursor is on the insert row, move it back to the previous position in the ResultSet. If the cursor is not on the insert row, this function has no effect.



moveToInsertRow
public void moveToInsertRow()(Code)
Move the cursor to the insert row.



next
public boolean next() throws SQLException(Code)
Advance the cursor to the next row in the ResultSet. true if the cursor is positioned on a valid row, falseif the cursor has passed the end of the ResultSet.
exception:
  SQLException - may be thrown



previous
public boolean previous() throws SQLException(Code)
Advance the cursor to the next row in the ResultSet. true if the cursor is positioned on a valid row, falseif the cursor has passed the end of the ResultSet.
exception:
  SQLException - may be thrown



refreshRow
public void refreshRow() throws SQLException(Code)
Refresh the row from the underlying data store



relative
public boolean relative(int rows) throws SQLException(Code)
Move the cursor rows units forward (if rows > 0) or backward (if rows < 0)



rowDeleted
public boolean rowDeleted()(Code)
Return true if the current row has been deleted. false



rowInserted
public boolean rowInserted()(Code)
Return true if the current row has been inserted.



rowUpdated
public boolean rowUpdated() throws SQLException(Code)
Return true if the current row has been updated.



setFetchDirection
public void setFetchDirection(int direction) throws SQLException(Code)
This release of QED ignores the 'fetch direction' hint



setFetchSize
public void setFetchSize(int size)(Code)
QED, being an embedded driver, fetches rows only when they are needed, with no performance penalty. Thus, the fetch size is always one, and this function has no effect.



setStatement
public void setStatement(java.sql.Statement stmt)(Code)
Attach this result set to its parent statement.



updateArray
public void updateArray(int columnIndex, java.sql.Array x) throws SQLException(Code)
Updates the designated column with a java.sql.Array value. The updater methods are used to update column values in the current row or the insert row. The updater methods do not update the underlying database; instead the updateRow or insertRow methods are called to update the database.
Parameters:
  columnIndex - the first column is 1, the second is 2, ...
Parameters:
  x - the new column value
exception:
  SQLException - if a database access error occurs
since:
   1.4



updateArray
public void updateArray(String columnName, java.sql.Array x) throws SQLException(Code)
Updates the designated column with a java.sql.Array value. The updater methods are used to update column values in the current row or the insert row. The updater methods do not update the underlying database; instead the updateRow or insertRow methods are called to update the database.
Parameters:
  columnName - the name of the column
Parameters:
  x - the new column value
exception:
  SQLException - if a database access error occurs
since:
   1.4



updateAsciiStream
public void updateAsciiStream(int col, InputStream is, int length) throws SQLException(Code)
Update the specified character value using an InputStream that contains a stream of ASCII bytes. The ASCII bytes are converted to Unicode character values before being inserted into the database.
Parameters:
  col - the column number
Parameters:
  is - an input stream containing ASCII bytes.
Parameters:
  length - the number of bytes to read from the stream an InputStream
exception:
  SQLException - may be thrown



updateAsciiStream
public void updateAsciiStream(String column, InputStream is, int length) throws SQLException(Code)
Update the specified character value using an InputStream that contains a stream of ASCII bytes. The ASCII bytes are converted to Unicode character values before being inserted into the database.
Parameters:
  column - the column name
Parameters:
  is - an input stream containing ASCII bytes.
Parameters:
  length - the number of bytes to read from the stream an InputStream
exception:
  SQLException - may be thrown



updateBigDecimal
public void updateBigDecimal(int col, BigDecimal val) throws SQLException(Code)
Update the specified column with a BigDecimal value.
Parameters:
  column - the column name
Parameters:
  val - the new value
exception:
  SQLException - may be thrown



updateBigDecimal
public void updateBigDecimal(String column, BigDecimal val) throws SQLException(Code)
Update the specified column with a BigDecimal value.
Parameters:
  column - the column name
Parameters:
  val - the new value
exception:
  SQLException - may be thrown



updateBinaryStream
public void updateBinaryStream(int col, InputStream is, int length) throws SQLException(Code)
Update the specified value using an InputStream that contains a stream of bytes.
Parameters:
  col - the column number
Parameters:
  is - an input stream
Parameters:
  length - the number of bytes to read from the stream an InputStream
exception:
  SQLException - may be thrown



updateBinaryStream
public void updateBinaryStream(String column, InputStream is, int length) throws SQLException(Code)
Update the specified value using an InputStream that contains a stream of bytes.
Parameters:
  column - the column name
Parameters:
  is - an input stream
Parameters:
  length - the number of bytes to read from the stream an InputStream
exception:
  SQLException - may be thrown



updateBlob
public void updateBlob(int columnIndex, java.sql.Blob x) throws SQLException(Code)
Updates the designated column with a java.sql.Blob value. The updater methods are used to update column values in the current row or the insert row. The updater methods do not update the underlying database; instead the updateRow or insertRow methods are called to update the database.
Parameters:
  columnIndex - the first column is 1, the second is 2, ...
Parameters:
  x - the new column value
exception:
  SQLException - if a database access error occurs
since:
   1.4



updateBlob
public void updateBlob(String columnName, java.sql.Blob x) throws SQLException(Code)
Updates the designated column with a java.sql.Blob value. The updater methods are used to update column values in the current row or the insert row. The updater methods do not update the underlying database; instead the updateRow or insertRow methods are called to update the database.
Parameters:
  columnName - the name of the column
Parameters:
  x - the new column value
exception:
  SQLException - if a database access error occurs
since:
   1.4



updateBoolean
public void updateBoolean(int col, boolean val) throws SQLException(Code)
Update the specified column with a boolean value.
Parameters:
  col - the column numbere
Parameters:
  val - the new value
exception:
  SQLException - may be thrown



updateBoolean
public void updateBoolean(String column, boolean val) throws SQLException(Code)
Update the specified column with a boolean value.
Parameters:
  column - the column name
Parameters:
  val - the new value
exception:
  SQLException - may be thrown



updateByte
public void updateByte(int col, byte val) throws SQLException(Code)
Update the specified column with a byte value.
Parameters:
  col - the column number
Parameters:
  val - the new value
exception:
  SQLException - may be thrown



updateByte
public void updateByte(String column, byte val) throws SQLException(Code)
Update the specified column with a byte value.
Parameters:
  column - the column name
Parameters:
  val - the new value
exception:
  SQLException - may be thrown



updateBytes
public void updateBytes(int col, byte[] val) throws SQLException(Code)
Update the specified column with a byte array value.
Parameters:
  col - the column number
Parameters:
  val - the new value
exception:
  SQLException - may be thrown



updateBytes
public void updateBytes(String column, byte[] val) throws SQLException(Code)
Update the specified column with a byte array value.
Parameters:
  column - the column name
Parameters:
  val - the new value
exception:
  SQLException - may be thrown



updateCharacterStream
public void updateCharacterStream(int col, Reader r, int length) throws SQLException(Code)
Update the specified character value using a Reader that contains a stream of characters.
Parameters:
  col - the column number
Parameters:
  r - an input reader
Parameters:
  length - the number of characters to read from the reader an InputStream
exception:
  SQLException - may be thrown



updateCharacterStream
public void updateCharacterStream(String column, Reader r, int length) throws SQLException(Code)
Update the specified character value using a Reader that contains a stream of characters.
Parameters:
  column - the column name
Parameters:
  r - an input reader
Parameters:
  length - the number of characters to read from the reader an InputStream
exception:
  SQLException - may be thrown



updateClob
public void updateClob(int columnIndex, java.sql.Clob x) throws SQLException(Code)
Updates the designated column with a java.sql.Clob value. The updater methods are used to update column values in the current row or the insert row. The updater methods do not update the underlying database; instead the updateRow or insertRow methods are called to update the database.
Parameters:
  columnIndex - the first column is 1, the second is 2, ...
Parameters:
  x - the new column value
exception:
  SQLException - if a database access error occurs
since:
   1.4



updateClob
public void updateClob(String columnName, java.sql.Clob x) throws SQLException(Code)
Updates the designated column with a java.sql.Clob value. The updater methods are used to update column values in the current row or the insert row. The updater methods do not update the underlying database; instead the updateRow or insertRow methods are called to update the database.
Parameters:
  columnName - the name of the column
Parameters:
  x - the new column value
exception:
  SQLException - if a database access error occurs
since:
   1.4



updateDate
public void updateDate(int col, Date val) throws SQLException(Code)
Update the specified column with a Date value.
Parameters:
  col - the column number
Parameters:
  val - the new value
exception:
  SQLException - may be thrown



updateDate
public void updateDate(String column, Date val) throws SQLException(Code)
Update the specified column with a Date value.
Parameters:
  column - the column name
Parameters:
  val - the new value
exception:
  SQLException - may be thrown



updateDouble
public void updateDouble(int col, double val) throws SQLException(Code)
Update the specified column with a double value.
Parameters:
  col - the column number
Parameters:
  val - the new value
exception:
  SQLException - may be thrown



updateDouble
public void updateDouble(String column, double val) throws SQLException(Code)
Update the specified column with a double value.
Parameters:
  column - the column name
Parameters:
  val - the new value
exception:
  SQLException - may be thrown



updateFloat
public void updateFloat(int col, float val) throws SQLException(Code)
Update the specified column with a float value.
Parameters:
  col - the column number
Parameters:
  val - the new value
exception:
  SQLException - may be thrown



updateFloat
public void updateFloat(String column, float val) throws SQLException(Code)
Update the specified column with a float value.
Parameters:
  column - the column name
Parameters:
  val - the new value
exception:
  SQLException - may be thrown



updateInt
public void updateInt(int col, int val) throws SQLException(Code)
Update the specified column with a int value.
Parameters:
  col - the column number
Parameters:
  val - the new value
exception:
  SQLException - may be thrown



updateInt
public void updateInt(String column, int val) throws SQLException(Code)
Update the specified column with a int value.
Parameters:
  column - the column name
Parameters:
  val - the new value
exception:
  SQLException - may be thrown



updateLong
public void updateLong(int col, long val) throws SQLException(Code)
Update the specified column with a long value.
Parameters:
  col - the column number
Parameters:
  val - the new value
exception:
  SQLException - may be thrown



updateLong
public void updateLong(String column, long val) throws SQLException(Code)
Update the specified column with a long value.
Parameters:
  column - the column name
Parameters:
  val - the new value
exception:
  SQLException - may be thrown



updateNull
public void updateNull(int col) throws SQLException(Code)
Update the specified column with a null value.
Parameters:
  column - the column name
exception:
  SQLException - may be thrown



updateNull
public void updateNull(String column) throws SQLException(Code)
Update the specified column with a null value.
Parameters:
  column - the column name
exception:
  SQLException - may be thrown



updateObject
public void updateObject(int col, Object val) throws SQLException(Code)
Update the specified column with the value of a Java Object.
Parameters:
  col - the column number
Parameters:
  val - the new value
exception:
  SQLException - may be thrown



updateObject
public void updateObject(int col, Object val, int scale) throws SQLException(Code)
Update the specified column with the value of a Java Object.
Parameters:
  col - the column number
Parameters:
  val - the new value
Parameters:
  scale - ignored in this release of QED
exception:
  SQLException - may be thrown



updateObject
public void updateObject(String column, Object val) throws SQLException(Code)
Update the specified column with the value of a Java Object.
Parameters:
  column - the column name
Parameters:
  val - the new value
exception:
  SQLException - may be thrown



updateObject
public void updateObject(String column, Object val, int scale) throws SQLException(Code)
Update the specified column with the value of a Java Object.
Parameters:
  col - the column number
Parameters:
  val - the new value
Parameters:
  scale - ignored in this release of QED
exception:
  SQLException - may be thrown



updateRef
public void updateRef(int columnIndex, java.sql.Ref x) throws SQLException(Code)
Updates the designated column with a java.sql.Ref value. The updater methods are used to update column values in the current row or the insert row. The updater methods do not update the underlying database; instead the updateRow or insertRow methods are called to update the database.
Parameters:
  columnIndex - the first column is 1, the second is 2, ...
Parameters:
  x - the new column value
exception:
  SQLException - if a database access error occurs
since:
   1.4



updateRef
public void updateRef(String columnName, java.sql.Ref x) throws SQLException(Code)
Updates the designated column with a java.sql.Ref value. The updater methods are used to update column values in the current row or the insert row. The updater methods do not update the underlying database; instead the updateRow or insertRow methods are called to update the database.
Parameters:
  columnName - the name of the column
Parameters:
  x - the new column value
exception:
  SQLException - if a database access error occurs
since:
   1.4



updateRow
public void updateRow() throws SQLException(Code)
Update the current row (based on previous calls to the updateXXX methods) in the database.
exception:
  SQLException - may be thrown if we're currentlyon the insert row, or if there is an error reported from thedatabase for the update operation



updateShort
public void updateShort(int col, short val) throws SQLException(Code)
Update the specified column with a short value.
Parameters:
  col - the column number
Parameters:
  val - the new value
exception:
  SQLException - may be thrown



updateShort
public void updateShort(String column, short val) throws SQLException(Code)
Update the specified column with a short value.
Parameters:
  column - the column name
Parameters:
  val - the new value
exception:
  SQLException - may be thrown



updateString
public void updateString(int col, String val) throws SQLException(Code)
Update the specified column with a String value.
Parameters:
  col - the column number
Parameters:
  val - the new value
exception:
  SQLException - may be thrown



updateString
public void updateString(String column, String val) throws SQLException(Code)
Update the specified column with a String value.
Parameters:
  column - the column name
Parameters:
  val - the new value
exception:
  SQLException - may be thrown



updateTime
public void updateTime(int col, Time val) throws SQLException(Code)
Update the specified column with a Time value.
Parameters:
  col - the column number
Parameters:
  val - the new value
exception:
  SQLException - may be thrown



updateTime
public void updateTime(String column, Time val) throws SQLException(Code)
Update the specified column with a Time value.
Parameters:
  column - the column name
Parameters:
  val - the new value
exception:
  SQLException - may be thrown



updateTimestamp
public void updateTimestamp(int col, Timestamp val) throws SQLException(Code)
Update the specified column with a Timestamp value.
Parameters:
  col - the column number
Parameters:
  val - the new value
exception:
  SQLException - may be thrown



updateTimestamp
public void updateTimestamp(String column, Timestamp val) throws SQLException(Code)
Update the specified column with a Timestamp value.
Parameters:
  column - the column name
Parameters:
  val - the new value
exception:
  SQLException - may be thrown



wasNull
public boolean wasNull()(Code)
Return true if the last value fetched (via a getXXX() method) was NULL. true if the last value fetched was NULL.



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.