Java Doc for SimpleResultSet.java in  » Database-DBMS » h2database » org » h2 » tools » 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 » h2database » org.h2.tools 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.h2.tools.SimpleResultSet

SimpleResultSet
public class SimpleResultSet implements ResultSet,ResultSetMetaData(Code)
This class is a simple result set and meta data implementation. It can be used in Java functions that return a result set. Only the most basic methods are implemented, the others throw an exception. This implementation is standalone, and only relies on standard classes. It can be extended easily if required. An application can create a result set using the following code:
 SimpleResultSet rs = new SimpleResultSet();
 rs.addColumn("ID", Types.INTEGER, 10, 0);
 rs.addColumn("NAME", Types.VARCHAR, 255, 0);
 rs.addRow(new Object[] { new Integer(0), "Hello" });
 rs.addRow(new Object[] { new Integer(1), "World" });
 



Constructor Summary
public  SimpleResultSet()
     This constructor is used if the result set is later populated with addRow.
public  SimpleResultSet(SimpleRowSource source)
     This constructor is used if the result set should retrieve the rows using the specified row source object.

Method Summary
public  booleanabsolute(int row)
    
public  voidaddColumn(String name, int sqlType, int precision, int scale)
     Adds a column to the result set.
public  voidaddRow(Object[] row)
     Add a new row to the result set.
public  voidafterLast()
    
public  voidbeforeFirst()
     Moves the current position to before the first row, that means resets the result set.
public  voidcancelRowUpdates()
    
public  voidclearWarnings()
    
public  voidclose()
     Closes the result set and releases the resources.
public  voiddeleteRow()
    
public  intfindColumn(String columnName)
     Searches for a specific column in the result set.
public  booleanfirst()
    
public  ArraygetArray(int columnIndex)
     Returns the value as a java.sql.Array.
public  ArraygetArray(String columnName)
     Returns the value as a java.sql.Array.
public  InputStreamgetAsciiStream(int columnIndex)
    
public  InputStreamgetAsciiStream(String columnName)
    
public  BigDecimalgetBigDecimal(int columnIndex)
     Returns the value as a java.math.BigDecimal.
public  BigDecimalgetBigDecimal(String columnName)
     Returns the value as a java.math.BigDecimal.
public  BigDecimalgetBigDecimal(int columnIndex, int scale)
    
public  BigDecimalgetBigDecimal(String columnName, int scale)
    
public  InputStreamgetBinaryStream(int columnIndex)
    
public  InputStreamgetBinaryStream(String columnName)
    
public  BlobgetBlob(int i)
    
public  BlobgetBlob(String colName)
    
public  booleangetBoolean(int columnIndex)
     Returns the value as a boolean.
public  booleangetBoolean(String columnName)
     Returns the value as a boolean.
public  bytegetByte(int columnIndex)
     Returns the value as a byte.
public  bytegetByte(String columnName)
     Returns the value as a byte.
public  byte[]getBytes(int columnIndex)
     Returns the value as a byte array.
public  byte[]getBytes(String columnName)
     Returns the value as a byte array.
public  StringgetCatalogName(int columnIndex)
     Returns null.
public  ReadergetCharacterStream(int columnIndex)
    
public  ReadergetCharacterStream(String columnName)
    
public  ClobgetClob(int i)
    
public  ClobgetClob(String colName)
    
public  StringgetColumnClassName(int columnIndex)
     Returns null.
public  intgetColumnCount()
     Returns the column count.
public  intgetColumnDisplaySize(int columnIndex)
     Returns 15.
public  StringgetColumnLabel(int columnIndex)
     Returns the column name.
public  StringgetColumnName(int columnIndex)
     Returns the column name.
public  intgetColumnType(int columnIndex)
     Returns the SQL type.
public  StringgetColumnTypeName(int columnIndex)
     Returns null.
public  intgetConcurrency()
     Returns ResultSet.CONCUR_READ_ONLY.
public  StringgetCursorName()
    
public  DategetDate(int columnIndex)
     Returns the value as an java.sql.Date.
public  DategetDate(String columnName)
     Returns the value as a java.sql.Date.
public  DategetDate(int columnIndex, Calendar cal)
    
public  DategetDate(String columnName, Calendar cal)
    
public  doublegetDouble(int columnIndex)
     Returns the value as an double.
public  doublegetDouble(String columnName)
     Returns the value as a double.
public  intgetFetchDirection()
     Returns ResultSet.FETCH_FORWARD.
public  intgetFetchSize()
     Returns 0.
