public class EmbedResultSet20 extends EmbedResultSet
Supports
EmbedResultSetABSOLUTE, AFTERLAST, BEFOREFIRST, fetchedRowBase, FIRST, isClosed, LAST, NEXT, order, PREVIOUS, RELATIVE, singleUseActivation, wasNullfactory, localConn| Constructor and Description |
|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
absolute, adjustScale, afterLast, beforeFirst, cancelRowUpdates, checkExecIfClosed, checkIfClosed, checkOnRow, checksBeforeInsert, checksBeforeUpdateOrDelete, checksBeforeUpdateXXX, clearWarnings, close, closeOnTransactionError, compareTo, deleteRow, findColumn, findColumnName, first, getAsciiStream, getAsciiStream, getBinaryStream, getBinaryStream, getBlob, getBlob, getBoolean, getBoolean, getByte, getByte, getBytes, getBytes, getCharacterStream, getCharacterStream, getClob, getClob, getColumn, getColumnSQLType, getColumnType, getConcurrency, getCursorName, getDate, getDate, getDate, getDate, getDouble, getDouble, getDVDforColumnToBeUpdated, getFetchDirection, getFetchSize, getFloat, getFloat, getHoldability, getInt, getInt, getLength, getLong, getLong, getMetaData, getObject, getObject, getParameterValueSet, getRow, getShort, getShort, getSQLText, getStatement, getString, getString, getTime, getTime, getTime, getTime, getTimestamp, getTimestamp, getTimestamp, getTimestamp, getType, getURL, getURL, getWarnings, insertRow, isAfterLast, isBeforeFirst, isClosed, isFirst, isForUpdate, isLast, isNull, last, movePosition, movePosition, moveToCurrentRow, moveToInsertRow, next, noStateChangeException, previous, refreshRow, relative, rowDeleted, rowInserted, rowUpdated, setApplicationStatement, setDynamicResultSet, setFetchDirection, setFetchSize, updateAsciiStream, updateAsciiStream, updateAsciiStream, updateAsciiStream, updateAsciiStream, updateAsciiStream, updateBinaryStream, updateBinaryStream, updateBinaryStream, updateBinaryStream, updateBinaryStream, updateBinaryStream, updateBlob, updateBlob, updateBlob, updateBlob, updateBlob, updateBlob, updateBoolean, updateBoolean, updateByte, updateByte, updateBytes, updateBytes, updateCharacterStream, updateCharacterStream, updateCharacterStream, updateCharacterStream, updateCharacterStream, updateCharacterStream, updateClob, updateClob, updateClob, updateClob, updateClob, updateClob, updateDate, updateDate, updateDouble, updateDouble, updateFloat, updateFloat, updateInt, updateInt, updateLong, updateLong, updateNull, updateNull, updateObject, updateObject, updateObject, updateRow, updateShort, updateShort, updateString, updateString, updateTime, updateTime, updateTimestamp, updateTimestamp, useStreamOrLOB, wasNullcommitIfAutoCommit, commitIfNeeded, getCal, getConnectionSynchronization, getEmbedConnection, handleException, needCommit, newSQLException, newSQLException, newSQLException, restoreContextStack, restoreIntrFlagIfSeen, setupContextStackclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetNCharacterStream, getNCharacterStream, getNClob, getNClob, getNString, getNString, getObject, getObject, getRowId, getRowId, getSQLXML, getSQLXML, updateNCharacterStream, updateNCharacterStream, updateNCharacterStream, updateNCharacterStream, updateNClob, updateNClob, updateNClob, updateNClob, updateNClob, updateNClob, updateNString, updateNString, updateRowId, updateRowId, updateSQLXML, updateSQLXMLpublic EmbedResultSet20(EmbedConnection conn, ResultSet resultsToWrap, boolean forMetaData, EmbedStatement stmt, boolean isAtomic) throws java.sql.SQLException
java.sql.SQLExceptionpublic 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 decimaljava.sql.SQLException - thrown on failure.public final java.math.BigDecimal getBigDecimal(int columnIndex)
throws java.sql.SQLException
java.sql.SQLExceptionpublic 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 decimaljava.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.SQLExceptionpublic 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 valuejava.sql.SQLException - if a database-access error occurspublic void updateBigDecimal(java.lang.String columnName,
java.math.BigDecimal x)
throws java.sql.SQLException
columnName - the name of the columnx - the new column valuejava.sql.SQLException - if a database-access error occurspublic 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 classesjava.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 classesjava.sql.SQLException - Feature not implemented for now.public java.sql.Ref getRef(java.lang.String colName)
throws java.sql.SQLException
colName - the column namejava.sql.SQLException - Feature not implemented for now.public java.sql.Array getArray(java.lang.String colName)
throws java.sql.SQLException
colName - the column namejava.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 valuejava.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 valuejava.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 valuejava.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 valuejava.sql.SQLException - Feature not implemented for now.Apache Derby V10.10 Internals - Copyright © 2004,2014 The Apache Software Foundation. All Rights Reserved.