public class LensJdbcResultSet 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 |
|---|
LensJdbcResultSet(QueryResult result,
QueryResultSetMetadata metadata,
LensJdbcStatement statement)
Instantiates a new lens jdbc result set.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitupdateObject, updateObject, updateObject, updateObjectpublic LensJdbcResultSet(QueryResult result, QueryResultSetMetadata metadata, LensJdbcStatement statement)
result - the resultmetadata - the metadatastatement - the statementpublic 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 String getString(String colName) throws SQLException
getString in interface ResultSetSQLExceptionpublic boolean getBoolean(int i)
throws SQLException
getBoolean in interface ResultSetSQLExceptionpublic boolean getBoolean(String colName) throws SQLException
getBoolean in interface ResultSetSQLExceptionpublic byte getByte(int i)
throws SQLException
getByte in interface ResultSetSQLExceptionpublic byte getByte(String colName) throws SQLException
getByte in interface ResultSetSQLExceptionpublic short getShort(int i)
throws SQLException
getShort in interface ResultSetSQLExceptionpublic short getShort(String colName) throws SQLException
getShort in interface ResultSetSQLExceptionpublic int getInt(int i)
throws SQLException
getInt in interface ResultSetSQLExceptionpublic int getInt(String colName) throws SQLException
getInt in interface ResultSetSQLExceptionpublic long getLong(int i)
throws SQLException
getLong in interface ResultSetSQLExceptionpublic long getLong(String colName) throws SQLException
getLong in interface ResultSetSQLExceptionpublic float getFloat(int i)
throws SQLException
getFloat in interface ResultSetSQLExceptionpublic float getFloat(String colName) throws SQLException
getFloat in interface ResultSetSQLExceptionpublic double getDouble(int i)
throws SQLException
getDouble in interface ResultSetSQLExceptionpublic double getDouble(String colName) throws SQLException
getDouble in interface ResultSetSQLExceptionpublic byte[] getBytes(int i)
throws SQLException
getBytes in interface ResultSetSQLExceptionpublic byte[] getBytes(String s) throws SQLException
getBytes in interface ResultSetSQLExceptionpublic Date getDate(int i) throws SQLException
getDate in interface ResultSetSQLExceptionpublic Date getDate(String colName) throws SQLException
getDate in interface ResultSetSQLExceptionpublic Timestamp getTimestamp(int i) throws SQLException
getTimestamp in interface ResultSetSQLExceptionpublic Timestamp getTimestamp(String colName) throws SQLException
getTimestamp in interface ResultSetSQLExceptionpublic ResultSetMetaData getMetaData() throws SQLException
getMetaData in interface ResultSetSQLExceptionpublic Object getObject(int index) throws SQLException
getObject in interface ResultSetSQLExceptionpublic Object getObject(String colName) throws SQLException
getObject in interface ResultSetSQLExceptionpublic int findColumn(String colName) throws SQLException
findColumn in interface ResultSetSQLExceptionpublic SQLWarning getWarnings() throws SQLException
getWarnings in interface ResultSetSQLExceptionpublic void clearWarnings()
throws SQLException
clearWarnings in interface ResultSetSQLExceptionpublic int getFetchDirection()
throws SQLException
getFetchDirection in interface ResultSetSQLExceptionpublic int getType()
throws SQLException
getType in interface ResultSetSQLExceptionpublic int getConcurrency()
throws SQLException
getConcurrency in interface ResultSetSQLExceptionpublic Statement getStatement() throws SQLException
getStatement in interface ResultSetSQLExceptionpublic boolean isClosed()
throws SQLException
isClosed in interface ResultSetSQLExceptionpublic Time getTime(int i) throws SQLException
getTime in interface ResultSetSQLExceptionpublic Time getTime(String s) throws SQLException
getTime 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 BigDecimal getBigDecimal(int i, int scale) throws SQLException
getBigDecimal in interface ResultSetSQLExceptionpublic BigDecimal getBigDecimal(String s, int i) throws SQLException
getBigDecimal in interface ResultSetSQLExceptionpublic BigDecimal getBigDecimal(String s) throws SQLException
getBigDecimal in interface ResultSetSQLExceptionpublic BigDecimal getBigDecimal(int i) throws SQLException
getBigDecimal in interface ResultSetSQLExceptionpublic InputStream getAsciiStream(String s) throws SQLException
getAsciiStream in interface ResultSetSQLExceptionpublic InputStream getUnicodeStream(String s) throws SQLException
getUnicodeStream in interface ResultSetSQLExceptionpublic InputStream getBinaryStream(String s) throws SQLException
getBinaryStream in interface ResultSetSQLExceptionpublic String getCursorName() throws SQLException
getCursorName in interface ResultSetSQLExceptionpublic Reader getCharacterStream(int i) throws SQLException
getCharacterStream in interface ResultSetSQLExceptionpublic Reader getCharacterStream(String s) throws SQLException
getCharacterStream 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 getFetchSize()
throws SQLException
getFetchSize in interface ResultSetSQLExceptionpublic void setFetchSize(int i)
throws SQLException
setFetchSize 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 b)
throws SQLException
updateBoolean in interface ResultSetSQLExceptionpublic void updateByte(int i,
byte b)
throws SQLException
updateByte in interface ResultSetSQLExceptionpublic void updateShort(int i,
short i2)
throws SQLException
updateShort in interface ResultSetSQLExceptionpublic void updateInt(int i,
int i2)
throws SQLException
updateInt in interface ResultSetSQLExceptionpublic void updateLong(int i,
long l)
throws SQLException
updateLong in interface ResultSetSQLExceptionpublic void updateFloat(int i,
float v)
throws SQLException
updateFloat in interface ResultSetSQLExceptionpublic void updateDouble(int i,
double v)
throws SQLException
updateDouble in interface ResultSetSQLExceptionpublic void updateBigDecimal(int i,
BigDecimal bigDecimal)
throws SQLException
updateBigDecimal in interface ResultSetSQLExceptionpublic void updateString(int i,
String s)
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 timestamp)
throws SQLException
updateTimestamp in interface ResultSetSQLExceptionpublic void updateAsciiStream(int i,
InputStream inputStream,
int i2)
throws SQLException
updateAsciiStream in interface ResultSetSQLExceptionpublic void updateBinaryStream(int i,
InputStream inputStream,
int i2)
throws SQLException
updateBinaryStream in interface ResultSetSQLExceptionpublic void updateCharacterStream(int i,
Reader reader,
int i2)
throws SQLException
updateCharacterStream in interface ResultSetSQLExceptionpublic void updateObject(int i,
Object o,
int i2)
throws SQLException
updateObject in interface ResultSetSQLExceptionpublic void updateObject(int i,
Object o)
throws SQLException
updateObject in interface ResultSetSQLExceptionpublic void updateNull(String s) throws SQLException
updateNull in interface ResultSetSQLExceptionpublic void updateBoolean(String s, boolean b) throws SQLException
updateBoolean in interface ResultSetSQLExceptionpublic void updateByte(String s, byte b) throws SQLException
updateByte in interface ResultSetSQLExceptionpublic void updateShort(String s, short i) throws SQLException
updateShort in interface ResultSetSQLExceptionpublic void updateInt(String s, int i) throws SQLException
updateInt in interface ResultSetSQLExceptionpublic void updateLong(String s, long l) throws SQLException
updateLong in interface ResultSetSQLExceptionpublic void updateFloat(String s, float v) throws SQLException
updateFloat in interface ResultSetSQLExceptionpublic void updateDouble(String s, double v) throws SQLException
updateDouble in interface ResultSetSQLExceptionpublic void updateBigDecimal(String s, BigDecimal bigDecimal) throws SQLException
updateBigDecimal in interface ResultSetSQLExceptionpublic void updateString(String s, String s2) throws SQLException
updateString in interface ResultSetSQLExceptionpublic void updateBytes(String s, byte[] bytes) throws SQLException
updateBytes in interface ResultSetSQLExceptionpublic void updateDate(String s, Date date) throws SQLException
updateDate in interface ResultSetSQLExceptionpublic void updateTime(String s, Time time) throws SQLException
updateTime in interface ResultSetSQLExceptionpublic void updateTimestamp(String s, Timestamp timestamp) throws SQLException
updateTimestamp in interface ResultSetSQLExceptionpublic void updateAsciiStream(String s, InputStream inputStream, int i) throws SQLException
updateAsciiStream in interface ResultSetSQLExceptionpublic void updateBinaryStream(String s, InputStream inputStream, int i) throws SQLException
updateBinaryStream in interface ResultSetSQLExceptionpublic void updateCharacterStream(String s, Reader reader, int i) throws SQLException
updateCharacterStream in interface ResultSetSQLExceptionpublic void updateObject(String s, Object o, int i) throws SQLException
updateObject in interface ResultSetSQLExceptionpublic void updateObject(String s, 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 Object getObject(int i, Map<String,Class<?>> stringClassMap) 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 s, Map<String,Class<?>> stringClassMap) throws SQLException
getObject in interface ResultSetSQLExceptionpublic Ref getRef(String s) throws SQLException
getRef in interface ResultSetSQLExceptionpublic Blob getBlob(String s) throws SQLException
getBlob in interface ResultSetSQLExceptionpublic Clob getClob(String s) throws SQLException
getClob in interface ResultSetSQLExceptionpublic Array getArray(String s) throws SQLException
getArray in interface ResultSetSQLExceptionpublic Date getDate(int i, Calendar calendar) throws SQLException
getDate in interface ResultSetSQLExceptionpublic Date getDate(String s, Calendar calendar) throws SQLException
getDate in interface ResultSetSQLExceptionpublic Time getTime(int i, Calendar calendar) throws SQLException
getTime in interface ResultSetSQLExceptionpublic Time getTime(String s, Calendar calendar) throws SQLException
getTime in interface ResultSetSQLExceptionpublic Timestamp getTimestamp(int i, Calendar calendar) throws SQLException
getTimestamp in interface ResultSetSQLExceptionpublic Timestamp getTimestamp(String s, Calendar calendar) throws SQLException
getTimestamp in interface ResultSetSQLExceptionpublic URL getURL(int i) throws SQLException
getURL in interface ResultSetSQLExceptionpublic URL getURL(String s) throws SQLException
getURL in interface ResultSetSQLExceptionpublic void updateRef(int i,
Ref ref)
throws SQLException
updateRef in interface ResultSetSQLExceptionpublic void updateRef(String s, Ref ref) throws SQLException
updateRef in interface ResultSetSQLExceptionpublic void updateBlob(int i,
Blob blob)
throws SQLException
updateBlob in interface ResultSetSQLExceptionpublic void updateBlob(String s, Blob blob) throws SQLException
updateBlob in interface ResultSetSQLExceptionpublic void updateClob(int i,
Clob clob)
throws SQLException
updateClob in interface ResultSetSQLExceptionpublic void updateClob(String s, Clob clob) throws SQLException
updateClob in interface ResultSetSQLExceptionpublic void updateArray(int i,
Array array)
throws SQLException
updateArray in interface ResultSetSQLExceptionpublic void updateArray(String s, Array array) throws SQLException
updateArray in interface ResultSetSQLExceptionpublic RowId getRowId(int i) throws SQLException
getRowId in interface ResultSetSQLExceptionpublic RowId getRowId(String s) throws SQLException
getRowId in interface ResultSetSQLExceptionpublic void updateRowId(int i,
RowId rowId)
throws SQLException
updateRowId in interface ResultSetSQLExceptionpublic void updateRowId(String s, RowId rowId) throws SQLException
updateRowId in interface ResultSetSQLExceptionpublic int getHoldability()
throws SQLException
getHoldability in interface ResultSetSQLExceptionpublic void updateNString(int i,
String s)
throws SQLException
updateNString in interface ResultSetSQLExceptionpublic void updateNString(String s, String s2) throws SQLException
updateNString in interface ResultSetSQLExceptionpublic void updateNClob(int i,
NClob nClob)
throws SQLException
updateNClob in interface ResultSetSQLExceptionpublic void updateNClob(String s, NClob nClob) throws SQLException
updateNClob in interface ResultSetSQLExceptionpublic NClob getNClob(int i) throws SQLException
getNClob in interface ResultSetSQLExceptionpublic NClob getNClob(String s) throws SQLException
getNClob in interface ResultSetSQLExceptionpublic SQLXML getSQLXML(int i) throws SQLException
getSQLXML in interface ResultSetSQLExceptionpublic SQLXML getSQLXML(String s) throws SQLException
getSQLXML in interface ResultSetSQLExceptionpublic void updateSQLXML(int i,
SQLXML sqlxml)
throws SQLException
updateSQLXML in interface ResultSetSQLExceptionpublic void updateSQLXML(String s, SQLXML sqlxml) throws SQLException
updateSQLXML in interface ResultSetSQLExceptionpublic String getNString(int i) throws SQLException
getNString in interface ResultSetSQLExceptionpublic String getNString(String s) throws SQLException
getNString in interface ResultSetSQLExceptionpublic Reader getNCharacterStream(int i) throws SQLException
getNCharacterStream in interface ResultSetSQLExceptionpublic Reader getNCharacterStream(String s) throws SQLException
getNCharacterStream in interface ResultSetSQLExceptionpublic void updateNCharacterStream(int i,
Reader reader,
long l)
throws SQLException
updateNCharacterStream in interface ResultSetSQLExceptionpublic void updateNCharacterStream(String s, Reader reader, long l) throws SQLException
updateNCharacterStream in interface ResultSetSQLExceptionpublic void updateAsciiStream(int i,
InputStream inputStream,
long l)
throws SQLException
updateAsciiStream in interface ResultSetSQLExceptionpublic void updateBinaryStream(int i,
InputStream inputStream,
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 s, InputStream inputStream, long l) throws SQLException
updateAsciiStream in interface ResultSetSQLExceptionpublic void updateBinaryStream(String s, InputStream inputStream, long l) throws SQLException
updateBinaryStream in interface ResultSetSQLExceptionpublic void updateCharacterStream(String s, Reader reader, long l) throws SQLException
updateCharacterStream in interface ResultSetSQLExceptionpublic void updateBlob(int i,
InputStream inputStream,
long l)
throws SQLException
updateBlob in interface ResultSetSQLExceptionpublic void updateBlob(String s, InputStream inputStream, 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 s, 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 s, 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 s, Reader reader) throws SQLException
updateNCharacterStream in interface ResultSetSQLExceptionpublic void updateAsciiStream(int i,
InputStream inputStream)
throws SQLException
updateAsciiStream in interface ResultSetSQLExceptionpublic void updateBinaryStream(int i,
InputStream inputStream)
throws SQLException
updateBinaryStream in interface ResultSetSQLExceptionpublic void updateCharacterStream(int i,
Reader reader)
throws SQLException
updateCharacterStream in interface ResultSetSQLExceptionpublic void updateAsciiStream(String s, InputStream inputStream) throws SQLException
updateAsciiStream in interface ResultSetSQLExceptionpublic void updateBinaryStream(String s, InputStream inputStream) throws SQLException
updateBinaryStream in interface ResultSetSQLExceptionpublic void updateCharacterStream(String s, Reader reader) throws SQLException
updateCharacterStream in interface ResultSetSQLExceptionpublic void updateBlob(int i,
InputStream inputStream)
throws SQLException
updateBlob in interface ResultSetSQLExceptionpublic void updateBlob(String s, InputStream inputStream) throws SQLException
updateBlob in interface ResultSetSQLExceptionpublic void updateClob(int i,
Reader reader)
throws SQLException
updateClob in interface ResultSetSQLExceptionpublic void updateClob(String s, Reader reader) throws SQLException
updateClob in interface ResultSetSQLExceptionpublic void updateNClob(int i,
Reader reader)
throws SQLException
updateNClob in interface ResultSetSQLExceptionpublic void updateNClob(String s, Reader reader) throws SQLException
updateNClob in interface ResultSetSQLExceptionpublic <T> T getObject(int columnIndex,
Class<T> type)
throws SQLException
getObject in interface ResultSetT - the generic typecolumnIndex - the column indextype - the typeSQLException - the SQL exceptionpublic <T> T getObject(String columnLabel, Class<T> type) throws SQLException
getObject in interface ResultSetT - the generic typecolumnLabel - the column labeltype - the typeSQLException - the SQL exceptionpublic <T> T unwrap(Class<T> tClass) throws SQLException
unwrap in interface WrapperSQLExceptionpublic boolean isWrapperFor(Class<?> aClass) throws SQLException
isWrapperFor in interface WrapperSQLExceptionCopyright © 2014–2018 Apache Software Foundation. All rights reserved.