public  floatgetFloat(int columnIndex)
     Returns the value as a float.
public  floatgetFloat(String columnName)
     Returns the value as a float.
public  intgetHoldability()
     Returns the current result set holdability.
public  intgetInt(int columnIndex)
     Returns the value as an int.
public  intgetInt(String columnName)
     Returns the value as an int.
public  longgetLong(int columnIndex)
     Returns the value as a long.
public  longgetLong(String columnName)
     Returns the value as a long.
public  ResultSetMetaDatagetMetaData()
     Returns a reference to itself.
public  ReadergetNCharacterStream(int columnIndex)
    
public  ReadergetNCharacterStream(String columnName)
    
public  StringgetNString(int columnIndex)
    
public  StringgetNString(String columnName)
    
public  ObjectgetObject(int columnIndex)
     Returns the value as an Object.
public  ObjectgetObject(String columnName)
     Returns the value as an Object.
public  ObjectgetObject(int i, Map map)
    
public  ObjectgetObject(String colName, Map map)
    
public  intgetPrecision(int columnIndex)
     Returns the precision.
public  RefgetRef(int i)
    
public  RefgetRef(String colName)
    
public  intgetRow()
     Returns the row number (1, 2,...) or 0 for no row.
public  intgetScale(int columnIndex)
     Returns the scale.
public  StringgetSchemaName(int columnIndex)
     Returns null.
public  shortgetShort(int columnIndex)
     Returns the value as a short.
public  shortgetShort(String columnName)
     Returns the value as a short.
public  StatementgetStatement()
     Returns null.
public  StringgetString(int columnIndex)
     Returns the value as a String.
public  StringgetString(String columnName)
     Returns the value as a String.
public  StringgetTableName(int columnIndex)
     Returns null.
public  TimegetTime(int columnIndex)
     Returns the value as an java.sql.Time.
public  TimegetTime(String columnName)
     Returns the value as a java.sql.Time.
public  TimegetTime(int columnIndex, Calendar cal)
    
public  TimegetTime(String columnName, Calendar cal)
    
public  TimestampgetTimestamp(int columnIndex)
     Returns the value as an java.sql.Timestamp.
public  TimestampgetTimestamp(String columnName)
     Returns the value as a java.sql.Timestamp.
public  TimestampgetTimestamp(int columnIndex, Calendar cal)
    
public  TimestampgetTimestamp(String columnName, Calendar cal)
    
public  intgetType()
     Returns ResultSet.TYPE_FORWARD_ONLY.
public  URLgetURL(int columnIndex)
    
public  URLgetURL(String columnName)
    
public  InputStreamgetUnicodeStream(int columnIndex)
    
public  InputStreamgetUnicodeStream(String columnName)
    
public  SQLWarninggetWarnings()
     Returns null.
public  voidinsertRow()
    
public  booleanisAfterLast()
    
public  booleanisAutoIncrement(int columnIndex)
     Returns false.
public  booleanisBeforeFirst()
    
public  booleanisCaseSensitive(int columnIndex)
     Returns true.
public  booleanisClosed()
     Returns whether this result set has been closed.
public  booleanisCurrency(int columnIndex)
     Returns false.
public  booleanisDefinitelyWritable(int columnIndex)
     Returns false.
public  booleanisFirst()
    
public  booleanisLast()
    
public  intisNullable(int columnIndex)
     Returns ResultSetMetaData.columnNullableUnknown.
public  booleanisReadOnly(int columnIndex)
     Returns true.
public  booleanisSearchable(int columnIndex)
     Returns true.
public  booleanisSigned(int columnIndex)
     Returns true.
public  booleanisWritable(int columnIndex)
     Returns false.
public  booleanlast()
    
public  voidmoveToCurrentRow()
    
public  voidmoveToInsertRow()
    
public  booleannext()
     Moves the cursor to the next row of the result set.
public  booleanprevious()
    
public  voidrefreshRow()
    
public  booleanrelative(int rows)
    
public  booleanrowDeleted()
    
public  booleanrowInserted()
    
public  booleanrowUpdated()
    
public  voidsetFetchDirection(int direction)
    
public  voidsetFetchSize(int rows)
    
public  voidupdateArray(int columnIndex, Array x)
    
public  voidupdateArray(String columnName, Array x)
    
public  voidupdateAsciiStream(int columnIndex, InputStream x, int length)
    
public  voidupdateAsciiStream(String columnName, InputStream x, int length)
    
public  voidupdateAsciiStream(int columnIndex, InputStream x)
    
