public class ResultSetAdapter extends Object implements ResultSet
CLOSE_CURSORS_AT_COMMIT, CONCUR_READ_ONLY, CONCUR_UPDATABLE, FETCH_FORWARD, FETCH_REVERSE, FETCH_UNKNOWN, HOLD_CURSORS_OVER_COMMIT, TYPE_FORWARD_ONLY, TYPE_SCROLL_INSENSITIVE, TYPE_SCROLL_SENSITIVE| Constructor and Description |
|---|
ResultSetAdapter() |
public boolean next()
throws SQLException
next in interface ResultSetSQLExceptionpublic void close()
throws SQLException
close in interface AutoCloseableclose in interface ResultSetSQLExceptionpublic boolean wasNull()
throws SQLException
wasNull in interface ResultSetSQLExceptionpublic String getString(int i) throws SQLException
getString in interface ResultSetSQLExceptionpublic boolean getBoolean(int i)
throws SQLException
getBoolean in interface ResultSetSQLExceptionpublic byte getByte(int i)
throws SQLException
getByte in interface ResultSetSQLExceptionpublic short getShort(int i)
throws SQLException
getShort in interface ResultSetSQLExceptionpublic int getInt(int i)
throws SQLException
getInt in interface ResultSetSQLExceptionpublic long getLong(int i)
throws SQLException
getLong in interface ResultSetSQLExceptionpublic float getFloat(int i)
throws SQLException
getFloat in interface ResultSetSQLExceptionpublic double getDouble(int i)
throws SQLException
getDouble in interface ResultSetSQLExceptionpublic BigDecimal getBigDecimal(int i, int i1) throws SQLException
getBigDecimal in interface ResultSetSQLExceptionpublic byte[] getBytes(int i)
throws SQLException
getBytes in interface ResultSetSQLExceptionpublic Date getDate(int i) throws SQLException
getDate in interface ResultSetSQLExceptionpublic Time getTime(int i) throws SQLException
getTime in interface ResultSetSQLExceptionpublic Timestamp getTimestamp(int i) throws SQLException
getTimestamp in interface ResultSetSQLExceptionpublic InputStream getAsciiStream(int i) throws SQLException
getAsciiStream in interface ResultSetSQLExceptionpublic InputStream getUnicodeStream(int i) throws SQLException
getUnicodeStream in interface ResultSetSQLExceptionpublic InputStream getBinaryStream(int i) throws SQLException
getBinaryStream in interface ResultSetSQLExceptionpublic String getString(String string) throws SQLException
getString in interface ResultSetSQLExceptionpublic boolean getBoolean(String string) throws SQLException
getBoolean in interface ResultSetSQLExceptionpublic byte getByte(String string) throws SQLException
getByte in interface ResultSetSQLExceptionpublic short getShort(String string) throws SQLException
getShort in interface ResultSetSQLExceptionpublic int getInt(String string) throws SQLException
getInt in interface ResultSetSQLExceptionpublic long getLong(String string) throws SQLException
getLong in interface ResultSetSQLExceptionpublic float getFloat(String string) throws SQLException
getFloat in interface ResultSetSQLExceptionpublic double getDouble(String string) throws SQLException
getDouble in interface ResultSetSQLExceptionpublic BigDecimal getBigDecimal(String string, int i) throws SQLException
getBigDecimal in interface ResultSetSQLExceptionpublic byte[] getBytes(String string) throws SQLException
getBytes in interface ResultSetSQLExceptionpublic Date getDate(String string) throws SQLException
getDate in interface ResultSetSQLExceptionpublic Time getTime(String string) throws SQLException
getTime in interface ResultSetSQLExceptionpublic Timestamp getTimestamp(String string) throws SQLException
getTimestamp in interface ResultSetSQLExceptionpublic InputStream getAsciiStream(String string) throws SQLException
getAsciiStream in interface ResultSetSQLExceptionpublic InputStream getUnicodeStream(String string) throws SQLException
getUnicodeStream in interface ResultSetSQLExceptionpublic InputStream getBinaryStream(String string) throws SQLException
getBinaryStream in interface ResultSetSQLExceptionpublic SQLWarning getWarnings() throws SQLException
getWarnings in interface ResultSetSQLExceptionpublic void clearWarnings()
throws SQLException
clearWarnings in interface ResultSetSQLExceptionpublic String getCursorName() throws SQLException
getCursorName in interface ResultSetSQLExceptionpublic ResultSetMetaData getMetaData() throws SQLException
getMetaData in interface ResultSetSQLExceptionpublic Object getObject(int i) throws SQLException
getObject in interface ResultSetSQLExceptionpublic Object getObject(String string) throws SQLException
getObject in interface ResultSetSQLExceptionpublic int findColumn(String string) throws SQLException
findColumn in interface ResultSetSQLExceptionpublic Reader getCharacterStream(int i) throws SQLException
getCharacterStream in interface ResultSetSQLExceptionpublic Reader getCharacterStream(String string) throws SQLException
getCharacterStream in interface ResultSetSQLExceptionpublic BigDecimal getBigDecimal(int i) throws SQLException
getBigDecimal in interface ResultSetSQLExceptionpublic BigDecimal getBigDecimal(String string) throws SQLException
getBigDecimal in interface ResultSetSQLExceptionpublic boolean isBeforeFirst()
throws SQLException
isBeforeFirst in interface ResultSetSQLExceptionpublic boolean isAfterLast()
throws SQLException
isAfterLast in interface ResultSetSQLExceptionpublic boolean isFirst()
throws SQLException
isFirst in interface ResultSetSQLExceptionpublic boolean isLast()
throws SQLException
isLast in interface ResultSetSQLExceptionpublic void beforeFirst()
throws SQLException
beforeFirst in interface ResultSetSQLExceptionpublic void afterLast()
throws SQLException
afterLast in interface ResultSetSQLExceptionpublic boolean first()
throws SQLException
first in interface ResultSetSQLExceptionpublic boolean last()
throws SQLException
last in interface ResultSetSQLExceptionpublic int getRow()
throws SQLException
getRow in interface ResultSetSQLExceptionpublic boolean absolute(int i)
throws SQLException
absolute in interface ResultSetSQLExceptionpublic boolean relative(int i)
throws SQLException
relative in interface ResultSetSQLExceptionpublic boolean previous()
throws SQLException
previous in interface ResultSetSQLExceptionpublic void setFetchDirection(int i)
throws SQLException
setFetchDirection in interface ResultSetSQLExceptionpublic int getFetchDirection()
throws SQLException
getFetchDirection in interface ResultSetSQLExceptionpublic void setFetchSize(int i)
throws SQLException
setFetchSize in interface ResultSetSQLExceptionpublic int getFetchSize()
throws SQLException
getFetchSize in interface ResultSetSQLExceptionpublic int getType()
throws SQLException
getType in interface ResultSetSQLExceptionpublic int getConcurrency()
throws SQLException
getConcurrency in interface ResultSetSQLExceptionpublic boolean rowUpdated()
throws SQLException
rowUpdated in interface ResultSetSQLExceptionpublic boolean rowInserted()
throws SQLException
rowInserted in interface ResultSetSQLExceptionpublic boolean rowDeleted()
throws SQLException
rowDeleted in interface ResultSetSQLExceptionpublic void updateNull(int i)
throws SQLException
updateNull in interface ResultSetSQLExceptionpublic void updateBoolean(int i,
boolean bln)
throws SQLException
updateBoolean in interface ResultSetSQLExceptionpublic void updateByte(int i,
byte b)
throws SQLException
updateByte in interface ResultSetSQLExceptionpublic void updateShort(int i,
short s)
throws SQLException
updateShort in interface ResultSetSQLExceptionpublic void updateInt(int i,
int i1)
throws SQLException
updateInt in interface ResultSetSQLExceptionpublic void updateLong(int i,
long l)
throws SQLException
updateLong in interface ResultSetSQLExceptionpublic void updateFloat(int i,
float f)
throws SQLException
updateFloat in interface ResultSetSQLExceptionpublic void updateDouble(int i,
double d)
throws SQLException
updateDouble in interface ResultSetSQLExceptionpublic void updateBigDecimal(int i,
BigDecimal bd)
throws SQLException
updateBigDecimal in interface ResultSetSQLExceptionpublic void updateString(int i,
String string)
throws SQLException
updateString in interface ResultSetSQLExceptionpublic void updateBytes(int i,
byte[] bytes)
throws SQLException
updateBytes in interface ResultSetSQLExceptionpublic void updateDate(int i,
Date date)
throws SQLException
updateDate in interface ResultSetSQLExceptionpublic void updateTime(int i,
Time time)
throws SQLException
updateTime in interface ResultSetSQLExceptionpublic void updateTimestamp(int i,
Timestamp tmstmp)
throws SQLException
updateTimestamp in interface ResultSetSQLExceptionpublic void updateAsciiStream(int i,
InputStream in,
int i1)
throws SQLException
updateAsciiStream in interface ResultSetSQLExceptionpublic void updateBinaryStream(int i,
InputStream in,
int i1)
throws SQLException
updateBinaryStream in interface ResultSetSQLExceptionpublic void updateCharacterStream(int i,
Reader reader,
int i1)
throws SQLException
updateCharacterStream in interface ResultSetSQLExceptionpublic void updateObject(int i,
Object o,
int i1)
throws SQLException
updateObject in interface ResultSetSQLExceptionpublic void updateObject(int i,
Object o)
throws SQLException
updateObject in interface ResultSetSQLExceptionpublic void updateNull(String string) throws SQLException
updateNull in interface ResultSetSQLExceptionpublic void updateBoolean(String string, boolean bln) throws SQLException
updateBoolean in interface ResultSetSQLExceptionpublic void updateByte(String string, byte b) throws SQLException
updateByte in interface ResultSetSQLExceptionpublic void updateShort(String string, short s) throws SQLException
updateShort in interface ResultSetSQLExceptionpublic void updateInt(String string, int i) throws SQLException
updateInt in interface ResultSetSQLExceptionpublic void updateLong(String string, long l) throws SQLException
updateLong in interface ResultSetSQLExceptionpublic void updateFloat(String string, float f) throws SQLException
updateFloat in interface ResultSetSQLExceptionpublic void updateDouble(String string, double d) throws SQLException
updateDouble in interface ResultSetSQLExceptionpublic void updateBigDecimal(String string, BigDecimal bd) throws SQLException
updateBigDecimal in interface ResultSetSQLExceptionpublic void updateString(String string, String string1) throws SQLException
updateString in interface ResultSetSQLExceptionpublic void updateBytes(String string, byte[] bytes) throws SQLException
updateBytes in interface ResultSetSQLExceptionpublic void updateDate(String string, Date date) throws SQLException
updateDate in interface ResultSetSQLExceptionpublic void updateTime(String string, Time time) throws SQLException
updateTime in interface ResultSetSQLExceptionpublic void updateTimestamp(String string, Timestamp tmstmp) throws SQLException
updateTimestamp in interface ResultSetSQLExceptionpublic void updateAsciiStream(String string, InputStream in, int i) throws SQLException
updateAsciiStream in interface ResultSetSQLExceptionpublic void updateBinaryStream(String string, InputStream in, int i) throws SQLException
updateBinaryStream in interface ResultSetSQLExceptionpublic void updateCharacterStream(String string, Reader reader, int i) throws SQLException
updateCharacterStream in interface ResultSetSQLExceptionpublic void updateObject(String string, Object o, int i) throws SQLException
updateObject in interface ResultSetSQLExceptionpublic void updateObject(String string, Object o) throws SQLException
updateObject in interface ResultSetSQLExceptionpublic void insertRow()
throws SQLException
insertRow in interface ResultSetSQLExceptionpublic void updateRow()
throws SQLException
updateRow in interface ResultSetSQLExceptionpublic void deleteRow()
throws SQLException
deleteRow in interface ResultSetSQLExceptionpublic void refreshRow()
throws SQLException
refreshRow in interface ResultSetSQLExceptionpublic void cancelRowUpdates()
throws SQLException
cancelRowUpdates in interface ResultSetSQLExceptionpublic void moveToInsertRow()
throws SQLException
moveToInsertRow in interface ResultSetSQLExceptionpublic void moveToCurrentRow()
throws SQLException
moveToCurrentRow in interface ResultSetSQLExceptionpublic Statement getStatement() throws SQLException
getStatement in interface ResultSetSQLExceptionpublic Object getObject(int i, Map<String,Class<?>> map) throws SQLException
getObject in interface ResultSetSQLExceptionpublic Ref getRef(int i) throws SQLException
getRef in interface ResultSetSQLExceptionpublic Blob getBlob(int i) throws SQLException
getBlob in interface ResultSetSQLExceptionpublic Clob getClob(int i) throws SQLException
getClob in interface ResultSetSQLExceptionpublic Array getArray(int i) throws SQLException
getArray in interface ResultSetSQLExceptionpublic Object getObject(String string, Map<String,Class<?>> map) throws SQLException
getObject in interface ResultSetSQLExceptionpublic Ref getRef(String string) throws SQLException
getRef in interface ResultSetSQLExceptionpublic Blob getBlob(String string) throws SQLException
getBlob in interface ResultSetSQLExceptionpublic Clob getClob(String string) throws SQLException
getClob in interface ResultSetSQLExceptionpublic Array getArray(String string) throws SQLException
getArray in interface ResultSetSQLExceptionpublic Date getDate(int i, Calendar clndr) throws SQLException
getDate in interface ResultSetSQLExceptionpublic Date getDate(String string, Calendar clndr) throws SQLException
getDate in interface ResultSetSQLExceptionpublic Time getTime(int i, Calendar clndr) throws SQLException
getTime in interface ResultSetSQLExceptionpublic Time getTime(String string, Calendar clndr) throws SQLException
getTime in interface ResultSetSQLExceptionpublic Timestamp getTimestamp(int i, Calendar clndr) throws SQLException
getTimestamp in interface ResultSetSQLExceptionpublic Timestamp getTimestamp(String string, Calendar clndr) throws SQLException
getTimestamp in interface ResultSetSQLExceptionpublic URL getURL(int i) throws SQLException
getURL in interface ResultSetSQLExceptionpublic URL getURL(String string) throws SQLException
getURL in interface ResultSetSQLExceptionpublic void updateRef(int i,
Ref ref)
throws SQLException
updateRef in interface ResultSetSQLExceptionpublic void updateRef(String string, Ref ref) throws SQLException
updateRef in interface ResultSetSQLExceptionpublic void updateBlob(int i,
Blob blob)
throws SQLException
updateBlob in interface ResultSetSQLExceptionpublic void updateBlob(String string, Blob blob) throws SQLException
updateBlob in interface ResultSetSQLExceptionpublic void updateClob(int i,
Clob clob)
throws SQLException
updateClob in interface ResultSetSQLExceptionpublic void updateClob(String string, Clob clob) throws SQLException
updateClob in interface ResultSetSQLExceptionpublic void updateArray(int i,
Array array)
throws SQLException
updateArray in interface ResultSetSQLExceptionpublic void updateArray(String string, Array array) throws SQLException
updateArray in interface ResultSetSQLExceptionpublic RowId getRowId(int i) throws SQLException
getRowId in interface ResultSetSQLExceptionpublic RowId getRowId(String string) throws SQLException
getRowId in interface ResultSetSQLExceptionpublic void updateRowId(int i,
RowId rowid)
throws SQLException
updateRowId in interface ResultSetSQLExceptionpublic void updateRowId(String string, RowId rowid) throws SQLException
updateRowId in interface ResultSetSQLExceptionpublic int getHoldability()
throws SQLException
getHoldability in interface ResultSetSQLExceptionpublic boolean isClosed()
throws SQLException
isClosed in interface ResultSetSQLExceptionpublic void updateNString(int i,
String string)
throws SQLException
updateNString in interface ResultSetSQLExceptionpublic void updateNString(String string, String string1) throws SQLException
updateNString in interface ResultSetSQLExceptionpublic void updateNClob(int i,
NClob nclob)
throws SQLException
updateNClob in interface ResultSetSQLExceptionpublic void updateNClob(String string, NClob nclob) throws SQLException
updateNClob in interface ResultSetSQLExceptionpublic NClob getNClob(int i) throws SQLException
getNClob in interface ResultSetSQLExceptionpublic NClob getNClob(String string) throws SQLException
getNClob in interface ResultSetSQLExceptionpublic SQLXML getSQLXML(int i) throws SQLException
getSQLXML in interface ResultSetSQLExceptionpublic SQLXML getSQLXML(String string) throws SQLException
getSQLXML in interface ResultSetSQLExceptionpublic void updateSQLXML(int i,
SQLXML sqlxml)
throws SQLException
updateSQLXML in interface ResultSetSQLExceptionpublic void updateSQLXML(String string, SQLXML sqlxml) throws SQLException
updateSQLXML in interface ResultSetSQLExceptionpublic String getNString(int i) throws SQLException
getNString in interface ResultSetSQLExceptionpublic String getNString(String string) throws SQLException
getNString in interface ResultSetSQLExceptionpublic Reader getNCharacterStream(int i) throws SQLException
getNCharacterStream in interface ResultSetSQLExceptionpublic Reader getNCharacterStream(String string) throws SQLException
getNCharacterStream in interface ResultSetSQLExceptionpublic void updateNCharacterStream(int i,
Reader reader,
long l)
throws SQLException
updateNCharacterStream in interface ResultSetSQLExceptionpublic void updateNCharacterStream(String string, Reader reader, long l) throws SQLException
updateNCharacterStream in interface ResultSetSQLExceptionpublic void updateAsciiStream(int i,
InputStream in,
long l)
throws SQLException
updateAsciiStream in interface ResultSetSQLExceptionpublic void updateBinaryStream(int i,
InputStream in,
long l)
throws SQLException
updateBinaryStream in interface ResultSetSQLExceptionpublic void updateCharacterStream(int i,
Reader reader,
long l)
throws SQLException
updateCharacterStream in interface ResultSetSQLExceptionpublic void updateAsciiStream(String string, InputStream in, long l) throws SQLException
updateAsciiStream in interface ResultSetSQLExceptionpublic void updateBinaryStream(String string, InputStream in, long l) throws SQLException
updateBinaryStream in interface ResultSetSQLExceptionpublic void updateCharacterStream(String string, Reader reader, long l) throws SQLException
updateCharacterStream in interface ResultSetSQLExceptionpublic void updateBlob(int i,
InputStream in,
long l)
throws SQLException
updateBlob in interface ResultSetSQLExceptionpublic void updateBlob(String string, InputStream in, long l) throws SQLException
updateBlob in interface ResultSetSQLExceptionpublic void updateClob(int i,
Reader reader,
long l)
throws SQLException
updateClob in interface ResultSetSQLExceptionpublic void updateClob(String string, Reader reader, long l) throws SQLException
updateClob in interface ResultSetSQLExceptionpublic void updateNClob(int i,
Reader reader,
long l)
throws SQLException
updateNClob in interface ResultSetSQLExceptionpublic void updateNClob(String string, Reader reader, long l) throws SQLException
updateNClob in interface ResultSetSQLExceptionpublic void updateNCharacterStream(int i,
Reader reader)
throws SQLException
updateNCharacterStream in interface ResultSetSQLExceptionpublic void updateNCharacterStream(String string, Reader reader) throws SQLException
updateNCharacterStream in interface ResultSetSQLExceptionpublic void updateAsciiStream(int i,
InputStream in)
throws SQLException
updateAsciiStream in interface ResultSetSQLExceptionpublic void updateBinaryStream(int i,
InputStream in)
throws SQLException
updateBinaryStream in interface ResultSetSQLExceptionpublic void updateCharacterStream(int i,
Reader reader)
throws SQLException
updateCharacterStream in interface ResultSetSQLExceptionpublic void updateAsciiStream(String string, InputStream in) throws SQLException
updateAsciiStream in interface ResultSetSQLExceptionpublic void updateBinaryStream(String string, InputStream in) throws SQLException
updateBinaryStream in interface ResultSetSQLExceptionpublic void updateCharacterStream(String string, Reader reader) throws SQLException
updateCharacterStream in interface ResultSetSQLExceptionpublic void updateBlob(int i,
InputStream in)
throws SQLException
updateBlob in interface ResultSetSQLExceptionpublic void updateBlob(String string, InputStream in) throws SQLException
updateBlob in interface ResultSetSQLExceptionpublic void updateClob(int i,
Reader reader)
throws SQLException
updateClob in interface ResultSetSQLExceptionpublic void updateClob(String string, Reader reader) throws SQLException
updateClob in interface ResultSetSQLExceptionpublic void updateNClob(int i,
Reader reader)
throws SQLException
updateNClob in interface ResultSetSQLExceptionpublic void updateNClob(String string, Reader reader) throws SQLException
updateNClob in interface ResultSetSQLExceptionpublic <T> T getObject(int i,
Class<T> type)
throws SQLException
getObject in interface ResultSetSQLExceptionpublic <T> T getObject(String string, Class<T> type) throws SQLException
getObject in interface ResultSetSQLExceptionpublic void updateObject(int i,
Object o,
SQLType sqlt,
int i1)
throws SQLException
updateObject in interface ResultSetSQLExceptionpublic void updateObject(String string, Object o, SQLType sqlt, int i) throws SQLException
updateObject in interface ResultSetSQLExceptionpublic void updateObject(int i,
Object o,
SQLType sqlt)
throws SQLException
updateObject in interface ResultSetSQLExceptionpublic void updateObject(String string, Object o, SQLType sqlt) throws SQLException
updateObject in interface ResultSetSQLExceptionpublic <T> T unwrap(Class<T> type) throws SQLException
unwrap in interface WrapperSQLExceptionpublic boolean isWrapperFor(Class<?> type) throws SQLException
isWrapperFor in interface WrapperSQLExceptionCopyright © 2019. All rights reserved.