public class EmbedResultSet40 extends EmbedResultSet20
ABSOLUTE, AFTERLAST, BEFOREFIRST, fetchedRowBase, FIRST, isClosed, LAST, NEXT, order, PREVIOUS, RELATIVE, singleUseActivation, wasNull
factory, localConn
Constructor and Description |
---|
EmbedResultSet40(EmbedConnection conn,
ResultSet resultsToWrap,
boolean forMetaData,
EmbedStatement stmt,
boolean isAtomic)
Creates a new instance of EmbedResultSet40
|
Modifier and Type | Method and Description |
---|---|
java.io.Reader |
getNCharacterStream(int columnIndex) |
java.io.Reader |
getNCharacterStream(java.lang.String columnName) |
java.sql.NClob |
getNClob(int i) |
java.sql.NClob |
getNClob(java.lang.String colName) |
java.lang.String |
getNString(int columnIndex) |
java.lang.String |
getNString(java.lang.String columnName) |
<T> T |
getObject(int columnIndex,
java.lang.Class<T> type)
Retrieve the column as an object of the desired type.
|
<T> T |
getObject(java.lang.String columnName,
java.lang.Class<T> type) |
java.sql.RowId |
getRowId(int columnIndex) |
java.sql.RowId |
getRowId(java.lang.String columnName) |
java.sql.SQLXML |
getSQLXML(int columnIndex) |
java.sql.SQLXML |
getSQLXML(java.lang.String colName) |
boolean |
isWrapperFor(java.lang.Class<?> interfaces)
Returns false unless
interfaces is implemented |
private java.sql.SQLException |
mismatchException(java.lang.String targetTypeName,
int columnIndex) |
<T> T |
unwrap(java.lang.Class<T> interfaces)
Returns
this if this class implements the interface |
void |
updateNCharacterStream(int columnIndex,
java.io.Reader x) |
void |
updateNCharacterStream(int columnIndex,
java.io.Reader x,
long length) |
void |
updateNCharacterStream(java.lang.String columnName,
java.io.Reader x) |
void |
updateNCharacterStream(java.lang.String columnName,
java.io.Reader x,
long length) |
void |
updateNClob(int columnIndex,
java.sql.NClob nClob) |
void |
updateNClob(int columnIndex,
java.io.Reader reader) |
void |
updateNClob(int columnIndex,
java.io.Reader x,
long length)
Updates the designated column using the given Reader object,
which is the given number of characters long.
|
void |
updateNClob(java.lang.String columnName,
java.sql.NClob nClob) |
void |
updateNClob(java.lang.String columnName,
java.io.Reader reader) |
void |
updateNClob(java.lang.String columnName,
java.io.Reader x,
long length)
Updates the designated column using the given Reader object,
which is the given number of characters long.
|
void |
updateNString(int columnIndex,
java.lang.String nString) |
void |
updateNString(java.lang.String columnName,
java.lang.String nString) |
void |
updateRowId(int columnIndex,
java.sql.RowId x) |
void |
updateRowId(java.lang.String columnName,
java.sql.RowId x) |
void |
updateSQLXML(int columnIndex,
java.sql.SQLXML xmlObject) |
void |
updateSQLXML(java.lang.String columnName,
java.sql.SQLXML xmlObject) |
getArray, getArray, getBigDecimal, getBigDecimal, getBigDecimal, getBigDecimal, getObject, getObject, getRef, getRef, getUnicodeStream, getUnicodeStream, updateArray, updateArray, updateBigDecimal, updateBigDecimal, updateObject, updateRef, updateRef
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, wasNull
commitIfAutoCommit, commitIfNeeded, getCal, getConnectionSynchronization, getEmbedConnection, handleException, needCommit, newSQLException, newSQLException, newSQLException, restoreContextStack, restoreIntrFlagIfSeen, setupContextStack
public EmbedResultSet40(EmbedConnection conn, ResultSet resultsToWrap, boolean forMetaData, EmbedStatement stmt, boolean isAtomic) throws java.sql.SQLException
java.sql.SQLException
public java.sql.RowId getRowId(int columnIndex) throws java.sql.SQLException
java.sql.SQLException
public java.sql.RowId getRowId(java.lang.String columnName) throws java.sql.SQLException
java.sql.SQLException
public void updateNCharacterStream(int columnIndex, java.io.Reader x) throws java.sql.SQLException
java.sql.SQLException
public void updateNCharacterStream(int columnIndex, java.io.Reader x, long length) throws java.sql.SQLException
java.sql.SQLException
public void updateNCharacterStream(java.lang.String columnName, java.io.Reader x) throws java.sql.SQLException
java.sql.SQLException
public void updateNCharacterStream(java.lang.String columnName, java.io.Reader x, long length) throws java.sql.SQLException
java.sql.SQLException
public void updateNString(int columnIndex, java.lang.String nString) throws java.sql.SQLException
java.sql.SQLException
public void updateNString(java.lang.String columnName, java.lang.String nString) throws java.sql.SQLException
java.sql.SQLException
public void updateNClob(int columnIndex, java.sql.NClob nClob) throws java.sql.SQLException
java.sql.SQLException
public void updateNClob(int columnIndex, java.io.Reader reader) throws java.sql.SQLException
java.sql.SQLException
public void updateNClob(java.lang.String columnName, java.sql.NClob nClob) throws java.sql.SQLException
java.sql.SQLException
public void updateNClob(java.lang.String columnName, java.io.Reader reader) throws java.sql.SQLException
java.sql.SQLException
public java.io.Reader getNCharacterStream(int columnIndex) throws java.sql.SQLException
java.sql.SQLException
public java.io.Reader getNCharacterStream(java.lang.String columnName) throws java.sql.SQLException
java.sql.SQLException
public java.sql.NClob getNClob(int i) throws java.sql.SQLException
java.sql.SQLException
public java.sql.NClob getNClob(java.lang.String colName) throws java.sql.SQLException
java.sql.SQLException
public java.lang.String getNString(int columnIndex) throws java.sql.SQLException
java.sql.SQLException
public java.lang.String getNString(java.lang.String columnName) throws java.sql.SQLException
java.sql.SQLException
public void updateRowId(int columnIndex, java.sql.RowId x) throws java.sql.SQLException
java.sql.SQLException
public void updateRowId(java.lang.String columnName, java.sql.RowId x) throws java.sql.SQLException
java.sql.SQLException
public java.sql.SQLXML getSQLXML(int columnIndex) throws java.sql.SQLException
java.sql.SQLException
public java.sql.SQLXML getSQLXML(java.lang.String colName) throws java.sql.SQLException
java.sql.SQLException
public void updateSQLXML(int columnIndex, java.sql.SQLXML xmlObject) throws java.sql.SQLException
java.sql.SQLException
public void updateSQLXML(java.lang.String columnName, java.sql.SQLXML xmlObject) throws java.sql.SQLException
java.sql.SQLException
public boolean isWrapperFor(java.lang.Class<?> interfaces) throws java.sql.SQLException
interfaces
is implementedinterfaces
- a Class defining an interface.java.sql.SQLException
- if an error occurs while determining
whether this is a wrapper for an object
with the given interface.public <T> T unwrap(java.lang.Class<T> interfaces) throws java.sql.SQLException
this
if this class implements the interfaceinterfaces
- a Class defining an interfacejava.sql.SQLException
- if no object if found that implements the
interfacepublic void updateNClob(int columnIndex, java.io.Reader x, long length) throws java.sql.SQLException
columnIndex
- -
the first column is 1, the second is 2x
- -
the new column valuelength
- -
the length of the streamjava.sql.SQLException
- Feature not implemented for now.public void updateNClob(java.lang.String columnName, java.io.Reader x, long length) throws java.sql.SQLException
columnName
- -
the Name of the column to be updatedx
- -
the new column valuelength
- -
the length of the streamjava.sql.SQLException
- Feature not implemented for now.public <T> T getObject(int columnIndex, java.lang.Class<T> type) throws java.sql.SQLException
java.sql.SQLException
private java.sql.SQLException mismatchException(java.lang.String targetTypeName, int columnIndex) throws java.sql.SQLException
java.sql.SQLException
public <T> T getObject(java.lang.String columnName, java.lang.Class<T> type) throws java.sql.SQLException
java.sql.SQLException
Apache Derby V10.10 Internals - Copyright © 2004,2014 The Apache Software Foundation. All Rights Reserved.