public  voidupdateAsciiStream(String columnName, InputStream x)
    
public  voidupdateAsciiStream(int columnIndex, InputStream x, long length)
    
public  voidupdateAsciiStream(String columnName, InputStream x, long length)
    
public  voidupdateBigDecimal(int columnIndex, BigDecimal x)
    
public  voidupdateBigDecimal(String columnName, BigDecimal x)
    
public  voidupdateBinaryStream(int columnIndex, InputStream x, int length)
    
public  voidupdateBinaryStream(String columnName, InputStream x, int length)
    
public  voidupdateBinaryStream(int columnName, InputStream x)
    
public  voidupdateBinaryStream(String columnName, InputStream x)
    
public  voidupdateBinaryStream(int columnIndex, InputStream x, long length)
    
public  voidupdateBinaryStream(String columnName, InputStream x, long length)
    
public  voidupdateBlob(int columnIndex, Blob x)
    
public  voidupdateBlob(String columnName, Blob x)
    
public  voidupdateBlob(int columnIndex, InputStream x)
    
public  voidupdateBlob(String columnName, InputStream x)
    
public  voidupdateBlob(int columnIndex, InputStream x, long length)
    
public  voidupdateBlob(String columnName, InputStream x, long length)
    
public  voidupdateBoolean(int columnIndex, boolean x)
    
public  voidupdateBoolean(String columnName, boolean x)
    
public  voidupdateByte(int columnIndex, byte x)
    
public  voidupdateByte(String columnName, byte x)
    
public  voidupdateBytes(int columnIndex, byte[] x)
    
public  voidupdateBytes(String columnName, byte[] x)
    
public  voidupdateCharacterStream(int columnIndex, Reader x, int length)
    
public  voidupdateCharacterStream(String columnName, Reader reader, int length)
    
public  voidupdateCharacterStream(int columnIndex, Reader x)
    
public  voidupdateCharacterStream(String columnName, Reader x)
    
public  voidupdateCharacterStream(int columnIndex, Reader x, long length)
    
public  voidupdateCharacterStream(String columnName, Reader x, long length)
    
public  voidupdateClob(int columnIndex, Clob x)
    
public  voidupdateClob(String columnName, Clob x)
    
public  voidupdateClob(int columnIndex, Reader x)
    
public  voidupdateClob(String columnName, Reader x)
    
public  voidupdateClob(int columnIndex, Reader x, long length)
    
public  voidupdateClob(String columnName, Reader x, long length)
    
public  voidupdateDate(int columnIndex, Date x)
    
public  voidupdateDate(String columnName, Date x)
    
public  voidupdateDouble(int columnIndex, double x)
    
public  voidupdateDouble(String columnName, double x)
    
public  voidupdateFloat(int columnIndex, float x)
    
public  voidupdateFloat(String columnName, float x)
    
public  voidupdateInt(int columnIndex, int x)
    
public  voidupdateInt(String columnName, int x)
    
public  voidupdateLong(int columnIndex, long x)
    
public  voidupdateLong(String columnName, long x)
    
public  voidupdateNCharacterStream(int columnIndex, Reader x, int length)
    
public  voidupdateNCharacterStream(String columnName, Reader x, int length)
    
public  voidupdateNCharacterStream(int columnIndex, Reader x)
    
public  voidupdateNCharacterStream(String columnName, Reader x)
    
public  voidupdateNCharacterStream(int columnIndex, Reader x, long length)
    
public  voidupdateNCharacterStream(String columnName, Reader x, long length)
    
public  voidupdateNClob(int columnIndex, Reader x)
    
public  voidupdateNClob(String columnName, Reader x)
    
public  voidupdateNClob(int columnIndex, Reader x, long length)
    
public  voidupdateNClob(String columnName, Reader x, long length)
    
public  voidupdateNString(int columnIndex, String nString)
    
public  voidupdateNString(String columnName, String nString)
    
public  voidupdateNull(String columnName)
    
public  voidupdateNull(int columnIndex)
    
public  voidupdateObject(int columnIndex, Object x)
    
public  voidupdateObject(int columnIndex, Object x, int scale)
    
public  voidupdateObject(String columnName, Object x)
    
public  voidupdateObject(String columnName, Object x, int scale)
    
public  voidupdateRef(int columnIndex, Ref x)
    
public  voidupdateRef(String columnName, Ref x)
    
public  voidupdateRow()
    
public  voidupdateShort(int columnIndex, short x)
    
public  voidupdateShort(String columnName, short x)
    
public  voidupdateString(int columnIndex, String x)
    
public  voidupdateString(String columnName, String x)
    
public  voidupdateTime(int columnIndex, Time x)
    
public  voidupdateTime(String columnName, Time x)
    
public  voidupdateTimestamp(int columnIndex, Timestamp x)
    
public  voidupdateTimestamp(String columnName, Timestamp x)
    
public  booleanwasNull()
     Returns whether the last column accessed was null.


Constructor Detail
SimpleResultSet
public SimpleResultSet()(Code)
This constructor is used if the result set is later populated with addRow.



SimpleResultSet
public SimpleResultSet(SimpleRowSource source)(Code)
This constructor is used if the result set should retrieve the rows using the specified row source object.
Parameters:
  source - the row source




Method Detail
absolute
public boolean absolute(int row) throws SQLException(Code)
INTERNAL



addColumn
public void addColumn(String name, int sqlType, int precision, int scale) throws SQLException(Code)
Adds a column to the result set.
Parameters:
  name - null is replaced with C1, C2,...
Parameters:
  sqlType - the value returned in getColumnType(..) (ignored internally)
Parameters:
  precision - the precision
Parameters:
  scale - the scale
throws:
  SQLException -



addRow
public void addRow(Object[] row) throws SQLException(Code)
Add a new row to the result set.
Parameters:
  row - the row as an array of objects



afterLast
public void afterLast() throws SQLException(Code)
INTERNAL



beforeFirst
public void beforeFirst() throws SQLException(Code)
Moves the current position to before the first row, that means resets the result set.
throws:
  SQLException - is this method is not supported



cancelRowUpdates
public void cancelRowUpdates() throws SQLException(Code)
INTERNAL



clearWarnings
public void clearWarnings() throws SQLException(Code)
INTERNAL



close
public void close() throws SQLException(Code)
Closes the result set and releases the resources.



deleteRow
public void deleteRow() throws SQLException(Code)
INTERNAL



findColumn
public int findColumn(String columnName) throws SQLException(Code)
Searches for a specific column in the result set. A case-insensitive search is made.
Parameters:
  columnName - the name of the column label the column index (1,2,...)
throws:
  SQLException - if the column is not found or if the result set isclosed



first
public boolean first() throws SQLException(Code)
INTERNAL



getArray
public Array getArray(int columnIndex) throws SQLException(Code)
Returns the value as a java.sql.Array. the value



getArray
public Array getArray(String columnName) throws SQLException(Code)
Returns the value as a java.sql.Array. the value



getAsciiStream
public InputStream getAsciiStream(int columnIndex) throws SQLException(Code)
INTERNAL



getAsciiStream
public InputStream getAsciiStream(String columnName) throws SQLException(Code)
INTERNAL



getBigDecimal
public BigDecimal getBigDecimal(int columnIndex) throws SQLException(Code)
Returns the value as a java.math.BigDecimal. the value



getBigDecimal
public BigDecimal getBigDecimal(String columnName) throws SQLException(Code)
Returns the value as a java.math.BigDecimal. the value



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



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



getBinaryStream
public InputStream getBinaryStream(int columnIndex) throws SQLException(Code)
INTERNAL



getBinaryStream
public InputStream getBinaryStream(String columnName) throws SQLException(Code)
INTERNAL



getBlob
public Blob getBlob(int i) throws SQLException(Code)
INTERNAL



getBlob
public Blob getBlob(String colName) throws SQLException(Code)
INTERNAL



getBoolean
public boolean getBoolean(int columnIndex) throws SQLException(Code)
Returns the value as a boolean. the value



getBoolean
public boolean getBoolean(String columnName) throws SQLException(Code)
Returns the value as a boolean. the value



getByte
public byte getByte(int columnIndex) throws SQLException(Code)
Returns the value as a byte. the value



getByte
public byte getByte(String columnName) throws SQLException(Code)
Returns the value as a byte. the value



getBytes
public byte[] getBytes(int columnIndex) throws SQLException(Code)
Returns the value as a byte array. the value



getBytes
public byte[] getBytes(String columnName) throws SQLException(Code)
Returns the value as a byte array. the value



getCatalogName
public String getCatalogName(int columnIndex) throws SQLException(Code)
Returns null. null



getCharacterStream
public Reader getCharacterStream(int columnIndex) throws SQLException(Code)
INTERNAL



getCharacterStream
public Reader getCharacterStream(String columnName) throws SQLException(Code)
INTERNAL



getClob
public Clob getClob(int i) throws SQLException(Code)
INTERNAL



getClob
public Clob getClob(String colName) throws SQLException(Code)
INTERNAL



getColumnClassName
public String getColumnClassName(int columnIndex) throws SQLException(Code)
Returns null. null



getColumnCount
public int getColumnCount() throws SQLException(Code)
Returns the column count. the column count



getColumnDisplaySize
public int getColumnDisplaySize(int columnIndex) throws SQLException(Code)
Returns 15. 15



getColumnLabel
public String getColumnLabel(int columnIndex) throws SQLException(Code)
Returns the column name. the column name



getColumnName
public String getColumnName(int columnIndex) throws SQLException(Code)
Returns the column name. the column name



getColumnType
public int getColumnType(int columnIndex) throws SQLException(Code)
Returns the SQL type. the SQL type



getColumnTypeName
public String getColumnTypeName(int columnIndex) throws SQLException(Code)
Returns null. null



getConcurrency
public int getConcurrency() throws SQLException(Code)
Returns ResultSet.CONCUR_READ_ONLY. CONCUR_READ_ONLY



getCursorName
public String getCursorName() throws SQLException(Code)
INTERNAL



getDate
public Date getDate(int columnIndex) throws SQLException(Code)
Returns the value as an java.sql.Date. the value



getDate
public Date getDate(String columnName) throws SQLException(Code)
Returns the value as a java.sql.Date. the value



getDate
public Date getDate(int columnIndex, Calendar cal) throws SQLException(Code)
INTERNAL



getDate
public Date getDate(String columnName, Calendar cal) throws SQLException(Code)
INTERNAL



getDouble
public double getDouble(int columnIndex) throws SQLException(Code)
Returns the value as an double. the value



getDouble
public double getDouble(String columnName) throws SQLException(Code)
Returns the value as a double. the value



getFetchDirection
public int getFetchDirection() throws SQLException(Code)
Returns ResultSet.FETCH_FORWARD. FETCH_FORWARD



getFetchSize
public int getFetchSize() throws SQLException(Code)
Returns 0. 0



getFloat
public float getFloat(int columnIndex) throws SQLException(Code)
Returns the value as a float. the value



getFloat
public float getFloat(String columnName) throws SQLException(Code)
Returns the value as a float. the value



getHoldability
public int getHoldability()(Code)
Returns the current result set holdability. the holdability



getInt
public int getInt(int columnIndex) throws SQLException(Code)
Returns the value as an int. the value



getInt
public int getInt(String columnName) throws SQLException(Code)
Returns the value as an int. the value



getLong
public long getLong(int columnIndex) throws SQLException(Code)
Returns the value as a long. the value



getLong
public long getLong(String columnName) throws SQLException(Code)
Returns the value as a long. the value



getMetaData
public ResultSetMetaData getMetaData() throws SQLException(Code)
Returns a reference to itself. this



getNCharacterStream
public Reader getNCharacterStream(int columnIndex) throws SQLException(Code)
INTERNAL



getNCharacterStream
public Reader getNCharacterStream(String columnName) throws SQLException(Code)
INTERNAL



getNString
public String getNString(int columnIndex) throws SQLException(Code)
INTERNAL



getNString
public String getNString(String columnName) throws SQLException(Code)
INTERNAL



getObject
public Object getObject(int columnIndex) throws SQLException(Code)
Returns the value as an Object. the value



getObject
public Object getObject(String columnName) throws SQLException(Code)
Returns the value as an Object. the value



getObject
public Object getObject(int i, Map map) throws SQLException(Code)
INTERNAL



getObject
public Object getObject(String colName, Map map) throws SQLException(Code)
INTERNAL



getPrecision
public int getPrecision(int columnIndex) throws SQLException(Code)
Returns the precision. the precision



getRef
public Ref getRef(int i) throws SQLException(Code)
INTERNAL



getRef
public Ref getRef(String colName) throws SQLException(Code)
INTERNAL



getRow
public int getRow() throws SQLException(Code)
Returns the row number (1, 2,...) or 0 for no row. 0



getScale
public int getScale(int columnIndex) throws SQLException(Code)
Returns the scale. the scale



getSchemaName
public String getSchemaName(int columnIndex) throws SQLException(Code)
Returns null. null



getShort
public short getShort(int columnIndex) throws SQLException(Code)
Returns the value as a short. the value



getShort
public short getShort(String columnName) throws SQLException(Code)
Returns the value as a short. the value



