|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.derby.impl.jdbc.ConnectionChild
org.apache.derby.impl.jdbc.EmbedResultSet
org.apache.derby.impl.jdbc.EmbedResultSet20
public class EmbedResultSet20
This class extends the EmbedResultSet class in order to support new methods and classes that come with JDBC 2.0.
Supports
EmbedResultSet| Field Summary |
|---|
| Fields inherited from class org.apache.derby.impl.jdbc.EmbedResultSet |
|---|
ABSOLUTE, AFTERLAST, BEFOREFIRST, fetchedRowBase, FIRST, isClosed, LAST, NEXT, order, PREVIOUS, RELATIVE, singleUseActivation, wasNull |
| Fields inherited from class org.apache.derby.impl.jdbc.ConnectionChild |
|---|
factory, localConn |
| 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,
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)
|
java.math.BigDecimal |
getBigDecimal(int columnIndex,
int scale)
Deprecated. |
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)
Deprecated. |
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)
Deprecated. |
java.io.InputStream |
getUnicodeStream(java.lang.String columnName)
Deprecated. |
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)
|
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 org.apache.derby.impl.jdbc.ConnectionChild |
|---|
commitIfAutoCommit, commitIfNeeded, getCal, getConnectionSynchronization, getEmbedConnection, handleException, needCommit, newSQLException, newSQLException, newSQLException, restoreContextStack, restoreIntrFlagIfSeen, setupContextStack |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.sql.ResultSet |
|---|
getNCharacterStream, getNCharacterStream, getNClob, getNClob, getNString, getNString, getRowId, getRowId, getSQLXML, getSQLXML, updateNCharacterStream, updateNCharacterStream, updateNCharacterStream, updateNCharacterStream, updateNClob, updateNClob, updateNClob, updateNClob, updateNClob, updateNClob, updateNString, updateNString, updateRowId, updateRowId, updateSQLXML, updateSQLXML |
| Methods inherited from interface java.sql.Wrapper |
|---|
isWrapperFor, unwrap |
| Constructor Detail |
|---|
public EmbedResultSet20(EmbedConnection conn,
ResultSet resultsToWrap,
boolean forMetaData,
EmbedStatement stmt,
boolean isAtomic)
throws java.sql.SQLException
java.sql.SQLException| Method Detail |
|---|
public final java.math.BigDecimal getBigDecimal(int columnIndex,
int scale)
throws java.sql.SQLException
columnIndex - the first column is 1, the second is 2, ...scale - the number of digits to the right of the decimal
java.sql.SQLException - thrown on failure.
public final java.math.BigDecimal getBigDecimal(int columnIndex)
throws java.sql.SQLException
java.sql.SQLException
public final java.math.BigDecimal getBigDecimal(java.lang.String columnName,
int scale)
throws java.sql.SQLException
columnName - is the SQL name of the columnscale - the number of digits to the right of the decimal
java.sql.SQLException - thrown on failure.
public final java.io.InputStream getUnicodeStream(int columnIndex)
throws java.sql.SQLException
java.sql.SQLException - thrown on failure.
public final java.io.InputStream getUnicodeStream(java.lang.String columnName)
throws java.sql.SQLException
java.sql.SQLException - thrown on failure.
public final java.math.BigDecimal getBigDecimal(java.lang.String columnName)
throws java.sql.SQLException
java.sql.SQLException - Feature not implemented for now.
public void updateBigDecimal(int columnIndex,
java.math.BigDecimal x)
throws java.sql.SQLException
java.sql.SQLException
public void updateObject(int columnIndex,
java.lang.Object x)
throws java.sql.SQLException
updateObject in interface java.sql.ResultSetupdateObject in class EmbedResultSetcolumnIndex - the first column is 1, the second is 2, ...x - the new column value
java.sql.SQLException - if a database-access error occurs
public void updateBigDecimal(java.lang.String columnName,
java.math.BigDecimal x)
throws java.sql.SQLException
columnName - the name of the columnx - the new column value
java.sql.SQLException - if a database-access error occurs
public java.lang.Object getObject(int columnIndex,
java.util.Map map)
throws java.sql.SQLException
columnIndex - the first column is 1, the second is 2, ...map - the mapping from SQL type names to Java classes
java.sql.SQLException - Feature not implemented for now.
public java.sql.Ref getRef(int i)
throws java.sql.SQLException
i - the first column is 1, the second is 2, ...
java.sql.SQLException - Feature not implemented for now.
public java.sql.Array getArray(int i)
throws java.sql.SQLException
i - the first column is 1, the second is 2, ...
java.sql.SQLException - Feature not implemented for now.
public java.lang.Object getObject(java.lang.String colName,
java.util.Map map)
throws java.sql.SQLException
colName - the column namemap - the mapping from SQL type names to Java classes
java.sql.SQLException - Feature not implemented for now.
public java.sql.Ref getRef(java.lang.String colName)
throws java.sql.SQLException
colName - the column name
java.sql.SQLException - Feature not implemented for now.
public java.sql.Array getArray(java.lang.String colName)
throws java.sql.SQLException
colName - the column name
java.sql.SQLException - Feature not implemented for now.
public void updateRef(int columnIndex,
java.sql.Ref x)
throws java.sql.SQLException
columnIndex - - the first column is 1, the second is 2x - - the new column value
java.sql.SQLException - Feature not implemented for now.
public void updateRef(java.lang.String columnName,
java.sql.Ref x)
throws java.sql.SQLException
columnName - - the SQL name of the columnx - - the new column value
java.sql.SQLException - Feature not implemented for now.
public void updateArray(int columnIndex,
java.sql.Array x)
throws java.sql.SQLException
columnIndex - - the first column is 1, the second is 2x - - the new column value
java.sql.SQLException - Feature not implemented for now.
public void updateArray(java.lang.String columnName,
java.sql.Array x)
throws java.sql.SQLException
columnName - - the SQL name of the columnx - - the new column value
java.sql.SQLException - Feature not implemented for now.
|
Built on Wed 2013-06-12 15:21:56+0000, from revision ??? | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||