Java Doc for ResultSetImpl.java in  » Rule-Engine » Mandarax » org » mandarax » jdbc » client » 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 » Rule Engine » Mandarax » org.mandarax.jdbc.client 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.mandarax.jdbc.AbstractReadOnlyResultSet
      org.mandarax.jdbc.client.ResultSetImpl

ResultSetImpl
class ResultSetImpl extends AbstractReadOnlyResultSet implements ClientObject(Code)
Result set implementation. All update related features are not supported - a UnsupportedFeatureException will be thrown.
author:
   Jens Dietrich
version:
   3.3.2 <29 December 2004>
since:
   3.0



Constructor Summary
 ResultSetImpl(ResultSetMetaData metaData, Statement statement, Transport transport)
     Constructor.

Method Summary
public  booleanabsolute(int row)
     Moves the cursor to the given result number in this ResultSet object.
public  voidafterLast()
     Moves the cursor to the end of this ResultSet object, just after the last row.
public  voidbeforeFirst()
     Moves the cursor to the front of this ResultSet object, just before the first row.
public  voidclose()
     Close the result set.
public  intfindColumn(String columnName)
     Find the column (=slot) index.
public  booleanfirst()
     Moves the cursor to the first row in this ResultSet object.
public  intgetFetchSize()
     Get the fetch size.
public  StringgetId()
     Get the id.
public  ResultSetMetaDatagetMetaData()
     Return the result set meta data.
public  ObjectgetObject(int columnIndex)
     Get the object in the result at a certain index.
public  ObjectgetObject(String columnName)
     Get the result for a certain slot (column) name.
public  intgetRow()
     Retrieves the current row number.
public  StatementgetStatement()
     Get the statement.
public  booleanisAfterLast()
     Retrieves whether the cursor is after the last row in this ResultSet object.
public  booleanisBeforeFirst()
     Retrieves whether the cursor is before the first row in this ResultSet object.
public  booleanisFirst()
     Retrieves whether the cursor is on the first row of this ResultSet object.
public  booleanisLast()
     Retrieves whether the cursor is on the last row of this ResultSet object.
public  booleanlast()
     Moves the cursor to the last row in this ResultSet object.
public  booleannext()
     Move cursor to the next position.
public  booleanprevious()
     Move the cursor to the previous position.
public  booleanrelative(int rows)
     Moves the cursor a relative number of results, either positive or negative.
public  voidsetFetchSize(int fetchSize)
     Set the fetch size.
public  voidsetId(String id)
     Set the id.


Constructor Detail
ResultSetImpl
ResultSetImpl(ResultSetMetaData metaData, Statement statement, Transport transport) throws SQLException(Code)
Constructor.
Parameters:
  metaData - the meta data
Parameters:
  statement - the statement (the factory that produced this result set)
Parameters:
  transport - the transport object used




Method Detail
absolute
public boolean absolute(int row) throws SQLException(Code)
Moves the cursor to the given result number in this ResultSet object.
Parameters:
  row - boolean
throws:
  java.sql.SQLException -



afterLast
public void afterLast() throws SQLException(Code)
Moves the cursor to the end of this ResultSet object, just after the last row. This method has no effect if the result set contains no rows.
throws:
  java.sql.SQLException -



beforeFirst
public void beforeFirst() throws SQLException(Code)
Moves the cursor to the front of this ResultSet object, just before the first row. This method has no effect if the result set contains no rows.
throws:
  java.sql.SQLException -



close
public void close() throws SQLException(Code)
Close the result set.
throws:
  java.sql.SQLException -



findColumn
public int findColumn(String columnName) throws SQLException(Code)
Find the column (=slot) index.
Parameters:
  columnName - int
throws:
  java.sql.SQLException -



first
public boolean first() throws SQLException(Code)
Moves the cursor to the first row in this ResultSet object. boolean
throws:
  java.sql.SQLException -



getFetchSize
public int getFetchSize()(Code)
Get the fetch size. This is the number of rows fetched per request (buffer size). a number



getId
public String getId()(Code)
Get the id. the id



getMetaData
public ResultSetMetaData getMetaData() throws SQLException(Code)
Return the result set meta data. java.sql.ResultSetMetaData
throws:
  java.sql.SQLException -



getObject
public Object getObject(int columnIndex) throws SQLException(Code)
Get the object in the result at a certain index.
Parameters:
  columnIndex - java.lang.Object
throws:
  java.sql.SQLException -



getObject
public Object getObject(String columnName) throws SQLException(Code)
Get the result for a certain slot (column) name.
Parameters:
  columnName - java.lang.Object
throws:
  java.sql.SQLException -



getRow
public int getRow() throws SQLException(Code)
Retrieves the current row number. The first row is number 1, the second number 2, and so on. int
throws:
  java.sql.SQLException -



getStatement
public Statement getStatement() throws SQLException(Code)
Get the statement. java.sql.Statement
throws:
  java.sql.SQLException -



isAfterLast
public boolean isAfterLast() throws SQLException(Code)
Retrieves whether the cursor is after the last row in this ResultSet object. boolean
throws:
  java.sql.SQLException -



isBeforeFirst
public boolean isBeforeFirst() throws SQLException(Code)
Retrieves whether the cursor is before the first row in this ResultSet object. boolean
throws:
  java.sql.SQLException -



isFirst
public boolean isFirst() throws SQLException(Code)
Retrieves whether the cursor is on the first row of this ResultSet object. boolean
throws:
  java.sql.SQLException -



isLast
public boolean isLast() throws SQLException(Code)
Retrieves whether the cursor is on the last row of this ResultSet object. boolean
throws:
  java.sql.SQLException -



last
public boolean last() throws SQLException(Code)
Moves the cursor to the last row in this ResultSet object. boolean
throws:
  java.sql.SQLException -



next
public boolean next() throws SQLException(Code)
Move cursor to the next position. boolean
throws:
  java.sql.SQLException -



previous
public boolean previous() throws SQLException(Code)
Move the cursor to the previous position. boolean
throws:
  java.sql.SQLException -



relative
public boolean relative(int rows) throws SQLException(Code)
Moves the cursor a relative number of results, either positive or negative.
Parameters:
  rows - boolean
throws:
  java.sql.SQLException -



setFetchSize
public void setFetchSize(int fetchSize)(Code)
Set the fetch size. This is the number of rows fetched per request (buffer size).
Parameters:
  fetchSize - the new fetch size



setId
public void setId(String id)(Code)
Set the id.
Parameters:
  id - the new id