getStatement
public Statement getStatement() throws SQLException(Code)
Returns null. null



getString
public String getString(int columnIndex) throws SQLException(Code)
Returns the value as a String. the value



getString
public String getString(String columnName) throws SQLException(Code)
Returns the value as a String. the value



getTableName
public String getTableName(int columnIndex) throws SQLException(Code)
Returns null. null



getTime
public Time getTime(int columnIndex) throws SQLException(Code)
Returns the value as an java.sql.Time. the value



getTime
public Time getTime(String columnName) throws SQLException(Code)
Returns the value as a java.sql.Time. the value



getTime
public Time getTime(int columnIndex, Calendar cal) throws SQLException(Code)
INTERNAL



getTime
public Time getTime(String columnName, Calendar cal) throws SQLException(Code)
INTERNAL



getTimestamp
public Timestamp getTimestamp(int columnIndex) throws SQLException(Code)
Returns the value as an java.sql.Timestamp. the value



getTimestamp
public Timestamp getTimestamp(String columnName) throws SQLException(Code)
Returns the value as a java.sql.Timestamp. the value



getTimestamp
public Timestamp getTimestamp(int columnIndex, Calendar cal) throws SQLException(Code)
INTERNAL



getTimestamp
public Timestamp getTimestamp(String columnName, Calendar cal) throws SQLException(Code)
INTERNAL



getType
public int getType() throws SQLException(Code)
Returns ResultSet.TYPE_FORWARD_ONLY. TYPE_FORWARD_ONLY



getURL
public URL getURL(int columnIndex) throws SQLException(Code)
INTERNAL



getURL
public URL getURL(String columnName) throws SQLException(Code)
INTERNAL



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



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



getWarnings
public SQLWarning getWarnings() throws SQLException(Code)
Returns null. null



insertRow
public void insertRow() throws SQLException(Code)
INTERNAL



isAfterLast
public boolean isAfterLast() throws SQLException(Code)
INTERNAL



isAutoIncrement
public boolean isAutoIncrement(int columnIndex) throws SQLException(Code)
Returns false. false



isBeforeFirst
public boolean isBeforeFirst() throws SQLException(Code)
INTERNAL



isCaseSensitive
public boolean isCaseSensitive(int columnIndex) throws SQLException(Code)
Returns true. true



isClosed
public boolean isClosed() throws SQLException(Code)
Returns whether this result set has been closed. true if the result set was closed



isCurrency
public boolean isCurrency(int columnIndex) throws SQLException(Code)
Returns false. false



isDefinitelyWritable
public boolean isDefinitelyWritable(int columnIndex) throws SQLException(Code)
Returns false. false



isFirst
public boolean isFirst() throws SQLException(Code)
INTERNAL



isLast
public boolean isLast() throws SQLException(Code)
INTERNAL



isNullable
public int isNullable(int columnIndex) throws SQLException(Code)
Returns ResultSetMetaData.columnNullableUnknown. columnNullableUnknown



isReadOnly
public boolean isReadOnly(int columnIndex) throws SQLException(Code)
Returns true. true



isSearchable
public boolean isSearchable(int columnIndex) throws SQLException(Code)
Returns true. true



isSigned
public boolean isSigned(int columnIndex) throws SQLException(Code)
Returns true. true



isWritable
public boolean isWritable(int columnIndex) throws SQLException(Code)
Returns false. false



last
public boolean last() throws SQLException(Code)
INTERNAL



moveToCurrentRow
public void moveToCurrentRow() throws SQLException(Code)
INTERNAL



moveToInsertRow
public void moveToInsertRow() throws SQLException(Code)
INTERNAL



next
public boolean next() throws SQLException(Code)
Moves the cursor to the next row of the result set. true if successful, false if there are no more rows



previous
public boolean previous() throws SQLException(Code)
INTERNAL



refreshRow
public void refreshRow() throws SQLException(Code)
INTERNAL



relative
public boolean relative(int rows) throws SQLException(Code)
INTERNAL



rowDeleted
public boolean rowDeleted() throws SQLException(Code)
INTERNAL



rowInserted
public boolean rowInserted() throws SQLException(Code)
INTERNAL



rowUpdated
public boolean rowUpdated() throws SQLException(Code)
INTERNAL



setFetchDirection
public void setFetchDirection(int direction) throws SQLException(Code)
INTERNAL



setFetchSize
public void setFetchSize(int rows) throws SQLException(Code)
INTERNAL



updateArray
public void updateArray(int columnIndex, Array x) throws SQLException(Code)
INTERNAL



