|
|||||||||
| Home >> All >> org >> apache >> derby >> impl >> [ jdbc overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.apache.derby.impl.jdbc
Class EmbedResultSet20

java.lang.Objectorg.apache.derby.impl.jdbc.ConnectionChild
org.apache.derby.impl.jdbc.EmbedResultSet
org.apache.derby.impl.jdbc.EmbedResultSet20
- All Implemented Interfaces:
- java.lang.Comparable, java.sql.ResultSet
- public class EmbedResultSet20
- extends EmbedResultSet
This class extends the EmbedResultSet class in order to support new methods and classes that come with JDBC 2.0.
Supports
- JDBC 2.0/2.1
- JDBC 3.0
| Field Summary |
| Fields inherited from class org.apache.derby.impl.jdbc.EmbedResultSet |
ABSOLUTE, AFTERLAST, BEFOREFIRST, CLOSE, concurrencyOfThisResultSet, currentRow, factory, finalizeActivation, FIRST, isAtomic, isClosed, LAST, localConn, NEXT, NOCLOSE, order, PREVIOUS, RELATIVE, stmt, theResults, wasNull |
| Fields inherited from interface java.sql.ResultSet |
CLOSE_CURSORS_AT_COMMIT, CONCUR_READ_ONLY, CONCUR_UPDATABLE, FETCH_FORWARD, FETCH_REVERSE, FETCH_UNKNOWN, HOLD_CURSORS_OVER_COMMIT, TYPE_FORWARD_ONLY, TYPE_SCROLL_INSENSITIVE, TYPE_SCROLL_SENSITIVE |
| Constructor Summary | |
EmbedResultSet20(EmbedConnection conn,
org.apache.derby.iapi.sql.ResultSet resultsToWrap,
boolean forMetaData,
EmbedStatement stmt,
boolean isAtomic)
This class provides the glue between the Derby resultset and the JDBC resultset, mapping calls-to-calls. |
|
| Method Summary | |
java.sql.Array |
getArray(int i)
JDBC 2.0 Get an array column. |
java.sql.Array |
getArray(java.lang.String colName)
JDBC 2.0 Get an array column. |
java.math.BigDecimal |
getBigDecimal(int columnIndex)
This method returns the value of the specified column as a Java BigDecimal. |
java.math.BigDecimal |
getBigDecimal(int columnIndex,
int scale)
Get the value of a column in the current row as a java.lang.BigDecimal object. |
java.math.BigDecimal |
getBigDecimal(java.lang.String columnName)
JDBC 2.0 Get the value of a column in the current row as a java.math.BigDecimal object. |
java.math.BigDecimal |
getBigDecimal(java.lang.String columnName,
int scale)
Get the value of a column in the current row as a java.lang.BigDecimal object. |
java.lang.Object |
getObject(int columnIndex,
java.util.Map map)
JDBC 2.0 Returns the value of column @i as a Java object. |
java.lang.Object |
getObject(java.lang.String colName,
java.util.Map map)
JDBC 2.0 Returns the value of column @i as a Java object. |
java.sql.Ref |
getRef(int i)
JDBC 2.0 Get a REF(<structured-type>) column. |
java.sql.Ref |
getRef(java.lang.String colName)
JDBC 2.0 Get a REF(<structured-type>) column. |
java.io.InputStream |
getUnicodeStream(int columnIndex)
JDBC 2.0 Deprecated in JDBC 2.0, not supported by JCC. |
java.io.InputStream |
getUnicodeStream(java.lang.String columnName)
Deprecated in JDBC 2.0, not supported by JCC. |
void |
updateArray(int columnIndex,
java.sql.Array x)
JDBC 3.0 Updates the designated column with a java.sql.Array value. |
void |
updateArray(java.lang.String columnName,
java.sql.Array x)
JDBC 3.0 Updates the designated column with a java.sql.Array value. |
void |
updateBigDecimal(int columnIndex,
java.math.BigDecimal x)
This method updates the specified column to have a BigDecimal value. |
void |
updateBigDecimal(java.lang.String columnName,
java.math.BigDecimal x)
JDBC 2.0 Update a column with a BigDecimal value. |
void |
updateObject(int columnIndex,
java.lang.Object x)
JDBC 2.0 Update a column with an Object value. |
void |
updateRef(int columnIndex,
java.sql.Ref x)
JDBC 3.0 Updates the designated column with a java.sql.Ref value. |
void |
updateRef(java.lang.String columnName,
java.sql.Ref x)
JDBC 3.0 Updates the designated column with a java.sql.Ref value. |
| Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
EmbedResultSet20
public EmbedResultSet20(EmbedConnection conn, org.apache.derby.iapi.sql.ResultSet resultsToWrap, boolean forMetaData, EmbedStatement stmt, boolean isAtomic) throws java.sql.SQLException
- This class provides the glue between the Derby
resultset and the JDBC resultset, mapping calls-to-calls.
| Method Detail |
getBigDecimal
public final java.math.BigDecimal getBigDecimal(int columnIndex, int scale) throws java.sql.SQLException
- Get the value of a column in the current row as a java.lang.BigDecimal object.
getBigDecimal
public final java.math.BigDecimal getBigDecimal(int columnIndex) throws java.sql.SQLException
- Description copied from interface:
java.sql.ResultSet - This method returns the value of the specified column as a Java
BigDecimal.
getBigDecimal
public final java.math.BigDecimal getBigDecimal(java.lang.String columnName, int scale) throws java.sql.SQLException
- Get the value of a column in the current row as a java.lang.BigDecimal object.
getUnicodeStream
public final java.io.InputStream getUnicodeStream(int columnIndex) throws java.sql.SQLException
- JDBC 2.0
Deprecated in JDBC 2.0, not supported by JCC.
getUnicodeStream
public final java.io.InputStream getUnicodeStream(java.lang.String columnName) throws java.sql.SQLException
- Deprecated in JDBC 2.0, not supported by JCC.
getBigDecimal
public final java.math.BigDecimal getBigDecimal(java.lang.String columnName) throws java.sql.SQLException
- JDBC 2.0
Get the value of a column in the current row as a java.math.BigDecimal
object.
updateBigDecimal
public void updateBigDecimal(int columnIndex,
java.math.BigDecimal x)
throws java.sql.SQLException
- Description copied from interface:
java.sql.ResultSet - This method updates the specified column to have a BigDecimal value. This
does not update the actual database.
updateRowmust be called in order to do that.
updateObject
public void updateObject(int columnIndex,
java.lang.Object x)
throws java.sql.SQLException
- JDBC 2.0
Update a column with an Object value.
The updateXXX() methods are used to update column values in the current
row, or the insert row. The updateXXX() methods do not update the
underlying database, instead the updateRow() or insertRow() methods are
called to update the database.
- Specified by:
updateObjectin interfacejava.sql.ResultSet- Overrides:
updateObjectin classEmbedResultSet
updateBigDecimal
public void updateBigDecimal(java.lang.String columnName, java.math.BigDecimal x) throws java.sql.SQLException
- JDBC 2.0
Update a column with a BigDecimal value.
The updateXXX() methods are used to update column values in the
current row, or the insert row. The updateXXX() methods do not
update the underlying database, instead the updateRow() or insertRow()
methods are called to update the database.
getObject
public java.lang.Object getObject(int columnIndex, java.util.Map map) throws java.sql.SQLException
- JDBC 2.0
Returns the value of column @i as a Java object. Use the
param map to determine the class from which to construct data of
SQL structured and distinct types.
getRef
public java.sql.Ref getRef(int i) throws java.sql.SQLException
- JDBC 2.0
Get a REF(<structured-type>) column.
getArray
public java.sql.Array getArray(int i) throws java.sql.SQLException
- JDBC 2.0
Get an array column.
getObject
public java.lang.Object getObject(java.lang.String colName, java.util.Map map) throws java.sql.SQLException
- JDBC 2.0
Returns the value of column @i as a Java object. Use the
param map to determine the class from which to construct data of
SQL structured and distinct types.
getRef
public java.sql.Ref getRef(java.lang.String colName) throws java.sql.SQLException
- JDBC 2.0
Get a REF(<structured-type>) column.
getArray
public java.sql.Array getArray(java.lang.String colName) throws java.sql.SQLException
- JDBC 2.0
Get an array column.
updateRef
public void updateRef(int columnIndex,
java.sql.Ref x)
throws java.sql.SQLException
- JDBC 3.0
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.
updateRef
public void updateRef(java.lang.String columnName, java.sql.Ref x) throws java.sql.SQLException
- JDBC 3.0
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.
updateArray
public void updateArray(int columnIndex,
java.sql.Array x)
throws java.sql.SQLException
- JDBC 3.0
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.
updateArray
public void updateArray(java.lang.String columnName, java.sql.Array x) throws java.sql.SQLException
- JDBC 3.0
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.
|
|||||||||
| Home >> All >> org >> apache >> derby >> impl >> [ jdbc overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC