类 UpdatableResultSet
- java.lang.Object
-
- com.mysql.cj.protocol.a.result.NativeResultset
-
- com.mysql.cj.jdbc.result.ResultSetImpl
-
- com.mysql.cj.jdbc.result.UpdatableResultSet
-
- 所有已实现的接口:
ResultSetInternalMethods,ProtocolEntity,Resultset,ResultsetRowsOwner,WarningListener,AutoCloseable,ResultSet,Wrapper
public class UpdatableResultSet extends ResultSetImpl
A result set that is updatable.
-
-
嵌套类概要
-
从接口继承的嵌套类/接口 com.mysql.cj.protocol.Resultset
Resultset.Concurrency, Resultset.Type
-
-
字段概要
字段 修饰符和类型 字段 说明 protected booleandoingUpdatesAre we in the middle of doing updates to the current row?protected ClientPreparedStatementinserterPreparedStatement used to insert dataprotected ClientPreparedStatementupdaterPreparedStatement used to delete data-
从类继承的字段 com.mysql.cj.jdbc.result.ResultSetImpl
columnUsed, connection, currentRow, db, emulateLocators, eventSink, fetchDirection, fetchSize, firstCharOfQuery, gatherPerfMetrics, isClosed, resultSetConcurrency, resultSetType, scrollTolerant, session, useUsageAdvisor, warningChain, wrapperStatement, yearIsDateType
-
从类继承的字段 com.mysql.cj.protocol.a.result.NativeResultset
columnDefinition, nextResultset, resultId, rowData, serverInfo, thisRow, updateCount, updateId
-
-
构造器概要
构造器 构造器 说明 UpdatableResultSet(ResultsetRows tuples, JdbcConnection conn, StatementImpl creatorStmt)Creates a new ResultSet object.
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 booleanabsolute(int row)voidafterLast()voidbeforeFirst()voidcancelRowUpdates()protected voidcheckRowPos()Ensures that the cursor is positioned on a valid row and that the result set is not closedvoidcheckUpdatability()Is this ResultSet updatable?voiddeleteRow()booleanfirst()protected voidgenerateStatements()Figure out whether or not this ResultSet is updatable, and if so, generate the PreparedStatements to support updates.intgetConcurrency()intgetHoldability()ReadergetNCharacterStream(int columnIndex)ReadergetNCharacterStream(String columnLabel)NClobgetNClob(int columnIndex)NClobgetNClob(String columnLabel)StringgetNString(int columnIndex)StringgetNString(String columnLabel)SQLXMLgetSQLXML(int columnIndex)SQLXMLgetSQLXML(String columnLabel)voidinsertRow()booleanisAfterLast()booleanisBeforeFirst()booleanisClosed()booleanisFirst()booleanisLast()booleanisWrapperFor(Class<?> iface)booleanlast()voidmoveToCurrentRow()voidmoveToInsertRow()booleannext()booleanprev()The prev method is not part of JDBC, but because of the architecture of this driver it is possible to move both forward and backward within the result set.booleanprevious()voidrealClose(boolean calledExplicitly)Closes this ResultSet and releases resources.voidrefreshRow()booleanrelative(int rows)booleanrowDeleted()booleanrowInserted()booleanrowUpdated()voidsetResultSetConcurrency(int concurrencyFlag)Sets the concurrencyprotected voidsyncUpdate()Reset UPDATE prepared statement to value in current row.<T> Tunwrap(Class<T> iface)voidupdateAsciiStream(int columnIndex, InputStream x)voidupdateAsciiStream(int columnIndex, InputStream x, int length)voidupdateAsciiStream(int columnIndex, InputStream x, long length)voidupdateAsciiStream(String columnLabel, InputStream x)voidupdateAsciiStream(String columnLabel, InputStream x, int length)voidupdateAsciiStream(String columnLabel, InputStream x, long length)voidupdateBigDecimal(int columnIndex, BigDecimal x)voidupdateBigDecimal(String columnLabel, BigDecimal x)voidupdateBinaryStream(int columnIndex, InputStream x)voidupdateBinaryStream(int columnIndex, InputStream x, int length)voidupdateBinaryStream(int columnIndex, InputStream x, long length)voidupdateBinaryStream(String columnLabel, InputStream x)voidupdateBinaryStream(String columnLabel, InputStream x, int length)voidupdateBinaryStream(String columnLabel, InputStream x, long length)voidupdateBlob(int columnIndex, InputStream inputStream)voidupdateBlob(int columnIndex, InputStream inputStream, long length)voidupdateBlob(int columnIndex, Blob blob)voidupdateBlob(String columnLabel, InputStream inputStream)voidupdateBlob(String columnLabel, InputStream inputStream, long length)voidupdateBlob(String columnLabel, Blob blob)voidupdateBoolean(int columnIndex, boolean x)voidupdateBoolean(String columnLabel, boolean x)voidupdateByte(int columnIndex, byte x)voidupdateByte(String columnLabel, byte x)voidupdateBytes(int columnIndex, byte[] x)voidupdateBytes(String columnLabel, byte[] x)voidupdateCharacterStream(int columnIndex, Reader x)voidupdateCharacterStream(int columnIndex, Reader x, int length)voidupdateCharacterStream(int columnIndex, Reader x, long length)voidupdateCharacterStream(String columnLabel, Reader reader)voidupdateCharacterStream(String columnLabel, Reader reader, int length)voidupdateCharacterStream(String columnLabel, Reader reader, long length)voidupdateClob(int columnIndex, Reader reader)voidupdateClob(int columnIndex, Reader reader, long length)voidupdateClob(int columnIndex, Clob clob)voidupdateClob(String columnLabel, Reader reader)voidupdateClob(String columnLabel, Reader reader, long length)voidupdateClob(String columnLabel, Clob clob)voidupdateDate(int columnIndex, Date x)voidupdateDate(String columnLabel, Date x)voidupdateDouble(int columnIndex, double x)voidupdateDouble(String columnLabel, double x)voidupdateFloat(int columnIndex, float x)voidupdateFloat(String columnLabel, float x)voidupdateInt(int columnIndex, int x)voidupdateInt(String columnLabel, int x)voidupdateLong(int columnIndex, long x)voidupdateLong(String columnLabel, long x)voidupdateNCharacterStream(int columnIndex, Reader x)voidupdateNCharacterStream(int columnIndex, Reader x, long length)voidupdateNCharacterStream(String columnLabel, Reader reader)voidupdateNCharacterStream(String columnLabel, Reader reader, long length)voidupdateNClob(int columnIndex, Reader reader)voidupdateNClob(int columnIndex, Reader reader, long length)voidupdateNClob(int columnIndex, NClob nClob)voidupdateNClob(String columnLabel, Reader reader)voidupdateNClob(String columnLabel, Reader reader, long length)voidupdateNClob(String columnLabel, NClob nClob)voidupdateNString(int columnIndex, String x)voidupdateNString(String columnLabel, String x)voidupdateNull(int columnIndex)voidupdateNull(String columnLabel)voidupdateObject(int columnIndex, Object x)voidupdateObject(int columnIndex, Object x, int scale)voidupdateObject(int columnIndex, Object x, SQLType targetSqlType)voidupdateObject(int columnIndex, Object x, SQLType targetSqlType, int scaleOrLength)voidupdateObject(String columnLabel, Object x)voidupdateObject(String columnLabel, Object x, int scale)voidupdateObject(String columnLabel, Object x, SQLType targetSqlType)voidupdateObject(String columnLabel, Object x, SQLType targetSqlType, int scaleOrLength)protected voidupdateObjectInternal(int columnIndex, Object x, Integer targetType, int scaleOrLength)Internal setObject implementation.protected voidupdateObjectInternal(int columnIndex, Object x, SQLType targetType, int scaleOrLength)Internal setObject implementation.voidupdateRow()voidupdateShort(int columnIndex, short x)voidupdateShort(String columnLabel, short x)voidupdateSQLXML(int columnIndex, SQLXML xmlObject)voidupdateSQLXML(String columnLabel, SQLXML xmlObject)voidupdateString(int columnIndex, String x)voidupdateString(String columnLabel, String x)voidupdateTime(int columnIndex, Time x)voidupdateTime(String columnLabel, Time x)voidupdateTimestamp(int columnIndex, Timestamp x)voidupdateTimestamp(String columnLabel, Timestamp x)-
从类继承的方法 com.mysql.cj.jdbc.result.ResultSetImpl
checkClosed, checkColumnBounds, clearWarnings, close, closeOwner, findColumn, getArray, getArray, getAsciiStream, getAsciiStream, getBigDecimal, getBigDecimal, getBigDecimal, getBigDecimal, getBigInteger, getBinaryStream, getBinaryStream, getBlob, getBlob, getBoolean, getBoolean, getByte, getByte, getBytes, getBytes, getCharacterStream, getCharacterStream, getClob, getClob, getConnection, getCursorName, getDate, getDate, getDate, getDate, getDouble, getDouble, getExceptionInterceptor, getFetchDirection, getFetchSize, getFirstCharOfQuery, getFloat, getFloat, getInt, getInt, getLocalDate, getLocalDateTime, getLocalTime, getLong, getLong, getMetadata, getMetaData, getObject, getObject, getObject, getObject, getObject, getObject, getObjectStoredProc, getObjectStoredProc, getObjectStoredProc, getObjectStoredProc, getOwnerFetchSize, getOwningQuery, getOwningStatement, getOwningStatementFetchSize, getOwningStatementMaxRows, getOwningStatementServerId, getPointOfOrigin, getRef, getRef, getRow, getRowId, getRowId, getSession, getShort, getShort, getStatement, getString, getString, getSyncMutex, getTime, getTime, getTime, getTime, getTimestamp, getTimestamp, getTimestamp, getTimestamp, getType, getUnicodeStream, getUnicodeStream, getURL, getURL, getUtilCalendar, getWarnings, initializeWithMetadata, isStrictlyForwardOnly, populateCachedMetaData, setFetchDirection, setFetchSize, setFirstCharOfQuery, setOwningStatement, setResultSetType, setServerInfo, setStatementUsedForFetchingRows, setWrapperStatement, toString, updateArray, updateArray, updateRef, updateRef, updateRowId, updateRowId, warningEncountered, wasNull
-
从类继承的方法 com.mysql.cj.protocol.a.result.NativeResultset
clearNextResultset, getColumnDefinition, getNextResultset, getResultId, getRows, getServerInfo, getUpdateCount, getUpdateID, hasRows, initRowsWithMetadata, setColumnDefinition, setNextResultset
-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
从接口继承的方法 com.mysql.cj.protocol.Resultset
clearNextResultset, getColumnDefinition, getNextResultset, getResultId, getRows, getServerInfo, getUpdateCount, getUpdateID, hasRows, initRowsWithMetadata, setColumnDefinition, setNextResultset
-
-
-
-
字段详细资料
-
inserter
protected ClientPreparedStatement inserter
PreparedStatement used to insert data
-
updater
protected ClientPreparedStatement updater
PreparedStatement used to delete data
-
doingUpdates
protected boolean doingUpdates
Are we in the middle of doing updates to the current row?
-
-
构造器详细资料
-
UpdatableResultSet
public UpdatableResultSet(ResultsetRows tuples, JdbcConnection conn, StatementImpl creatorStmt) throws SQLException
Creates a new ResultSet object.- 参数:
tuples- actual row dataconn- the Connection that created us.creatorStmt- statement owning this result set- 抛出:
SQLException- if an error occurs
-
-
方法详细资料
-
absolute
public boolean absolute(int row) throws SQLException- 指定者:
absolute在接口中ResultSet- 覆盖:
absolute在类中ResultSetImpl- 抛出:
SQLException
-
afterLast
public void afterLast() throws SQLException- 指定者:
afterLast在接口中ResultSet- 覆盖:
afterLast在类中ResultSetImpl- 抛出:
SQLException
-
beforeFirst
public void beforeFirst() throws SQLException- 指定者:
beforeFirst在接口中ResultSet- 覆盖:
beforeFirst在类中ResultSetImpl- 抛出:
SQLException
-
cancelRowUpdates
public void cancelRowUpdates() throws SQLException- 指定者:
cancelRowUpdates在接口中ResultSet- 覆盖:
cancelRowUpdates在类中ResultSetImpl- 抛出:
SQLException
-
checkRowPos
protected void checkRowPos() throws SQLException从类复制的说明:ResultSetImplEnsures that the cursor is positioned on a valid row and that the result set is not closed- 覆盖:
checkRowPos在类中ResultSetImpl- 抛出:
SQLException- if the result set is not in a valid state for traversal
-
checkUpdatability
public void checkUpdatability() throws SQLExceptionIs this ResultSet updatable?- 抛出:
SQLException- if an error occurs
-
deleteRow
public void deleteRow() throws SQLException- 指定者:
deleteRow在接口中ResultSet- 覆盖:
deleteRow在类中ResultSetImpl- 抛出:
SQLException
-
first
public boolean first() throws SQLException- 指定者:
first在接口中ResultSet- 覆盖:
first在类中ResultSetImpl- 抛出:
SQLException
-
generateStatements
protected void generateStatements() throws SQLExceptionFigure out whether or not this ResultSet is updatable, and if so, generate the PreparedStatements to support updates.- 抛出:
SQLException- if an error occursNotUpdatable- if result set was marked as not updatable
-
getConcurrency
public int getConcurrency() throws SQLException- 指定者:
getConcurrency在接口中ResultSet- 覆盖:
getConcurrency在类中ResultSetImpl- 抛出:
SQLException
-
insertRow
public void insertRow() throws SQLException- 指定者:
insertRow在接口中ResultSet- 覆盖:
insertRow在类中ResultSetImpl- 抛出:
SQLException
-
isAfterLast
public boolean isAfterLast() throws SQLException- 指定者:
isAfterLast在接口中ResultSet- 覆盖:
isAfterLast在类中ResultSetImpl- 抛出:
SQLException
-
isBeforeFirst
public boolean isBeforeFirst() throws SQLException- 指定者:
isBeforeFirst在接口中ResultSet- 覆盖:
isBeforeFirst在类中ResultSetImpl- 抛出:
SQLException
-
isFirst
public boolean isFirst() throws SQLException- 指定者:
isFirst在接口中ResultSet- 覆盖:
isFirst在类中ResultSetImpl- 抛出:
SQLException
-
isLast
public boolean isLast() throws SQLException- 指定者:
isLast在接口中ResultSet- 覆盖:
isLast在类中ResultSetImpl- 抛出:
SQLException
-
last
public boolean last() throws SQLException- 指定者:
last在接口中ResultSet- 覆盖:
last在类中ResultSetImpl- 抛出:
SQLException
-
moveToCurrentRow
public void moveToCurrentRow() throws SQLException- 指定者:
moveToCurrentRow在接口中ResultSet- 覆盖:
moveToCurrentRow在类中ResultSetImpl- 抛出:
SQLException
-
moveToInsertRow
public void moveToInsertRow() throws SQLException- 指定者:
moveToInsertRow在接口中ResultSet- 覆盖:
moveToInsertRow在类中ResultSetImpl- 抛出:
SQLException
-
next
public boolean next() throws SQLException- 指定者:
next在接口中ResultSet- 覆盖:
next在类中ResultSetImpl- 抛出:
SQLException
-
prev
public boolean prev() throws SQLException从类复制的说明:ResultSetImplThe prev method is not part of JDBC, but because of the architecture of this driver it is possible to move both forward and backward within the result set.If an input stream from the previous row is open, it is implicitly closed. The ResultSet's warning chain is cleared when a new row is read
- 覆盖:
prev在类中ResultSetImpl- 返回:
- true if the new current is valid; false if there are no more rows
- 抛出:
SQLException- if a database access error occurs
-
previous
public boolean previous() throws SQLException- 指定者:
previous在接口中ResultSet- 覆盖:
previous在类中ResultSetImpl- 抛出:
SQLException
-
realClose
public void realClose(boolean calledExplicitly) throws SQLException从接口复制的说明:ResultSetInternalMethodsCloses this ResultSet and releases resources.- 指定者:
realClose在接口中ResultSetInternalMethods- 覆盖:
realClose在类中ResultSetImpl- 参数:
calledExplicitly- was realClose called by the standard ResultSet.close() method, or was it closed internally by the driver?- 抛出:
SQLException- if an error occurs
-
refreshRow
public void refreshRow() throws SQLException- 指定者:
refreshRow在接口中ResultSet- 覆盖:
refreshRow在类中ResultSetImpl- 抛出:
SQLException
-
relative
public boolean relative(int rows) throws SQLException- 指定者:
relative在接口中ResultSet- 覆盖:
relative在类中ResultSetImpl- 抛出:
SQLException
-
rowDeleted
public boolean rowDeleted() throws SQLException- 指定者:
rowDeleted在接口中ResultSet- 覆盖:
rowDeleted在类中ResultSetImpl- 抛出:
SQLException
-
rowInserted
public boolean rowInserted() throws SQLException- 指定者:
rowInserted在接口中ResultSet- 覆盖:
rowInserted在类中ResultSetImpl- 抛出:
SQLException
-
rowUpdated
public boolean rowUpdated() throws SQLException- 指定者:
rowUpdated在接口中ResultSet- 覆盖:
rowUpdated在类中ResultSetImpl- 抛出:
SQLException
-
setResultSetConcurrency
public void setResultSetConcurrency(int concurrencyFlag)
从类复制的说明:ResultSetImplSets the concurrency- 覆盖:
setResultSetConcurrency在类中ResultSetImpl- 参数:
concurrencyFlag- CONCUR_UPDATABLE or CONCUR_READONLY
-
syncUpdate
protected void syncUpdate() throws SQLExceptionReset UPDATE prepared statement to value in current row. This_Row MUST point to current, valid row.- 抛出:
SQLException- if an error occurs
-
updateRow
public void updateRow() throws SQLException- 指定者:
updateRow在接口中ResultSet- 覆盖:
updateRow在类中ResultSetImpl- 抛出:
SQLException
-
getHoldability
public int getHoldability() throws SQLException- 指定者:
getHoldability在接口中ResultSet- 覆盖:
getHoldability在类中ResultSetImpl- 抛出:
SQLException
-
updateAsciiStream
public void updateAsciiStream(String columnLabel, InputStream x, int length) throws SQLException
- 指定者:
updateAsciiStream在接口中ResultSet- 覆盖:
updateAsciiStream在类中ResultSetImpl- 抛出:
SQLException
-
updateAsciiStream
public void updateAsciiStream(int columnIndex, InputStream x, int length) throws SQLException- 指定者:
updateAsciiStream在接口中ResultSet- 覆盖:
updateAsciiStream在类中ResultSetImpl- 抛出:
SQLException
-
updateBigDecimal
public void updateBigDecimal(String columnLabel, BigDecimal x) throws SQLException
- 指定者:
updateBigDecimal在接口中ResultSet- 覆盖:
updateBigDecimal在类中ResultSetImpl- 抛出:
SQLException
-
updateBigDecimal
public void updateBigDecimal(int columnIndex, BigDecimal x) throws SQLException- 指定者:
updateBigDecimal在接口中ResultSet- 覆盖:
updateBigDecimal在类中ResultSetImpl- 抛出:
SQLException
-
updateBinaryStream
public void updateBinaryStream(String columnLabel, InputStream x, int length) throws SQLException
- 指定者:
updateBinaryStream在接口中ResultSet- 覆盖:
updateBinaryStream在类中ResultSetImpl- 抛出:
SQLException
-
updateBinaryStream
public void updateBinaryStream(int columnIndex, InputStream x, int length) throws SQLException- 指定者:
updateBinaryStream在接口中ResultSet- 覆盖:
updateBinaryStream在类中ResultSetImpl- 抛出:
SQLException
-
updateBlob
public void updateBlob(String columnLabel, Blob blob) throws SQLException
- 指定者:
updateBlob在接口中ResultSet- 覆盖:
updateBlob在类中ResultSetImpl- 抛出:
SQLException
-
updateBlob
public void updateBlob(int columnIndex, Blob blob) throws SQLException- 指定者:
updateBlob在接口中ResultSet- 覆盖:
updateBlob在类中ResultSetImpl- 抛出:
SQLException
-
updateBoolean
public void updateBoolean(String columnLabel, boolean x) throws SQLException
- 指定者:
updateBoolean在接口中ResultSet- 覆盖:
updateBoolean在类中ResultSetImpl- 抛出:
SQLException
-
updateBoolean
public void updateBoolean(int columnIndex, boolean x) throws SQLException- 指定者:
updateBoolean在接口中ResultSet- 覆盖:
updateBoolean在类中ResultSetImpl- 抛出:
SQLException
-
updateByte
public void updateByte(String columnLabel, byte x) throws SQLException
- 指定者:
updateByte在接口中ResultSet- 覆盖:
updateByte在类中ResultSetImpl- 抛出:
SQLException
-
updateByte
public void updateByte(int columnIndex, byte x) throws SQLException- 指定者:
updateByte在接口中ResultSet- 覆盖:
updateByte在类中ResultSetImpl- 抛出:
SQLException
-
updateBytes
public void updateBytes(String columnLabel, byte[] x) throws SQLException
- 指定者:
updateBytes在接口中ResultSet- 覆盖:
updateBytes在类中ResultSetImpl- 抛出:
SQLException
-
updateBytes
public void updateBytes(int columnIndex, byte[] x) throws SQLException- 指定者:
updateBytes在接口中ResultSet- 覆盖:
updateBytes在类中ResultSetImpl- 抛出:
SQLException
-
updateCharacterStream
public void updateCharacterStream(String columnLabel, Reader reader, int length) throws SQLException
- 指定者:
updateCharacterStream在接口中ResultSet- 覆盖:
updateCharacterStream在类中ResultSetImpl- 抛出:
SQLException
-
updateCharacterStream
public void updateCharacterStream(int columnIndex, Reader x, int length) throws SQLException- 指定者:
updateCharacterStream在接口中ResultSet- 覆盖:
updateCharacterStream在类中ResultSetImpl- 抛出:
SQLException
-
updateClob
public void updateClob(String columnLabel, Clob clob) throws SQLException
- 指定者:
updateClob在接口中ResultSet- 覆盖:
updateClob在类中ResultSetImpl- 抛出:
SQLException
-
updateClob
public void updateClob(int columnIndex, Clob clob) throws SQLException- 指定者:
updateClob在接口中ResultSet- 覆盖:
updateClob在类中ResultSetImpl- 抛出:
SQLException
-
updateDate
public void updateDate(String columnLabel, Date x) throws SQLException
- 指定者:
updateDate在接口中ResultSet- 覆盖:
updateDate在类中ResultSetImpl- 抛出:
SQLException
-
updateDate
public void updateDate(int columnIndex, Date x) throws SQLException- 指定者:
updateDate在接口中ResultSet- 覆盖:
updateDate在类中ResultSetImpl- 抛出:
SQLException
-
updateDouble
public void updateDouble(String columnLabel, double x) throws SQLException
- 指定者:
updateDouble在接口中ResultSet- 覆盖:
updateDouble在类中ResultSetImpl- 抛出:
SQLException
-
updateDouble
public void updateDouble(int columnIndex, double x) throws SQLException- 指定者:
updateDouble在接口中ResultSet- 覆盖:
updateDouble在类中ResultSetImpl- 抛出:
SQLException
-
updateFloat
public void updateFloat(String columnLabel, float x) throws SQLException
- 指定者:
updateFloat在接口中ResultSet- 覆盖:
updateFloat在类中ResultSetImpl- 抛出:
SQLException
-
updateFloat
public void updateFloat(int columnIndex, float x) throws SQLException- 指定者:
updateFloat在接口中ResultSet- 覆盖:
updateFloat在类中ResultSetImpl- 抛出:
SQLException
-
updateInt
public void updateInt(String columnLabel, int x) throws SQLException
- 指定者:
updateInt在接口中ResultSet- 覆盖:
updateInt在类中ResultSetImpl- 抛出:
SQLException
-
updateInt
public void updateInt(int columnIndex, int x) throws SQLException- 指定者:
updateInt在接口中ResultSet- 覆盖:
updateInt在类中ResultSetImpl- 抛出:
SQLException
-
updateLong
public void updateLong(String columnLabel, long x) throws SQLException
- 指定者:
updateLong在接口中ResultSet- 覆盖:
updateLong在类中ResultSetImpl- 抛出:
SQLException
-
updateLong
public void updateLong(int columnIndex, long x) throws SQLException- 指定者:
updateLong在接口中ResultSet- 覆盖:
updateLong在类中ResultSetImpl- 抛出:
SQLException
-
updateNull
public void updateNull(String columnLabel) throws SQLException
- 指定者:
updateNull在接口中ResultSet- 覆盖:
updateNull在类中ResultSetImpl- 抛出:
SQLException
-
updateNull
public void updateNull(int columnIndex) throws SQLException- 指定者:
updateNull在接口中ResultSet- 覆盖:
updateNull在类中ResultSetImpl- 抛出:
SQLException
-
updateObject
public void updateObject(String columnLabel, Object x) throws SQLException
- 指定者:
updateObject在接口中ResultSet- 覆盖:
updateObject在类中ResultSetImpl- 抛出:
SQLException
-
updateObject
public void updateObject(int columnIndex, Object x) throws SQLException- 指定者:
updateObject在接口中ResultSet- 覆盖:
updateObject在类中ResultSetImpl- 抛出:
SQLException
-
updateObject
public void updateObject(String columnLabel, Object x, int scale) throws SQLException
- 指定者:
updateObject在接口中ResultSet- 覆盖:
updateObject在类中ResultSetImpl- 抛出:
SQLException
-
updateObject
public void updateObject(int columnIndex, Object x, int scale) throws SQLException- 指定者:
updateObject在接口中ResultSet- 覆盖:
updateObject在类中ResultSetImpl- 抛出:
SQLException
-
updateObjectInternal
protected void updateObjectInternal(int columnIndex, Object x, Integer targetType, int scaleOrLength) throws SQLExceptionInternal setObject implementation. Although targetType is not part of default ResultSet methods signatures, it is used for type conversions from JDBC42UpdatableResultSet new JDBC 4.2 updateObject() methods.- 参数:
columnIndex- column indexx- valuetargetType- target typescaleOrLength- scale or length, depending on target type- 抛出:
SQLException- if an error occurs
-
updateObjectInternal
protected void updateObjectInternal(int columnIndex, Object x, SQLType targetType, int scaleOrLength) throws SQLExceptionInternal setObject implementation.- 参数:
columnIndex- column indexx- valuetargetType- target typescaleOrLength- scale or length, depending on target type- 抛出:
SQLException- if an error occurs
-
updateObject
public void updateObject(String columnLabel, Object x, SQLType targetSqlType) throws SQLException
- 指定者:
updateObject在接口中ResultSet- 覆盖:
updateObject在类中ResultSetImpl- 抛出:
SQLException
-
updateObject
public void updateObject(int columnIndex, Object x, SQLType targetSqlType) throws SQLException- 指定者:
updateObject在接口中ResultSet- 覆盖:
updateObject在类中ResultSetImpl- 抛出:
SQLException
-
updateObject
public void updateObject(String columnLabel, Object x, SQLType targetSqlType, int scaleOrLength) throws SQLException
- 指定者:
updateObject在接口中ResultSet- 覆盖:
updateObject在类中ResultSetImpl- 抛出:
SQLException
-
updateObject
public void updateObject(int columnIndex, Object x, SQLType targetSqlType, int scaleOrLength) throws SQLException- 指定者:
updateObject在接口中ResultSet- 覆盖:
updateObject在类中ResultSetImpl- 抛出:
SQLException
-
updateShort
public void updateShort(String columnLabel, short x) throws SQLException
- 指定者:
updateShort在接口中ResultSet- 覆盖:
updateShort在类中ResultSetImpl- 抛出:
SQLException
-
updateShort
public void updateShort(int columnIndex, short x) throws SQLException- 指定者:
updateShort在接口中ResultSet- 覆盖:
updateShort在类中ResultSetImpl- 抛出:
SQLException
-
updateString
public void updateString(String columnLabel, String x) throws SQLException
- 指定者:
updateString在接口中ResultSet- 覆盖:
updateString在类中ResultSetImpl- 抛出:
SQLException
-
updateString
public void updateString(int columnIndex, String x) throws SQLException- 指定者:
updateString在接口中ResultSet- 覆盖:
updateString在类中ResultSetImpl- 抛出:
SQLException
-
updateTime
public void updateTime(String columnLabel, Time x) throws SQLException
- 指定者:
updateTime在接口中ResultSet- 覆盖:
updateTime在类中ResultSetImpl- 抛出:
SQLException
-
updateTime
public void updateTime(int columnIndex, Time x) throws SQLException- 指定者:
updateTime在接口中ResultSet- 覆盖:
updateTime在类中ResultSetImpl- 抛出:
SQLException
-
updateTimestamp
public void updateTimestamp(String columnLabel, Timestamp x) throws SQLException
- 指定者:
updateTimestamp在接口中ResultSet- 覆盖:
updateTimestamp在类中ResultSetImpl- 抛出:
SQLException
-
updateTimestamp
public void updateTimestamp(int columnIndex, Timestamp x) throws SQLException- 指定者:
updateTimestamp在接口中ResultSet- 覆盖:
updateTimestamp在类中ResultSetImpl- 抛出:
SQLException
-
updateAsciiStream
public void updateAsciiStream(String columnLabel, InputStream x) throws SQLException
- 指定者:
updateAsciiStream在接口中ResultSet- 覆盖:
updateAsciiStream在类中ResultSetImpl- 抛出:
SQLException
-
updateAsciiStream
public void updateAsciiStream(int columnIndex, InputStream x) throws SQLException- 指定者:
updateAsciiStream在接口中ResultSet- 覆盖:
updateAsciiStream在类中ResultSetImpl- 抛出:
SQLException
-
updateAsciiStream
public void updateAsciiStream(String columnLabel, InputStream x, long length) throws SQLException
- 指定者:
updateAsciiStream在接口中ResultSet- 覆盖:
updateAsciiStream在类中ResultSetImpl- 抛出:
SQLException
-
updateAsciiStream
public void updateAsciiStream(int columnIndex, InputStream x, long length) throws SQLException- 指定者:
updateAsciiStream在接口中ResultSet- 覆盖:
updateAsciiStream在类中ResultSetImpl- 抛出:
SQLException
-
updateBinaryStream
public void updateBinaryStream(String columnLabel, InputStream x) throws SQLException
- 指定者:
updateBinaryStream在接口中ResultSet- 覆盖:
updateBinaryStream在类中ResultSetImpl- 抛出:
SQLException
-
updateBinaryStream
public void updateBinaryStream(int columnIndex, InputStream x) throws SQLException- 指定者:
updateBinaryStream在接口中ResultSet- 覆盖:
updateBinaryStream在类中ResultSetImpl- 抛出:
SQLException
-
updateBinaryStream
public void updateBinaryStream(String columnLabel, InputStream x, long length) throws SQLException
- 指定者:
updateBinaryStream在接口中ResultSet- 覆盖:
updateBinaryStream在类中ResultSetImpl- 抛出:
SQLException
-
updateBinaryStream
public void updateBinaryStream(int columnIndex, InputStream x, long length) throws SQLException- 指定者:
updateBinaryStream在接口中ResultSet- 覆盖:
updateBinaryStream在类中ResultSetImpl- 抛出:
SQLException
-
updateBlob
public void updateBlob(String columnLabel, InputStream inputStream) throws SQLException
- 指定者:
updateBlob在接口中ResultSet- 覆盖:
updateBlob在类中ResultSetImpl- 抛出:
SQLException
-
updateBlob
public void updateBlob(int columnIndex, InputStream inputStream) throws SQLException- 指定者:
updateBlob在接口中ResultSet- 覆盖:
updateBlob在类中ResultSetImpl- 抛出:
SQLException
-
updateBlob
public void updateBlob(String columnLabel, InputStream inputStream, long length) throws SQLException
- 指定者:
updateBlob在接口中ResultSet- 覆盖:
updateBlob在类中ResultSetImpl- 抛出:
SQLException
-
updateBlob
public void updateBlob(int columnIndex, InputStream inputStream, long length) throws SQLException- 指定者:
updateBlob在接口中ResultSet- 覆盖:
updateBlob在类中ResultSetImpl- 抛出:
SQLException
-
updateCharacterStream
public void updateCharacterStream(String columnLabel, Reader reader) throws SQLException
- 指定者:
updateCharacterStream在接口中ResultSet- 覆盖:
updateCharacterStream在类中ResultSetImpl- 抛出:
SQLException
-
updateCharacterStream
public void updateCharacterStream(int columnIndex, Reader x) throws SQLException- 指定者:
updateCharacterStream在接口中ResultSet- 覆盖:
updateCharacterStream在类中ResultSetImpl- 抛出:
SQLException
-
updateCharacterStream
public void updateCharacterStream(String columnLabel, Reader reader, long length) throws SQLException
- 指定者:
updateCharacterStream在接口中ResultSet- 覆盖:
updateCharacterStream在类中ResultSetImpl- 抛出:
SQLException
-
updateCharacterStream
public void updateCharacterStream(int columnIndex, Reader x, long length) throws SQLException- 指定者:
updateCharacterStream在接口中ResultSet- 覆盖:
updateCharacterStream在类中ResultSetImpl- 抛出:
SQLException
-
updateClob
public void updateClob(String columnLabel, Reader reader) throws SQLException
- 指定者:
updateClob在接口中ResultSet- 覆盖:
updateClob在类中ResultSetImpl- 抛出:
SQLException
-
updateClob
public void updateClob(int columnIndex, Reader reader) throws SQLException- 指定者:
updateClob在接口中ResultSet- 覆盖:
updateClob在类中ResultSetImpl- 抛出:
SQLException
-
updateClob
public void updateClob(String columnLabel, Reader reader, long length) throws SQLException
- 指定者:
updateClob在接口中ResultSet- 覆盖:
updateClob在类中ResultSetImpl- 抛出:
SQLException
-
updateClob
public void updateClob(int columnIndex, Reader reader, long length) throws SQLException- 指定者:
updateClob在接口中ResultSet- 覆盖:
updateClob在类中ResultSetImpl- 抛出:
SQLException
-
updateNCharacterStream
public void updateNCharacterStream(String columnLabel, Reader reader) throws SQLException
- 指定者:
updateNCharacterStream在接口中ResultSet- 覆盖:
updateNCharacterStream在类中ResultSetImpl- 抛出:
SQLException
-
updateNCharacterStream
public void updateNCharacterStream(int columnIndex, Reader x) throws SQLException- 指定者:
updateNCharacterStream在接口中ResultSet- 覆盖:
updateNCharacterStream在类中ResultSetImpl- 抛出:
SQLException
-
updateNCharacterStream
public void updateNCharacterStream(String columnLabel, Reader reader, long length) throws SQLException
- 指定者:
updateNCharacterStream在接口中ResultSet- 覆盖:
updateNCharacterStream在类中ResultSetImpl- 抛出:
SQLException
-
updateNCharacterStream
public void updateNCharacterStream(int columnIndex, Reader x, long length) throws SQLException- 指定者:
updateNCharacterStream在接口中ResultSet- 覆盖:
updateNCharacterStream在类中ResultSetImpl- 抛出:
SQLException
-
updateNClob
public void updateNClob(String columnLabel, Reader reader) throws SQLException
- 指定者:
updateNClob在接口中ResultSet- 覆盖:
updateNClob在类中ResultSetImpl- 抛出:
SQLException
-
updateNClob
public void updateNClob(int columnIndex, Reader reader) throws SQLException- 指定者:
updateNClob在接口中ResultSet- 覆盖:
updateNClob在类中ResultSetImpl- 抛出:
SQLException
-
updateNClob
public void updateNClob(String columnLabel, Reader reader, long length) throws SQLException
- 指定者:
updateNClob在接口中ResultSet- 覆盖:
updateNClob在类中ResultSetImpl- 抛出:
SQLException
-
updateNClob
public void updateNClob(int columnIndex, Reader reader, long length) throws SQLException- 指定者:
updateNClob在接口中ResultSet- 覆盖:
updateNClob在类中ResultSetImpl- 抛出:
SQLException
-
updateNClob
public void updateNClob(String columnLabel, NClob nClob) throws SQLException
- 指定者:
updateNClob在接口中ResultSet- 覆盖:
updateNClob在类中ResultSetImpl- 抛出:
SQLException
-
updateNClob
public void updateNClob(int columnIndex, NClob nClob) throws SQLException- 指定者:
updateNClob在接口中ResultSet- 覆盖:
updateNClob在类中ResultSetImpl- 抛出:
SQLException
-
updateSQLXML
public void updateSQLXML(String columnLabel, SQLXML xmlObject) throws SQLException
- 指定者:
updateSQLXML在接口中ResultSet- 覆盖:
updateSQLXML在类中ResultSetImpl- 抛出:
SQLException
-
updateSQLXML
public void updateSQLXML(int columnIndex, SQLXML xmlObject) throws SQLException- 指定者:
updateSQLXML在接口中ResultSet- 覆盖:
updateSQLXML在类中ResultSetImpl- 抛出:
SQLException
-
updateNString
public void updateNString(String columnLabel, String x) throws SQLException
- 指定者:
updateNString在接口中ResultSet- 覆盖:
updateNString在类中ResultSetImpl- 抛出:
SQLException
-
updateNString
public void updateNString(int columnIndex, String x) throws SQLException- 指定者:
updateNString在接口中ResultSet- 覆盖:
updateNString在类中ResultSetImpl- 抛出:
SQLException
-
getNCharacterStream
public Reader getNCharacterStream(String columnLabel) throws SQLException
- 指定者:
getNCharacterStream在接口中ResultSet- 覆盖:
getNCharacterStream在类中ResultSetImpl- 抛出:
SQLException
-
getNCharacterStream
public Reader getNCharacterStream(int columnIndex) throws SQLException
- 指定者:
getNCharacterStream在接口中ResultSet- 覆盖:
getNCharacterStream在类中ResultSetImpl- 抛出:
SQLException
-
getNClob
public NClob getNClob(String columnLabel) throws SQLException
- 指定者:
getNClob在接口中ResultSet- 覆盖:
getNClob在类中ResultSetImpl- 抛出:
SQLException
-
getNClob
public NClob getNClob(int columnIndex) throws SQLException
- 指定者:
getNClob在接口中ResultSet- 覆盖:
getNClob在类中ResultSetImpl- 抛出:
SQLException
-
getNString
public String getNString(String columnLabel) throws SQLException
- 指定者:
getNString在接口中ResultSet- 覆盖:
getNString在类中ResultSetImpl- 抛出:
SQLException
-
getNString
public String getNString(int columnIndex) throws SQLException
- 指定者:
getNString在接口中ResultSet- 覆盖:
getNString在类中ResultSetImpl- 抛出:
SQLException
-
getSQLXML
public SQLXML getSQLXML(String columnLabel) throws SQLException
- 指定者:
getSQLXML在接口中ResultSet- 覆盖:
getSQLXML在类中ResultSetImpl- 抛出:
SQLException
-
getSQLXML
public SQLXML getSQLXML(int columnIndex) throws SQLException
- 指定者:
getSQLXML在接口中ResultSet- 覆盖:
getSQLXML在类中ResultSetImpl- 抛出:
SQLException
-
isClosed
public boolean isClosed() throws SQLException- 指定者:
isClosed在接口中ResultSet- 覆盖:
isClosed在类中ResultSetImpl- 抛出:
SQLException
-
isWrapperFor
public boolean isWrapperFor(Class<?> iface) throws SQLException
- 指定者:
isWrapperFor在接口中Wrapper- 覆盖:
isWrapperFor在类中ResultSetImpl- 抛出:
SQLException
-
unwrap
public <T> T unwrap(Class<T> iface) throws SQLException
- 指定者:
unwrap在接口中Wrapper- 覆盖:
unwrap在类中ResultSetImpl- 抛出:
SQLException
-
-