updateArray
public void updateArray(String columnName, Array x) throws SQLException(Code)
INTERNAL



updateAsciiStream
public void updateAsciiStream(int columnIndex, InputStream x, int length) throws SQLException(Code)
INTERNAL



updateAsciiStream
public void updateAsciiStream(String columnName, InputStream x, int length) throws SQLException(Code)
INTERNAL



updateAsciiStream
public void updateAsciiStream(int columnIndex, InputStream x) throws SQLException(Code)
INTERNAL



updateAsciiStream
public void updateAsciiStream(String columnName, InputStream x) throws SQLException(Code)
INTERNAL



updateAsciiStream
public void updateAsciiStream(int columnIndex, InputStream x, long length) throws SQLException(Code)
INTERNAL



updateAsciiStream
public void updateAsciiStream(String columnName, InputStream x, long length) throws SQLException(Code)
INTERNAL



updateBigDecimal
public void updateBigDecimal(int columnIndex, BigDecimal x) throws SQLException(Code)
INTERNAL



updateBigDecimal
public void updateBigDecimal(String columnName, BigDecimal x) throws SQLException(Code)
INTERNAL



updateBinaryStream
public void updateBinaryStream(int columnIndex, InputStream x, int length) throws SQLException(Code)
INTERNAL



updateBinaryStream
public void updateBinaryStream(String columnName, InputStream x, int length) throws SQLException(Code)
INTERNAL



updateBinaryStream
public void updateBinaryStream(int columnName, InputStream x) throws SQLException(Code)
INTERNAL



updateBinaryStream
public void updateBinaryStream(String columnName, InputStream x) throws SQLException(Code)
INTERNAL



updateBinaryStream
public void updateBinaryStream(int columnIndex, InputStream x, long length) throws SQLException(Code)
INTERNAL



updateBinaryStream
public void updateBinaryStream(String columnName, InputStream x, long length) throws SQLException(Code)
INTERNAL



updateBlob
public void updateBlob(int columnIndex, Blob x) throws SQLException(Code)
INTERNAL



updateBlob
public void updateBlob(String columnName, Blob x) throws SQLException(Code)
INTERNAL



updateBlob
public void updateBlob(int columnIndex, InputStream x) throws SQLException(Code)
INTERNAL



updateBlob
public void updateBlob(String columnName, InputStream x) throws SQLException(Code)
INTERNAL



updateBlob
public void updateBlob(int columnIndex, InputStream x, long length) throws SQLException(Code)
INTERNAL



updateBlob
public void updateBlob(String columnName, InputStream x, long length) throws SQLException(Code)
INTERNAL



updateBoolean
public void updateBoolean(int columnIndex, boolean x) throws SQLException(Code)
INTERNAL



updateBoolean
public void updateBoolean(String columnName, boolean x) throws SQLException(Code)
INTERNAL



updateByte
public void updateByte(int columnIndex, byte x) throws SQLException(Code)
INTERNAL



updateByte
public void updateByte(String columnName, byte x) throws SQLException(Code)
INTERNAL



updateBytes
public void updateBytes(int columnIndex, byte[] x) throws SQLException(Code)
INTERNAL



updateBytes
public void updateBytes(String columnName, byte[] x) throws SQLException(Code)
INTERNAL



updateCharacterStream
public void updateCharacterStream(int columnIndex, Reader x, int length) throws SQLException(Code)
INTERNAL



updateCharacterStream
public void updateCharacterStream(String columnName, Reader reader, int length) throws SQLException(Code)
INTERNAL



updateCharacterStream
public void updateCharacterStream(int columnIndex, Reader x) throws SQLException(Code)
INTERNAL



updateCharacterStream
public void updateCharacterStream(String columnName, Reader x) throws SQLException(Code)
INTERNAL



updateCharacterStream
public void updateCharacterStream(int columnIndex, Reader x, long length) throws SQLException(Code)
INTERNAL



updateCharacterStream
public void updateCharacterStream(String columnName, Reader x, long length) throws SQLException(Code)
INTERNAL



updateClob
public void updateClob(int columnIndex, Clob x) throws SQLException(Code)
INTERNAL



updateClob
public void updateClob(String columnName, Clob x) throws SQLException(Code)
INTERNAL



updateClob
public void updateClob(int columnIndex, Reader x) throws SQLException(Code)
INTERNAL



updateClob
public void updateClob(String columnName, Reader x) throws SQLException(Code)
INTERNAL



