public final class DelegatingResultSet extends AbandonedTrace implements java.sql.ResultSet
ResultSet.
All of the methods from the ResultSet interface simply call the corresponding method on the "delegate"
provided in my constructor.
Extends AbandonedTrace to implement result set tracking and logging of code which created the ResultSet. Tracking the ResultSet ensures that the Statement which created it can close any open ResultSet's on Statement close.
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
absolute(int row) |
void |
afterLast() |
void |
beforeFirst() |
void |
cancelRowUpdates() |
void |
clearWarnings() |
void |
close()
Wrapper for close of ResultSet which removes this result set from being traced then calls close on the original
ResultSet.
|
void |
deleteRow() |
int |
findColumn(java.lang.String columnName) |
boolean |
first() |
java.sql.Array |
getArray(int i) |
java.sql.Array |
getArray(java.lang.String colName) |
java.io.InputStream |
getAsciiStream(int columnIndex) |
java.io.InputStream |
getAsciiStream(java.lang.String columnName) |
java.math.BigDecimal |
getBigDecimal(int columnIndex) |
java.math.BigDecimal |
getBigDecimal(int columnIndex,
int scale)
已过时。
|
java.math.BigDecimal |
getBigDecimal(java.lang.String columnName) |
java.math.BigDecimal |
getBigDecimal(java.lang.String columnName,
int scale)
已过时。
|
java.io.InputStream |
getBinaryStream(int columnIndex) |
java.io.InputStream |
getBinaryStream(java.lang.String columnName) |
java.sql.Blob |
getBlob(int i) |
java.sql.Blob |
getBlob(java.lang.String colName) |
boolean |
getBoolean(int columnIndex) |
boolean |
getBoolean(java.lang.String columnName) |
byte |
getByte(int columnIndex) |
byte |
getByte(java.lang.String columnName) |
byte[] |
getBytes(int columnIndex) |
byte[] |
getBytes(java.lang.String columnName) |
java.io.Reader |
getCharacterStream(int columnIndex) |
java.io.Reader |
getCharacterStream(java.lang.String columnName) |
java.sql.Clob |
getClob(int i) |
java.sql.Clob |
getClob(java.lang.String colName) |
int |
getConcurrency() |
java.lang.String |
getCursorName() |
java.sql.Date |
getDate(int columnIndex) |
java.sql.Date |
getDate(int columnIndex,
java.util.Calendar cal) |
java.sql.Date |
getDate(java.lang.String columnName) |
java.sql.Date |
getDate(java.lang.String columnName,
java.util.Calendar cal) |
java.sql.ResultSet |
getDelegate()
Gets my delegate.
|
double |
getDouble(int columnIndex) |
double |
getDouble(java.lang.String columnName) |
int |
getFetchDirection() |
int |
getFetchSize() |
float |
getFloat(int columnIndex) |
float |
getFloat(java.lang.String columnName) |
int |
getHoldability() |
java.sql.ResultSet |
getInnermostDelegate()
If my underlying
ResultSet is not a DelegatingResultSet, returns it, otherwise recursively
invokes this method on my delegate. |
int |
getInt(int columnIndex) |
int |
getInt(java.lang.String columnName) |
long |
getLong(int columnIndex) |
long |
getLong(java.lang.String columnName) |
java.sql.ResultSetMetaData |
getMetaData() |
java.io.Reader |
getNCharacterStream(int columnIndex) |
java.io.Reader |
getNCharacterStream(java.lang.String columnLabel) |
java.sql.NClob |
getNClob(int columnIndex) |
java.sql.NClob |
getNClob(java.lang.String columnLabel) |
java.lang.String |
getNString(int columnIndex) |
java.lang.String |
getNString(java.lang.String columnLabel) |
java.lang.Object |
getObject(int columnIndex) |
<T> T |
getObject(int columnIndex,
java.lang.Class<T> type) |
java.lang.Object |
getObject(int i,
java.util.Map<java.lang.String,java.lang.Class<?>> map) |
java.lang.Object |
getObject(java.lang.String columnName) |
<T> T |
getObject(java.lang.String columnLabel,
java.lang.Class<T> type) |
java.lang.Object |
getObject(java.lang.String colName,
java.util.Map<java.lang.String,java.lang.Class<?>> map) |
java.sql.Ref |
getRef(int i) |
java.sql.Ref |
getRef(java.lang.String colName) |
int |
getRow() |
java.sql.RowId |
getRowId(int columnIndex) |
java.sql.RowId |
getRowId(java.lang.String columnLabel) |
short |
getShort(int columnIndex) |
short |
getShort(java.lang.String columnName) |
java.sql.SQLXML |
getSQLXML(int columnIndex) |
java.sql.SQLXML |
getSQLXML(java.lang.String columnLabel) |
java.sql.Statement |
getStatement() |
java.lang.String |
getString(int columnIndex) |
java.lang.String |
getString(java.lang.String columnName) |
java.sql.Time |
getTime(int columnIndex) |
java.sql.Time |
getTime(int columnIndex,
java.util.Calendar cal) |
java.sql.Time |
getTime(java.lang.String columnName) |
java.sql.Time |
getTime(java.lang.String columnName,
java.util.Calendar cal) |
java.sql.Timestamp |
getTimestamp(int columnIndex) |
java.sql.Timestamp |
getTimestamp(int columnIndex,
java.util.Calendar cal) |
java.sql.Timestamp |
getTimestamp(java.lang.String columnName) |
java.sql.Timestamp |
getTimestamp(java.lang.String columnName,
java.util.Calendar cal) |
int |
getType() |
java.io.InputStream |
getUnicodeStream(int columnIndex)
已过时。
|
java.io.InputStream |
getUnicodeStream(java.lang.String columnName)
已过时。
|
java.net.URL |
getURL(int columnIndex) |
java.net.URL |
getURL(java.lang.String columnName) |
java.sql.SQLWarning |
getWarnings() |
protected void |
handleException(java.sql.SQLException e) |
void |
insertRow() |
boolean |
isAfterLast() |
boolean |
isBeforeFirst() |
boolean |
isClosed() |
boolean |
isFirst() |
boolean |
isLast() |
boolean |
isWrapperFor(java.lang.Class<?> iface) |
boolean |
last() |
void |
moveToCurrentRow() |
void |
moveToInsertRow() |
boolean |
next() |
boolean |
previous() |
void |
refreshRow() |
boolean |
relative(int rows) |
boolean |
rowDeleted() |
boolean |
rowInserted() |
boolean |
rowUpdated() |
void |
setFetchDirection(int direction) |
void |
setFetchSize(int rows) |
java.lang.String |
toString() |
<T> T |
unwrap(java.lang.Class<T> iface) |
void |
updateArray(int columnIndex,
java.sql.Array x) |
void |
updateArray(java.lang.String columnName,
java.sql.Array x) |
void |
updateAsciiStream(int columnIndex,
java.io.InputStream inputStream) |
void |
updateAsciiStream(int columnIndex,
java.io.InputStream x,
int length) |
void |
updateAsciiStream(int columnIndex,
java.io.InputStream inputStream,
long length) |
void |
updateAsciiStream(java.lang.String columnLabel,
java.io.InputStream inputStream) |
void |
updateAsciiStream(java.lang.String columnName,
java.io.InputStream x,
int length) |
void |
updateAsciiStream(java.lang.String columnLabel,
java.io.InputStream inputStream,
long length) |
void |
updateBigDecimal(int columnIndex,
java.math.BigDecimal x) |
void |
updateBigDecimal(java.lang.String columnName,
java.math.BigDecimal x) |
void |
updateBinaryStream(int columnIndex,
java.io.InputStream inputStream) |
void |
updateBinaryStream(int columnIndex,
java.io.InputStream x,
int length) |
void |
updateBinaryStream(int columnIndex,
java.io.InputStream inputStream,
long length) |
void |
updateBinaryStream(java.lang.String columnLabel,
java.io.InputStream inputStream) |
void |
updateBinaryStream(java.lang.String columnName,
java.io.InputStream x,
int length) |
void |
updateBinaryStream(java.lang.String columnLabel,
java.io.InputStream inputStream,
long length) |
void |
updateBlob(int columnIndex,
java.sql.Blob x) |
void |
updateBlob(int columnIndex,
java.io.InputStream inputStream) |
void |
updateBlob(int columnIndex,
java.io.InputStream inputStream,
long length) |
void |
updateBlob(java.lang.String columnName,
java.sql.Blob x) |
void |
updateBlob(java.lang.String columnLabel,
java.io.InputStream inputStream) |
void |
updateBlob(java.lang.String columnLabel,
java.io.InputStream inputStream,
long length) |
void |
updateBoolean(int columnIndex,
boolean x) |
void |
updateBoolean(java.lang.String columnName,
boolean x) |
void |
updateByte(int columnIndex,
byte x) |
void |
updateByte(java.lang.String columnName,
byte x) |
void |
updateBytes(int columnIndex,
byte[] x) |
void |
updateBytes(java.lang.String columnName,
byte[] x) |
void |
updateCharacterStream(int columnIndex,
java.io.Reader reader) |
void |
updateCharacterStream(int columnIndex,
java.io.Reader x,
int length) |
void |
updateCharacterStream(int columnIndex,
java.io.Reader reader,
long length) |
void |
updateCharacterStream(java.lang.String columnLabel,
java.io.Reader reader) |
void |
updateCharacterStream(java.lang.String columnName,
java.io.Reader reader,
int length) |
void |
updateCharacterStream(java.lang.String columnLabel,
java.io.Reader reader,
long length) |
void |
updateClob(int columnIndex,
java.sql.Clob x) |
void |
updateClob(int columnIndex,
java.io.Reader reader) |
void |
updateClob(int columnIndex,
java.io.Reader reader,
long length) |
void |
updateClob(java.lang.String columnName,
java.sql.Clob x) |
void |
updateClob(java.lang.String columnLabel,
java.io.Reader reader) |
void |
updateClob(java.lang.String columnLabel,
java.io.Reader reader,
long length) |
void |
updateDate(int columnIndex,
java.sql.Date x) |
void |
updateDate(java.lang.String columnName,
java.sql.Date x) |
void |
updateDouble(int columnIndex,
double x) |
void |
updateDouble(java.lang.String columnName,
double x) |
void |
updateFloat(int columnIndex,
float x) |
void |
updateFloat(java.lang.String columnName,
float x) |
void |
updateInt(int columnIndex,
int x) |
void |
updateInt(java.lang.String columnName,
int x) |
void |
updateLong(int columnIndex,
long x) |
void |
updateLong(java.lang.String columnName,
long x) |
void |
updateNCharacterStream(int columnIndex,
java.io.Reader reader) |
void |
updateNCharacterStream(int columnIndex,
java.io.Reader reader,
long length) |
void |
updateNCharacterStream(java.lang.String columnLabel,
java.io.Reader reader) |
void |
updateNCharacterStream(java.lang.String columnLabel,
java.io.Reader reader,
long length) |
void |
updateNClob(int columnIndex,
java.sql.NClob value) |
void |
updateNClob(int columnIndex,
java.io.Reader reader) |
void |
updateNClob(int columnIndex,
java.io.Reader reader,
long length) |
void |
updateNClob(java.lang.String columnLabel,
java.sql.NClob value) |
void |
updateNClob(java.lang.String columnLabel,
java.io.Reader reader) |
void |
updateNClob(java.lang.String columnLabel,
java.io.Reader reader,
long length) |
void |
updateNString(int columnIndex,
java.lang.String value) |
void |
updateNString(java.lang.String columnLabel,
java.lang.String value) |
void |
updateNull(int columnIndex) |
void |
updateNull(java.lang.String columnName) |
void |
updateObject(int columnIndex,
java.lang.Object x) |
void |
updateObject(int columnIndex,
java.lang.Object x,
int scale) |
void |
updateObject(int columnIndex,
java.lang.Object x,
java.sql.SQLType targetSqlType) |
void |
updateObject(int columnIndex,
java.lang.Object x,
java.sql.SQLType targetSqlType,
int scaleOrLength) |
void |
updateObject(java.lang.String columnName,
java.lang.Object x) |
void |
updateObject(java.lang.String columnName,
java.lang.Object x,
int scale) |
void |
updateObject(java.lang.String columnLabel,
java.lang.Object x,
java.sql.SQLType targetSqlType) |
void |
updateObject(java.lang.String columnLabel,
java.lang.Object x,
java.sql.SQLType targetSqlType,
int scaleOrLength) |
void |
updateRef(int columnIndex,
java.sql.Ref x) |
void |
updateRef(java.lang.String columnName,
java.sql.Ref x) |
void |
updateRow() |
void |
updateRowId(int columnIndex,
java.sql.RowId value) |
void |
updateRowId(java.lang.String columnLabel,
java.sql.RowId value) |
void |
updateShort(int columnIndex,
short x) |
void |
updateShort(java.lang.String columnName,
short x) |
void |
updateSQLXML(int columnIndex,
java.sql.SQLXML value) |
void |
updateSQLXML(java.lang.String columnLabel,
java.sql.SQLXML value) |
void |
updateString(int columnIndex,
java.lang.String x) |
void |
updateString(java.lang.String columnName,
java.lang.String x) |
void |
updateTime(int columnIndex,
java.sql.Time x) |
void |
updateTime(java.lang.String columnName,
java.sql.Time x) |
void |
updateTimestamp(int columnIndex,
java.sql.Timestamp x) |
void |
updateTimestamp(java.lang.String columnName,
java.sql.Timestamp x) |
boolean |
wasNull() |
static java.sql.ResultSet |
wrapResultSet(java.sql.Connection connection,
java.sql.ResultSet resultSet)
Wraps the given result set in a delegate.
|
static java.sql.ResultSet |
wrapResultSet(java.sql.Statement statement,
java.sql.ResultSet resultSet)
Wraps the given result set in a delegate.
|
addTrace, clearTrace, getLastUsed, getTrace, removeThisTrace, removeTrace, setLastUsed, setLastUsedpublic static java.sql.ResultSet wrapResultSet(java.sql.Connection connection,
java.sql.ResultSet resultSet)
connection - The Connection which created the ResultSet.resultSet - The ResultSet to wrap.public static java.sql.ResultSet wrapResultSet(java.sql.Statement statement,
java.sql.ResultSet resultSet)
statement - The Statement which created the ResultSet.resultSet - The ResultSet to wrap.public boolean absolute(int row)
throws java.sql.SQLException
absolute 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic void afterLast()
throws java.sql.SQLException
afterLast 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic void beforeFirst()
throws java.sql.SQLException
beforeFirst 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic void cancelRowUpdates()
throws java.sql.SQLException
cancelRowUpdates 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic void clearWarnings()
throws java.sql.SQLException
clearWarnings 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic void close()
throws java.sql.SQLException
close 在接口中 java.lang.AutoCloseableclose 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic void deleteRow()
throws java.sql.SQLException
deleteRow 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic int findColumn(java.lang.String columnName)
throws java.sql.SQLException
findColumn 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic boolean first()
throws java.sql.SQLException
first 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic java.sql.Array getArray(int i)
throws java.sql.SQLException
getArray 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic java.sql.Array getArray(java.lang.String colName)
throws java.sql.SQLException
getArray 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic java.io.InputStream getAsciiStream(int columnIndex)
throws java.sql.SQLException
getAsciiStream 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic java.io.InputStream getAsciiStream(java.lang.String columnName)
throws java.sql.SQLException
getAsciiStream 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic java.math.BigDecimal getBigDecimal(int columnIndex)
throws java.sql.SQLException
getBigDecimal 在接口中 java.sql.ResultSetjava.sql.SQLException@Deprecated
public java.math.BigDecimal getBigDecimal(int columnIndex,
int scale)
throws java.sql.SQLException
getBigDecimal(int)getBigDecimal 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic java.math.BigDecimal getBigDecimal(java.lang.String columnName)
throws java.sql.SQLException
getBigDecimal 在接口中 java.sql.ResultSetjava.sql.SQLException@Deprecated
public java.math.BigDecimal getBigDecimal(java.lang.String columnName,
int scale)
throws java.sql.SQLException
getBigDecimal(String)getBigDecimal 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic java.io.InputStream getBinaryStream(int columnIndex)
throws java.sql.SQLException
getBinaryStream 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic java.io.InputStream getBinaryStream(java.lang.String columnName)
throws java.sql.SQLException
getBinaryStream 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic java.sql.Blob getBlob(int i)
throws java.sql.SQLException
getBlob 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic java.sql.Blob getBlob(java.lang.String colName)
throws java.sql.SQLException
getBlob 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic boolean getBoolean(int columnIndex)
throws java.sql.SQLException
getBoolean 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic boolean getBoolean(java.lang.String columnName)
throws java.sql.SQLException
getBoolean 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic byte getByte(int columnIndex)
throws java.sql.SQLException
getByte 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic byte getByte(java.lang.String columnName)
throws java.sql.SQLException
getByte 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic byte[] getBytes(int columnIndex)
throws java.sql.SQLException
getBytes 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic byte[] getBytes(java.lang.String columnName)
throws java.sql.SQLException
getBytes 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic java.io.Reader getCharacterStream(int columnIndex)
throws java.sql.SQLException
getCharacterStream 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic java.io.Reader getCharacterStream(java.lang.String columnName)
throws java.sql.SQLException
getCharacterStream 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic java.sql.Clob getClob(int i)
throws java.sql.SQLException
getClob 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic java.sql.Clob getClob(java.lang.String colName)
throws java.sql.SQLException
getClob 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic int getConcurrency()
throws java.sql.SQLException
getConcurrency 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic java.lang.String getCursorName()
throws java.sql.SQLException
getCursorName 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic java.sql.Date getDate(int columnIndex)
throws java.sql.SQLException
getDate 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic java.sql.Date getDate(int columnIndex,
java.util.Calendar cal)
throws java.sql.SQLException
getDate 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic java.sql.Date getDate(java.lang.String columnName)
throws java.sql.SQLException
getDate 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic java.sql.Date getDate(java.lang.String columnName,
java.util.Calendar cal)
throws java.sql.SQLException
getDate 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic java.sql.ResultSet getDelegate()
public double getDouble(int columnIndex)
throws java.sql.SQLException
getDouble 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic double getDouble(java.lang.String columnName)
throws java.sql.SQLException
getDouble 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic int getFetchDirection()
throws java.sql.SQLException
getFetchDirection 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic int getFetchSize()
throws java.sql.SQLException
getFetchSize 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic float getFloat(int columnIndex)
throws java.sql.SQLException
getFloat 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic float getFloat(java.lang.String columnName)
throws java.sql.SQLException
getFloat 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic int getHoldability()
throws java.sql.SQLException
getHoldability 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic java.sql.ResultSet getInnermostDelegate()
ResultSet is not a DelegatingResultSet, returns it, otherwise recursively
invokes this method on my delegate.
Hence this method will return the first delegate that is not a DelegatingResultSet, or null when
no non-DelegatingResultSet delegate can be found by traversing this chain.
This method is useful when you may have nested DelegatingResultSets, and you want to make sure to obtain
a "genuine" ResultSet.
public int getInt(int columnIndex)
throws java.sql.SQLException
getInt 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic int getInt(java.lang.String columnName)
throws java.sql.SQLException
getInt 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic long getLong(int columnIndex)
throws java.sql.SQLException
getLong 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic long getLong(java.lang.String columnName)
throws java.sql.SQLException
getLong 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic java.sql.ResultSetMetaData getMetaData()
throws java.sql.SQLException
getMetaData 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic java.io.Reader getNCharacterStream(int columnIndex)
throws java.sql.SQLException
getNCharacterStream 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic java.io.Reader getNCharacterStream(java.lang.String columnLabel)
throws java.sql.SQLException
getNCharacterStream 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic java.sql.NClob getNClob(int columnIndex)
throws java.sql.SQLException
getNClob 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic java.sql.NClob getNClob(java.lang.String columnLabel)
throws java.sql.SQLException
getNClob 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic java.lang.String getNString(int columnIndex)
throws java.sql.SQLException
getNString 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic java.lang.String getNString(java.lang.String columnLabel)
throws java.sql.SQLException
getNString 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic java.lang.Object getObject(int columnIndex)
throws java.sql.SQLException
getObject 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic <T> T getObject(int columnIndex,
java.lang.Class<T> type)
throws java.sql.SQLException
getObject 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic java.lang.Object getObject(int i,
java.util.Map<java.lang.String,java.lang.Class<?>> map)
throws java.sql.SQLException
getObject 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic java.lang.Object getObject(java.lang.String columnName)
throws java.sql.SQLException
getObject 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic <T> T getObject(java.lang.String columnLabel,
java.lang.Class<T> type)
throws java.sql.SQLException
getObject 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic java.lang.Object getObject(java.lang.String colName,
java.util.Map<java.lang.String,java.lang.Class<?>> map)
throws java.sql.SQLException
getObject 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic java.sql.Ref getRef(int i)
throws java.sql.SQLException
getRef 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic java.sql.Ref getRef(java.lang.String colName)
throws java.sql.SQLException
getRef 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic int getRow()
throws java.sql.SQLException
getRow 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic java.sql.RowId getRowId(int columnIndex)
throws java.sql.SQLException
getRowId 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic java.sql.RowId getRowId(java.lang.String columnLabel)
throws java.sql.SQLException
getRowId 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic short getShort(int columnIndex)
throws java.sql.SQLException
getShort 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic short getShort(java.lang.String columnName)
throws java.sql.SQLException
getShort 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic java.sql.SQLXML getSQLXML(int columnIndex)
throws java.sql.SQLException
getSQLXML 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic java.sql.SQLXML getSQLXML(java.lang.String columnLabel)
throws java.sql.SQLException
getSQLXML 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic java.sql.Statement getStatement()
throws java.sql.SQLException
getStatement 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic java.lang.String getString(int columnIndex)
throws java.sql.SQLException
getString 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic java.lang.String getString(java.lang.String columnName)
throws java.sql.SQLException
getString 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic java.sql.Time getTime(int columnIndex)
throws java.sql.SQLException
getTime 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic java.sql.Time getTime(int columnIndex,
java.util.Calendar cal)
throws java.sql.SQLException
getTime 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic java.sql.Time getTime(java.lang.String columnName)
throws java.sql.SQLException
getTime 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic java.sql.Time getTime(java.lang.String columnName,
java.util.Calendar cal)
throws java.sql.SQLException
getTime 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic java.sql.Timestamp getTimestamp(int columnIndex)
throws java.sql.SQLException
getTimestamp 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic java.sql.Timestamp getTimestamp(int columnIndex,
java.util.Calendar cal)
throws java.sql.SQLException
getTimestamp 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic java.sql.Timestamp getTimestamp(java.lang.String columnName)
throws java.sql.SQLException
getTimestamp 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic java.sql.Timestamp getTimestamp(java.lang.String columnName,
java.util.Calendar cal)
throws java.sql.SQLException
getTimestamp 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic int getType()
throws java.sql.SQLException
getType 在接口中 java.sql.ResultSetjava.sql.SQLException@Deprecated
public java.io.InputStream getUnicodeStream(int columnIndex)
throws java.sql.SQLException
getCharacterStream(int)getUnicodeStream 在接口中 java.sql.ResultSetjava.sql.SQLException@Deprecated
public java.io.InputStream getUnicodeStream(java.lang.String columnName)
throws java.sql.SQLException
getCharacterStream(String)getUnicodeStream 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic java.net.URL getURL(int columnIndex)
throws java.sql.SQLException
getURL 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic java.net.URL getURL(java.lang.String columnName)
throws java.sql.SQLException
getURL 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic java.sql.SQLWarning getWarnings()
throws java.sql.SQLException
getWarnings 在接口中 java.sql.ResultSetjava.sql.SQLExceptionprotected void handleException(java.sql.SQLException e)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void insertRow()
throws java.sql.SQLException
insertRow 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic boolean isAfterLast()
throws java.sql.SQLException
isAfterLast 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic boolean isBeforeFirst()
throws java.sql.SQLException
isBeforeFirst 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic boolean isClosed()
throws java.sql.SQLException
isClosed 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic boolean isFirst()
throws java.sql.SQLException
isFirst 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic boolean isLast()
throws java.sql.SQLException
isLast 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic boolean isWrapperFor(java.lang.Class<?> iface)
throws java.sql.SQLException
isWrapperFor 在接口中 java.sql.Wrapperjava.sql.SQLExceptionpublic boolean last()
throws java.sql.SQLException
last 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic void moveToCurrentRow()
throws java.sql.SQLException
moveToCurrentRow 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic void moveToInsertRow()
throws java.sql.SQLException
moveToInsertRow 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic boolean next()
throws java.sql.SQLException
next 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic boolean previous()
throws java.sql.SQLException
previous 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic void refreshRow()
throws java.sql.SQLException
refreshRow 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic boolean relative(int rows)
throws java.sql.SQLException
relative 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic boolean rowDeleted()
throws java.sql.SQLException
rowDeleted 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic boolean rowInserted()
throws java.sql.SQLException
rowInserted 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic boolean rowUpdated()
throws java.sql.SQLException
rowUpdated 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic void setFetchDirection(int direction)
throws java.sql.SQLException
setFetchDirection 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic void setFetchSize(int rows)
throws java.sql.SQLException
setFetchSize 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic java.lang.String toString()
toString 在类中 java.lang.Objectpublic <T> T unwrap(java.lang.Class<T> iface)
throws java.sql.SQLException
unwrap 在接口中 java.sql.Wrapperjava.sql.SQLExceptionpublic void updateArray(int columnIndex,
java.sql.Array x)
throws java.sql.SQLException
updateArray 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic void updateArray(java.lang.String columnName,
java.sql.Array x)
throws java.sql.SQLException
updateArray 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic void updateAsciiStream(int columnIndex,
java.io.InputStream inputStream)
throws java.sql.SQLException
updateAsciiStream 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic void updateAsciiStream(int columnIndex,
java.io.InputStream x,
int length)
throws java.sql.SQLException
updateAsciiStream 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic void updateAsciiStream(int columnIndex,
java.io.InputStream inputStream,
long length)
throws java.sql.SQLException
updateAsciiStream 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic void updateAsciiStream(java.lang.String columnLabel,
java.io.InputStream inputStream)
throws java.sql.SQLException
updateAsciiStream 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic void updateAsciiStream(java.lang.String columnName,
java.io.InputStream x,
int length)
throws java.sql.SQLException
updateAsciiStream 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic void updateAsciiStream(java.lang.String columnLabel,
java.io.InputStream inputStream,
long length)
throws java.sql.SQLException
updateAsciiStream 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic void updateBigDecimal(int columnIndex,
java.math.BigDecimal x)
throws java.sql.SQLException
updateBigDecimal 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic void updateBigDecimal(java.lang.String columnName,
java.math.BigDecimal x)
throws java.sql.SQLException
updateBigDecimal 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic void updateBinaryStream(int columnIndex,
java.io.InputStream inputStream)
throws java.sql.SQLException
updateBinaryStream 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic void updateBinaryStream(int columnIndex,
java.io.InputStream x,
int length)
throws java.sql.SQLException
updateBinaryStream 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic void updateBinaryStream(int columnIndex,
java.io.InputStream inputStream,
long length)
throws java.sql.SQLException
updateBinaryStream 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic void updateBinaryStream(java.lang.String columnLabel,
java.io.InputStream inputStream)
throws java.sql.SQLException
updateBinaryStream 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic void updateBinaryStream(java.lang.String columnName,
java.io.InputStream x,
int length)
throws java.sql.SQLException
updateBinaryStream 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic void updateBinaryStream(java.lang.String columnLabel,
java.io.InputStream inputStream,
long length)
throws java.sql.SQLException
updateBinaryStream 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic void updateBlob(int columnIndex,
java.sql.Blob x)
throws java.sql.SQLException
updateBlob 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic void updateBlob(int columnIndex,
java.io.InputStream inputStream)
throws java.sql.SQLException
updateBlob 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic void updateBlob(int columnIndex,
java.io.InputStream inputStream,
long length)
throws java.sql.SQLException
updateBlob 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic void updateBlob(java.lang.String columnName,
java.sql.Blob x)
throws java.sql.SQLException
updateBlob 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic void updateBlob(java.lang.String columnLabel,
java.io.InputStream inputStream)
throws java.sql.SQLException
updateBlob 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic void updateBlob(java.lang.String columnLabel,
java.io.InputStream inputStream,
long length)
throws java.sql.SQLException
updateBlob 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic void updateBoolean(int columnIndex,
boolean x)
throws java.sql.SQLException
updateBoolean 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic void updateBoolean(java.lang.String columnName,
boolean x)
throws java.sql.SQLException
updateBoolean 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic void updateByte(int columnIndex,
byte x)
throws java.sql.SQLException
updateByte 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic void updateByte(java.lang.String columnName,
byte x)
throws java.sql.SQLException
updateByte 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic void updateBytes(int columnIndex,
byte[] x)
throws java.sql.SQLException
updateBytes 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic void updateBytes(java.lang.String columnName,
byte[] x)
throws java.sql.SQLException
updateBytes 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic void updateCharacterStream(int columnIndex,
java.io.Reader reader)
throws java.sql.SQLException
updateCharacterStream 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic void updateCharacterStream(int columnIndex,
java.io.Reader x,
int length)
throws java.sql.SQLException
updateCharacterStream 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic void updateCharacterStream(int columnIndex,
java.io.Reader reader,
long length)
throws java.sql.SQLException
updateCharacterStream 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic void updateCharacterStream(java.lang.String columnLabel,
java.io.Reader reader)
throws java.sql.SQLException
updateCharacterStream 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic void updateCharacterStream(java.lang.String columnName,
java.io.Reader reader,
int length)
throws java.sql.SQLException
updateCharacterStream 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic void updateCharacterStream(java.lang.String columnLabel,
java.io.Reader reader,
long length)
throws java.sql.SQLException
updateCharacterStream 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic void updateClob(int columnIndex,
java.sql.Clob x)
throws java.sql.SQLException
updateClob 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic void updateClob(int columnIndex,
java.io.Reader reader)
throws java.sql.SQLException
updateClob 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic void updateClob(int columnIndex,
java.io.Reader reader,
long length)
throws java.sql.SQLException
updateClob 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic void updateClob(java.lang.String columnName,
java.sql.Clob x)
throws java.sql.SQLException
updateClob 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic void updateClob(java.lang.String columnLabel,
java.io.Reader reader)
throws java.sql.SQLException
updateClob 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic void updateClob(java.lang.String columnLabel,
java.io.Reader reader,
long length)
throws java.sql.SQLException
updateClob 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic void updateDate(int columnIndex,
java.sql.Date x)
throws java.sql.SQLException
updateDate 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic void updateDate(java.lang.String columnName,
java.sql.Date x)
throws java.sql.SQLException
updateDate 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic void updateDouble(int columnIndex,
double x)
throws java.sql.SQLException
updateDouble 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic void updateDouble(java.lang.String columnName,
double x)
throws java.sql.SQLException
updateDouble 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic void updateFloat(int columnIndex,
float x)
throws java.sql.SQLException
updateFloat 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic void updateFloat(java.lang.String columnName,
float x)
throws java.sql.SQLException
updateFloat 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic void updateInt(int columnIndex,
int x)
throws java.sql.SQLException
updateInt 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic void updateInt(java.lang.String columnName,
int x)
throws java.sql.SQLException
updateInt 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic void updateLong(int columnIndex,
long x)
throws java.sql.SQLException
updateLong 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic void updateLong(java.lang.String columnName,
long x)
throws java.sql.SQLException
updateLong 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic void updateNCharacterStream(int columnIndex,
java.io.Reader reader)
throws java.sql.SQLException
updateNCharacterStream 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic void updateNCharacterStream(int columnIndex,
java.io.Reader reader,
long length)
throws java.sql.SQLException
updateNCharacterStream 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic void updateNCharacterStream(java.lang.String columnLabel,
java.io.Reader reader)
throws java.sql.SQLException
updateNCharacterStream 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic void updateNCharacterStream(java.lang.String columnLabel,
java.io.Reader reader,
long length)
throws java.sql.SQLException
updateNCharacterStream 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic void updateNClob(int columnIndex,
java.sql.NClob value)
throws java.sql.SQLException
updateNClob 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic void updateNClob(int columnIndex,
java.io.Reader reader)
throws java.sql.SQLException
updateNClob 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic void updateNClob(int columnIndex,
java.io.Reader reader,
long length)
throws java.sql.SQLException
updateNClob 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic void updateNClob(java.lang.String columnLabel,
java.sql.NClob value)
throws java.sql.SQLException
updateNClob 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic void updateNClob(java.lang.String columnLabel,
java.io.Reader reader)
throws java.sql.SQLException
updateNClob 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic void updateNClob(java.lang.String columnLabel,
java.io.Reader reader,
long length)
throws java.sql.SQLException
updateNClob 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic void updateNString(int columnIndex,
java.lang.String value)
throws java.sql.SQLException
updateNString 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic void updateNString(java.lang.String columnLabel,
java.lang.String value)
throws java.sql.SQLException
updateNString 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic void updateNull(int columnIndex)
throws java.sql.SQLException
updateNull 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic void updateNull(java.lang.String columnName)
throws java.sql.SQLException
updateNull 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic void updateObject(int columnIndex,
java.lang.Object x)
throws java.sql.SQLException
updateObject 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic void updateObject(int columnIndex,
java.lang.Object x,
int scale)
throws java.sql.SQLException
updateObject 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic void updateObject(int columnIndex,
java.lang.Object x,
java.sql.SQLType targetSqlType)
throws java.sql.SQLException
updateObject 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic void updateObject(int columnIndex,
java.lang.Object x,
java.sql.SQLType targetSqlType,
int scaleOrLength)
throws java.sql.SQLException
updateObject 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic void updateObject(java.lang.String columnName,
java.lang.Object x)
throws java.sql.SQLException
updateObject 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic void updateObject(java.lang.String columnName,
java.lang.Object x,
int scale)
throws java.sql.SQLException
updateObject 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic void updateObject(java.lang.String columnLabel,
java.lang.Object x,
java.sql.SQLType targetSqlType)
throws java.sql.SQLException
updateObject 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic void updateObject(java.lang.String columnLabel,
java.lang.Object x,
java.sql.SQLType targetSqlType,
int scaleOrLength)
throws java.sql.SQLException
updateObject 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic void updateRef(int columnIndex,
java.sql.Ref x)
throws java.sql.SQLException
updateRef 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic void updateRef(java.lang.String columnName,
java.sql.Ref x)
throws java.sql.SQLException
updateRef 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic void updateRow()
throws java.sql.SQLException
updateRow 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic void updateRowId(int columnIndex,
java.sql.RowId value)
throws java.sql.SQLException
updateRowId 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic void updateRowId(java.lang.String columnLabel,
java.sql.RowId value)
throws java.sql.SQLException
updateRowId 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic void updateShort(int columnIndex,
short x)
throws java.sql.SQLException
updateShort 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic void updateShort(java.lang.String columnName,
short x)
throws java.sql.SQLException
updateShort 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic void updateSQLXML(int columnIndex,
java.sql.SQLXML value)
throws java.sql.SQLException
updateSQLXML 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic void updateSQLXML(java.lang.String columnLabel,
java.sql.SQLXML value)
throws java.sql.SQLException
updateSQLXML 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic void updateString(int columnIndex,
java.lang.String x)
throws java.sql.SQLException
updateString 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic void updateString(java.lang.String columnName,
java.lang.String x)
throws java.sql.SQLException
updateString 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic void updateTime(int columnIndex,
java.sql.Time x)
throws java.sql.SQLException
updateTime 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic void updateTime(java.lang.String columnName,
java.sql.Time x)
throws java.sql.SQLException
updateTime 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic void updateTimestamp(int columnIndex,
java.sql.Timestamp x)
throws java.sql.SQLException
updateTimestamp 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic void updateTimestamp(java.lang.String columnName,
java.sql.Timestamp x)
throws java.sql.SQLException
updateTimestamp 在接口中 java.sql.ResultSetjava.sql.SQLExceptionpublic boolean wasNull()
throws java.sql.SQLException
wasNull 在接口中 java.sql.ResultSetjava.sql.SQLException