Methods inherited from org.mandarax.jdbc.AbstractReadOnlyResultSet
public void cancelRowUpdates() throws SQLException(Code)(Java Doc)
public void clearWarnings() throws SQLException(Code)(Java Doc)
public void deleteRow() throws SQLException(Code)(Java Doc)
public Array getArray(int i) throws SQLException(Code)(Java Doc)
public Array getArray(String colName) throws SQLException(Code)(Java Doc)
public InputStream getAsciiStream(int columnIndex) throws SQLException(Code)(Java Doc)
public InputStream getAsciiStream(String columnName) throws SQLException(Code)(Java Doc)
public BigDecimal getBigDecimal(int columnIndex, int scale) throws SQLException(Code)(Java Doc)
public BigDecimal getBigDecimal(String columnName, int scale) throws SQLException(Code)(Java Doc)
public BigDecimal getBigDecimal(int columnIndex) throws SQLException(Code)(Java Doc)
public BigDecimal getBigDecimal(String columnName) throws SQLException(Code)(Java Doc)
public InputStream getBinaryStream(int columnIndex) throws SQLException(Code)(Java Doc)
public InputStream getBinaryStream(String columnName) throws SQLException(Code)(Java Doc)
public Blob getBlob(int i) throws SQLException(Code)(Java Doc)
public Blob getBlob(String colName) throws SQLException(Code)(Java Doc)
public boolean getBoolean(int columnIndex) throws SQLException(Code)(Java Doc)
public boolean getBoolean(String columnName) throws SQLException(Code)(Java Doc)
public byte getByte(int columnIndex) throws SQLException(Code)(Java Doc)
public byte getByte(String columnName) throws SQLException(Code)(Java Doc)
public byte[] getBytes(int columnIndex) throws SQLException(Code)(Java Doc)
public byte[] getBytes(String columnName) throws SQLException(Code)(Java Doc)
public Reader getCharacterStream(int columnIndex) throws SQLException(Code)(Java Doc)
public Reader getCharacterStream(String columnName) throws SQLException(Code)(Java Doc)
public Clob getClob(int i) throws SQLException(Code)(Java Doc)
public Clob getClob(String colName) throws SQLException(Code)(Java Doc)
public int getConcurrency() throws SQLException(Code)(Java Doc)
public String getCursorName() throws SQLException(Code)(Java Doc)
public java.sql.Date getDate(int columnIndex) throws SQLException(Code)(Java Doc)
public java.sql.Date getDate(String columnName) throws SQLException(Code)(Java Doc)
public java.sql.Date getDate(int columnIndex, Calendar cal) throws SQLException(Code)(Java Doc)
public java.sql.Date getDate(String columnName, Calendar cal) throws SQLException(Code)(Java Doc)
public double getDouble(int columnIndex) throws SQLException(Code)(Java Doc)
public double getDouble(String columnName) throws SQLException(Code)(Java Doc)
public int getFetchDirection() throws SQLException(Code)(Java Doc)
public int getFetchSize() throws SQLException(Code)(Java Doc)
public float getFloat(int columnIndex) throws SQLException(Code)(Java Doc)
public float getFloat(String columnName) throws SQLException(Code)(Java Doc)
public int getInt(int columnIndex) throws SQLException(Code)(Java Doc)
public int getInt(String columnName) throws SQLException(Code)(Java Doc)
public long getLong(int columnIndex) throws SQLException(Code)(Java Doc)
public long getLong(String columnName) throws SQLException(Code)(Java Doc)
public Object getObject(int i, Map map) throws SQLException(Code)(Java Doc)
public Object getObject(String colName, Map map) throws SQLException(Code)(Java Doc)
public Ref getRef(int i) throws SQLException(Code)(Java Doc)
public Ref getRef(String colName) throws SQLException(Code)(Java Doc)
public short getShort(int columnIndex) throws SQLException(Code)(Java Doc)
public short getShort(String columnName) throws SQLException(Code)(Java Doc)
public String getString(int columnIndex) throws SQLException(Code)(Java Doc)
public String getString(String columnName) throws SQLException(Code)(Java Doc)
public Time getTime(int columnIndex) throws SQLException(Code)(Java Doc)
public Time getTime(String columnName) throws SQLException(Code)(Java Doc)
public Time getTime(int columnIndex, Calendar cal) throws SQLException(Code)(Java Doc)
public Time getTime(String columnName, Calendar cal) throws SQLException(Code)(Java Doc)
public Timestamp getTimestamp(int columnIndex) throws SQLException(Code)(Java Doc)
public Timestamp getTimestamp(String columnName) throws SQLException(Code)(Java Doc)
public Timestamp getTimestamp(int columnIndex, Calendar cal) throws SQLException(Code)(Java Doc)
public Timestamp getTimestamp(String columnName, Calendar cal) throws SQLException(Code)(Java Doc)
public int getType() throws SQLException(Code)(Java Doc)
public URL getURL(int columnIndex) throws SQLException(Code)(Java Doc)
public URL getURL(String columnName) throws SQLException(Code)(Java Doc)
public InputStream getUnicodeStream(int columnIndex) throws SQLException(Code)(Java Doc)
public InputStream getUnicodeStream(String columnName) throws SQLException(Code)(Java Doc)
public SQLWarning getWarnings() throws SQLException(Code)(Java Doc)
public void insertRow() throws SQLException(Code)(Java Doc)
public void moveToCurrentRow() throws SQLException(Code)(Java Doc)
public void moveToInsertRow() throws SQLException(Code)(Java Doc)
public void refreshRow() throws SQLException(Code)(Java Doc)
public boolean rowDeleted() throws SQLException(Code)(Java Doc)
public boolean rowInserted() throws SQLException(Code)(Java Doc)
public boolean rowUpdated() throws SQLException(Code)(Java Doc)
public void setFetchDirection(int direction) throws SQLException(Code)(Java Doc)
public void setFetchSize(int rows) throws SQLException(Code)(Java Doc)
public void updateArray(int columnIndex, Array x) throws SQLException(Code)(Java Doc)
public void updateArray(String columnName, Array x) throws SQLException(Code)(Java Doc)
public void updateAsciiStream(int columnIndex, InputStream x, int length) throws SQLException(Code)(Java Doc)
public void updateAsciiStream(String columnName, InputStream x, int length) throws SQLException(Code)(Java Doc)
public void updateBigDecimal(int columnIndex, BigDecimal x) throws SQLException(Code)(Java Doc)
public void updateBigDecimal(String columnName, BigDecimal x) throws SQLException(Code)(Java Doc)
public void updateBinaryStream(int columnIndex, InputStream x, int length) throws SQLException(Code)(Java Doc)
public void updateBinaryStream(String columnName, InputStream x, int length) throws SQLException(Code)(Java Doc)
public void updateBlob(int columnIndex, Blob x) throws SQLException(Code)(Java Doc)
public void updateBlob(String columnName, Blob x) throws SQLException(Code)(Java Doc)
public void updateBoolean(int columnIndex, boolean x) throws SQLException(Code)(Java Doc)
public void updateBoolean(String columnName, boolean x) throws SQLException(Code)(Java Doc)
public void updateByte(int columnIndex, byte x) throws SQLException(Code)(Java Doc)
public void updateByte(String columnName, byte x) throws SQLException(Code)(Java Doc)
public void updateBytes(int columnIndex, byte[] x) throws SQLException(Code)(Java Doc)
public void updateBytes(String columnName, byte[] x) throws SQLException(Code)(Java Doc)
public void updateCharacterStream(int columnIndex, Reader x, int length) throws SQLException(Code)(Java Doc)
public void updateCharacterStream(String columnName, Reader reader, int length) throws SQLException(Code)(Java Doc)
public void updateClob(int columnIndex, Clob x) throws SQLException(Code)(Java Doc)
public void updateClob(String columnName, Clob x) throws SQLException(Code)(Java Doc)
public void updateDate(int columnIndex, java.sql.Date x) throws SQLException(Code)(Java Doc)
public void updateDate(String columnName, java.sql.Date x) throws SQLException(Code)(Java Doc)
public void updateDouble(int columnIndex, double x) throws SQLException(Code)(Java Doc)
public void updateDouble(String columnName, double x) throws SQLException(Code)(Java Doc)
public void updateFloat(int columnIndex, float x) throws SQLException(Code)(Java Doc)
public void updateFloat(String columnName, float x) throws SQLException(Code)(Java Doc)
public void updateInt(int columnIndex, int x) throws SQLException(Code)(Java Doc)
public void updateInt(String columnName, int x) throws SQLException(Code)(Java Doc)
public void updateLong(int columnIndex, long x) throws SQLException(Code)(Java Doc)
public void updateLong(String columnName, long x) throws SQLException(Code)(Java Doc)
public void updateNull(int columnIndex) throws SQLException(Code)(Java Doc)
public void updateNull(String columnName) throws SQLException(Code)(Java Doc)
public void updateObject(int columnIndex, Object x, int scale) throws SQLException(Code)(Java Doc)
public void updateObject(int columnIndex, Object x) throws SQLException(Code)(Java Doc)
public void updateObject(String columnName, Object x, int scale) throws SQLException(Code)(Java Doc)
public void updateObject(String columnName, Object x) throws SQLException(Code)(Java Doc)
public void updateRef(int columnIndex, Ref x) throws SQLException(Code)(Java Doc)
public void updateRef(String columnName, Ref x) throws SQLException(Code)(Java Doc)
public void updateRow() throws SQLException(Code)(Java Doc)
public void updateShort(int columnIndex, short x) throws SQLException(Code)(Java Doc)
public void updateShort(String columnName, short x) throws SQLException(Code)(Java Doc)
public void updateString(int columnIndex, String x) throws SQLException(Code)(Java Doc)
public void updateString(String columnName, String x) throws SQLException(Code)(Java Doc)
public void updateTime(int columnIndex, Time x) throws SQLException(Code)(Java Doc)
public void updateTime(String columnName, Time x) throws SQLException(Code)(Java Doc)
public void updateTimestamp(int columnIndex, Timestamp x) throws SQLException(Code)(Java Doc)
public void updateTimestamp(String columnName, Timestamp x) throws SQLException(Code)(Java Doc)
public boolean wasNull() throws SQLException(Code)(Java Doc)

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

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