updateClob
public void updateClob(int columnIndex, Reader x, long length) throws SQLException(Code)
INTERNAL



updateClob
public void updateClob(String columnName, Reader x, long length) throws SQLException(Code)
INTERNAL



updateDate
public void updateDate(int columnIndex, Date x) throws SQLException(Code)
INTERNAL



updateDate
public void updateDate(String columnName, Date x) throws SQLException(Code)
INTERNAL



updateDouble
public void updateDouble(int columnIndex, double x) throws SQLException(Code)
INTERNAL



updateDouble
public void updateDouble(String columnName, double x) throws SQLException(Code)
INTERNAL



updateFloat
public void updateFloat(int columnIndex, float x) throws SQLException(Code)
INTERNAL



updateFloat
public void updateFloat(String columnName, float x) throws SQLException(Code)
INTERNAL



updateInt
public void updateInt(int columnIndex, int x) throws SQLException(Code)
INTERNAL



updateInt
public void updateInt(String columnName, int x) throws SQLException(Code)
INTERNAL



updateLong
public void updateLong(int columnIndex, long x) throws SQLException(Code)
INTERNAL



updateLong
public void updateLong(String columnName, long x) throws SQLException(Code)
INTERNAL



updateNCharacterStream
public void updateNCharacterStream(int columnIndex, Reader x, int length) throws SQLException(Code)
INTERNAL



updateNCharacterStream
public void updateNCharacterStream(String columnName, Reader x, int length) throws SQLException(Code)
INTERNAL



updateNCharacterStream
public void updateNCharacterStream(int columnIndex, Reader x) throws SQLException(Code)
INTERNAL



updateNCharacterStream
public void updateNCharacterStream(String columnName, Reader x) throws SQLException(Code)
INTERNAL



updateNCharacterStream
public void updateNCharacterStream(int columnIndex, Reader x, long length) throws SQLException(Code)
INTERNAL



updateNCharacterStream
public void updateNCharacterStream(String columnName, Reader x, long length) throws SQLException(Code)
INTERNAL



updateNClob
public void updateNClob(int columnIndex, Reader x) throws SQLException(Code)
INTERNAL



updateNClob
public void updateNClob(String columnName, Reader x) throws SQLException(Code)
INTERNAL



updateNClob
public void updateNClob(int columnIndex, Reader x, long length) throws SQLException(Code)
INTERNAL



updateNClob
public void updateNClob(String columnName, Reader x, long length) throws SQLException(Code)
INTERNAL



updateNString
public void updateNString(int columnIndex, String nString) throws SQLException(Code)
INTERNAL



updateNString
public void updateNString(String columnName, String nString) throws SQLException(Code)
INTERNAL



updateNull
public void updateNull(String columnName) throws SQLException(Code)
INTERNAL



updateNull
public void updateNull(int columnIndex) throws SQLException(Code)
INTERNAL



updateObject
public void updateObject(int columnIndex, Object x) throws SQLException(Code)
INTERNAL



updateObject
public void updateObject(int columnIndex, Object x, int scale) throws SQLException(Code)
INTERNAL



updateObject
public void updateObject(String columnName, Object x) throws SQLException(Code)
INTERNAL



updateObject
public void updateObject(String columnName, Object x, int scale) throws SQLException(Code)
INTERNAL



updateRef
public void updateRef(int columnIndex, Ref x) throws SQLException(Code)
INTERNAL



updateRef
public void updateRef(String columnName, Ref x) throws SQLException(Code)
INTERNAL



updateRow
public void updateRow() throws SQLException(Code)
INTERNAL



updateShort
public void updateShort(int columnIndex, short x) throws SQLException(Code)
INTERNAL



updateShort
public void updateShort(String columnName, short x) throws SQLException(Code)
INTERNAL



updateString
public void updateString(int columnIndex, String x) throws SQLException(Code)
INTERNAL



updateString
public void updateString(String columnName, String x) throws SQLException(Code)
INTERNAL



updateTime
public void updateTime(int columnIndex, Time x) throws SQLException(Code)
INTERNAL



updateTime
public void updateTime(String columnName, Time x) throws SQLException(Code)
INTERNAL



updateTimestamp
public void updateTimestamp(int columnIndex, Timestamp x) throws SQLException(Code)
INTERNAL



updateTimestamp
public void updateTimestamp(String columnName, Timestamp x) throws SQLException(Code)
INTERNAL



wasNull
public boolean wasNull() throws SQLException(Code)
Returns whether the last column accessed was null. true if the last column accessed 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.