Class ResultSetEnvelope
- java.lang.Object
-
- com.github.fabriciofx.cactoos.jdbc.rset.ResultSetEnvelope
-
- All Implemented Interfaces:
AutoCloseable
,ResultSet
,Wrapper
public abstract class ResultSetEnvelope extends Object implements ResultSet
ResultSet Envelope.- Since:
- 0.4
-
-
Field Summary
-
Fields inherited from interface java.sql.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 Summary
Constructors Constructor Description ResultSetEnvelope(ResultSet rset)
Ctor.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
absolute(int row)
void
afterLast()
void
beforeFirst()
void
cancelRowUpdates()
void
clearWarnings()
void
close()
void
deleteRow()
int
findColumn(String label)
boolean
first()
Array
getArray(int index)
Array
getArray(String label)
InputStream
getAsciiStream(int index)
InputStream
getAsciiStream(String label)
BigDecimal
getBigDecimal(int index)
BigDecimal
getBigDecimal(int index, int scale)
Deprecated.It not should be usedBigDecimal
getBigDecimal(String label)
BigDecimal
getBigDecimal(String label, int scale)
Deprecated.It not should be usedInputStream
getBinaryStream(int index)
InputStream
getBinaryStream(String label)
Blob
getBlob(int index)
Blob
getBlob(String label)
boolean
getBoolean(int index)
boolean
getBoolean(String label)
byte
getByte(int index)
byte
getByte(String label)
byte[]
getBytes(int index)
byte[]
getBytes(String label)
Reader
getCharacterStream(int index)
Reader
getCharacterStream(String label)
Clob
getClob(int index)
Clob
getClob(String label)
int
getConcurrency()
String
getCursorName()
Date
getDate(int index)
Date
getDate(int index, Calendar cal)
Date
getDate(String label)
Date
getDate(String label, Calendar cal)
double
getDouble(int index)
double
getDouble(String label)
int
getFetchDirection()
int
getFetchSize()
float
getFloat(int index)
float
getFloat(String label)
int
getHoldability()
int
getInt(int index)
int
getInt(String label)
long
getLong(int index)
long
getLong(String label)
ResultSetMetaData
getMetaData()
Reader
getNCharacterStream(int index)
Reader
getNCharacterStream(String label)
NClob
getNClob(int index)
NClob
getNClob(String label)
String
getNString(int index)
String
getNString(String label)
Object
getObject(int index)
<T> T
getObject(int index, Class<T> type)
Object
getObject(int index, Map<String,Class<?>> map)
Object
getObject(String label)
<T> T
getObject(String label, Class<T> type)
Object
getObject(String label, Map<String,Class<?>> map)
Ref
getRef(int index)
Ref
getRef(String label)
int
getRow()
RowId
getRowId(int index)
RowId
getRowId(String label)
short
getShort(int index)
short
getShort(String label)
SQLXML
getSQLXML(int index)
SQLXML
getSQLXML(String label)
Statement
getStatement()
String
getString(int index)
String
getString(String label)
Time
getTime(int index)
Time
getTime(int index, Calendar cal)
Time
getTime(String label)
Time
getTime(String label, Calendar cal)
Timestamp
getTimestamp(int index)
Timestamp
getTimestamp(int index, Calendar cal)
Timestamp
getTimestamp(String label)
Timestamp
getTimestamp(String label, Calendar cal)
int
getType()
InputStream
getUnicodeStream(int index)
Deprecated.It not should be usedInputStream
getUnicodeStream(String label)
Deprecated.It not should be usedURL
getURL(int index)
URL
getURL(String label)
SQLWarning
getWarnings()
void
insertRow()
boolean
isAfterLast()
boolean
isBeforeFirst()
boolean
isClosed()
boolean
isFirst()
boolean
isLast()
boolean
isWrapperFor(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)
<T> T
unwrap(Class<T> iface)
void
updateArray(int index, Array value)
void
updateArray(String label, Array value)
void
updateAsciiStream(int index, InputStream value)
void
updateAsciiStream(int index, InputStream value, int length)
void
updateAsciiStream(int index, InputStream value, long length)
void
updateAsciiStream(String label, InputStream value)
void
updateAsciiStream(String label, InputStream value, int length)
void
updateAsciiStream(String label, InputStream value, long length)
void
updateBigDecimal(int index, BigDecimal value)
void
updateBigDecimal(String label, BigDecimal value)
void
updateBinaryStream(int index, InputStream value)
void
updateBinaryStream(int index, InputStream value, int length)
void
updateBinaryStream(int index, InputStream value, long length)
void
updateBinaryStream(String label, InputStream value)
void
updateBinaryStream(String label, InputStream value, int length)
void
updateBinaryStream(String label, InputStream value, long length)
void
updateBlob(int index, InputStream inputStream)
void
updateBlob(int index, InputStream inputStream, long length)
void
updateBlob(int index, Blob value)
void
updateBlob(String label, InputStream inputStream)
void
updateBlob(String label, InputStream inputStream, long length)
void
updateBlob(String label, Blob value)
void
updateBoolean(int index, boolean value)
void
updateBoolean(String label, boolean value)
void
updateByte(int index, byte value)
void
updateByte(String label, byte value)
void
updateBytes(int index, byte[] values)
void
updateBytes(String label, byte[] value)
void
updateCharacterStream(int index, Reader value)
void
updateCharacterStream(int index, Reader value, int length)
void
updateCharacterStream(int index, Reader value, long length)
void
updateCharacterStream(String label, Reader reader)
void
updateCharacterStream(String label, Reader reader, int length)
void
updateCharacterStream(String label, Reader reader, long length)
void
updateClob(int index, Reader reader)
void
updateClob(int index, Reader reader, long length)
void
updateClob(int index, Clob value)
void
updateClob(String label, Reader reader)
void
updateClob(String label, Reader reader, long length)
void
updateClob(String label, Clob value)
void
updateDate(int index, Date value)
void
updateDate(String label, Date value)
void
updateDouble(int index, double value)
void
updateDouble(String label, double value)
void
updateFloat(int index, float value)
void
updateFloat(String label, float value)
void
updateInt(int index, int value)
void
updateInt(String label, int value)
void
updateLong(int index, long value)
void
updateLong(String label, long value)
void
updateNCharacterStream(int index, Reader value)
void
updateNCharacterStream(int index, Reader value, long length)
void
updateNCharacterStream(String label, Reader reader)
void
updateNCharacterStream(String label, Reader reader, long length)
void
updateNClob(int index, Reader reader)
void
updateNClob(int index, Reader reader, long length)
void
updateNClob(int index, NClob nClob)
void
updateNClob(String label, Reader reader)
void
updateNClob(String label, Reader reader, long length)
void
updateNClob(String label, NClob nClob)
void
updateNString(int index, String nString)
void
updateNString(String label, String nString)
void
updateNull(int index)
void
updateNull(String label)
void
updateObject(int index, Object value)
void
updateObject(int index, Object value, int scaleOrLength)
void
updateObject(String label, Object value)
void
updateObject(String label, Object value, int scaleOrLength)
void
updateRef(int index, Ref value)
void
updateRef(String label, Ref value)
void
updateRow()
void
updateRowId(int index, RowId value)
void
updateRowId(String label, RowId value)
void
updateShort(int index, short value)
void
updateShort(String label, short value)
void
updateSQLXML(int index, SQLXML value)
void
updateSQLXML(String label, SQLXML value)
void
updateString(int index, String value)
void
updateString(String label, String value)
void
updateTime(int index, Time value)
void
updateTime(String label, Time value)
void
updateTimestamp(int index, Timestamp value)
void
updateTimestamp(String label, Timestamp value)
boolean
wasNull()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.sql.ResultSet
updateObject, updateObject, updateObject, updateObject
-
-
-
-
Constructor Detail
-
ResultSetEnvelope
public ResultSetEnvelope(ResultSet rset)
Ctor.- Parameters:
rset
- Original ResultSet to be decorated
-
-
Method Detail
-
next
public boolean next() throws SQLException
- Specified by:
next
in interfaceResultSet
- Throws:
SQLException
-
close
public void close() throws SQLException
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceResultSet
- Throws:
SQLException
-
wasNull
public boolean wasNull() throws SQLException
- Specified by:
wasNull
in interfaceResultSet
- Throws:
SQLException
-
getString
public String getString(int index) throws SQLException
- Specified by:
getString
in interfaceResultSet
- Throws:
SQLException
-
getBoolean
public boolean getBoolean(int index) throws SQLException
- Specified by:
getBoolean
in interfaceResultSet
- Throws:
SQLException
-
getByte
public byte getByte(int index) throws SQLException
- Specified by:
getByte
in interfaceResultSet
- Throws:
SQLException
-
getShort
public short getShort(int index) throws SQLException
- Specified by:
getShort
in interfaceResultSet
- Throws:
SQLException
-
getInt
public int getInt(int index) throws SQLException
- Specified by:
getInt
in interfaceResultSet
- Throws:
SQLException
-
getLong
public long getLong(int index) throws SQLException
- Specified by:
getLong
in interfaceResultSet
- Throws:
SQLException
-
getFloat
public float getFloat(int index) throws SQLException
- Specified by:
getFloat
in interfaceResultSet
- Throws:
SQLException
-
getDouble
public double getDouble(int index) throws SQLException
- Specified by:
getDouble
in interfaceResultSet
- Throws:
SQLException
-
getBigDecimal
@Deprecated public BigDecimal getBigDecimal(int index, int scale) throws SQLException
Deprecated.It not should be usedGet a BigDecimal.- Specified by:
getBigDecimal
in interfaceResultSet
- Parameters:
index
- Column indexscale
- Scale- Returns:
- A BigDecimal number
- Throws:
SQLException
- If fails
-
getBytes
public byte[] getBytes(int index) throws SQLException
- Specified by:
getBytes
in interfaceResultSet
- Throws:
SQLException
-
getDate
public Date getDate(int index) throws SQLException
- Specified by:
getDate
in interfaceResultSet
- Throws:
SQLException
-
getTime
public Time getTime(int index) throws SQLException
- Specified by:
getTime
in interfaceResultSet
- Throws:
SQLException
-
getTimestamp
public Timestamp getTimestamp(int index) throws SQLException
- Specified by:
getTimestamp
in interfaceResultSet
- Throws:
SQLException
-
getAsciiStream
public InputStream getAsciiStream(int index) throws SQLException
- Specified by:
getAsciiStream
in interfaceResultSet
- Throws:
SQLException
-
getUnicodeStream
@Deprecated public InputStream getUnicodeStream(int index) throws SQLException
Deprecated.It not should be usedGet a stream in Unicode.- Specified by:
getUnicodeStream
in interfaceResultSet
- Parameters:
index
- Column index- Returns:
- An InputStream number
- Throws:
SQLException
- If fails
-
getBinaryStream
public InputStream getBinaryStream(int index) throws SQLException
- Specified by:
getBinaryStream
in interfaceResultSet
- Throws:
SQLException
-
getString
public String getString(String label) throws SQLException
- Specified by:
getString
in interfaceResultSet
- Throws:
SQLException
-
getBoolean
public boolean getBoolean(String label) throws SQLException
- Specified by:
getBoolean
in interfaceResultSet
- Throws:
SQLException
-
getByte
public byte getByte(String label) throws SQLException
- Specified by:
getByte
in interfaceResultSet
- Throws:
SQLException
-
getShort
public short getShort(String label) throws SQLException
- Specified by:
getShort
in interfaceResultSet
- Throws:
SQLException
-
getInt
public int getInt(String label) throws SQLException
- Specified by:
getInt
in interfaceResultSet
- Throws:
SQLException
-
getLong
public long getLong(String label) throws SQLException
- Specified by:
getLong
in interfaceResultSet
- Throws:
SQLException
-
getFloat
public float getFloat(String label) throws SQLException
- Specified by:
getFloat
in interfaceResultSet
- Throws:
SQLException
-
getDouble
public double getDouble(String label) throws SQLException
- Specified by:
getDouble
in interfaceResultSet
- Throws:
SQLException
-
getBigDecimal
@Deprecated public BigDecimal getBigDecimal(String label, int scale) throws SQLException
Deprecated.It not should be usedGet a BigDecimal.- Specified by:
getBigDecimal
in interfaceResultSet
- Parameters:
label
- Column labelscale
- Scale- Returns:
- A BigDecimal number
- Throws:
SQLException
- If fails
-
getBytes
public byte[] getBytes(String label) throws SQLException
- Specified by:
getBytes
in interfaceResultSet
- Throws:
SQLException
-
getDate
public Date getDate(String label) throws SQLException
- Specified by:
getDate
in interfaceResultSet
- Throws:
SQLException
-
getTime
public Time getTime(String label) throws SQLException
- Specified by:
getTime
in interfaceResultSet
- Throws:
SQLException
-
getTimestamp
public Timestamp getTimestamp(String label) throws SQLException
- Specified by:
getTimestamp
in interfaceResultSet
- Throws:
SQLException
-
getAsciiStream
public InputStream getAsciiStream(String label) throws SQLException
- Specified by:
getAsciiStream
in interfaceResultSet
- Throws:
SQLException
-
getUnicodeStream
@Deprecated public InputStream getUnicodeStream(String label) throws SQLException
Deprecated.It not should be usedGet a stream in Unicode.- Specified by:
getUnicodeStream
in interfaceResultSet
- Parameters:
label
- Column label- Returns:
- An InputStream data
- Throws:
SQLException
- If fails
-
getBinaryStream
public InputStream getBinaryStream(String label) throws SQLException
- Specified by:
getBinaryStream
in interfaceResultSet
- Throws:
SQLException
-
getWarnings
public SQLWarning getWarnings() throws SQLException
- Specified by:
getWarnings
in interfaceResultSet
- Throws:
SQLException
-
clearWarnings
public void clearWarnings() throws SQLException
- Specified by:
clearWarnings
in interfaceResultSet
- Throws:
SQLException
-
getCursorName
public String getCursorName() throws SQLException
- Specified by:
getCursorName
in interfaceResultSet
- Throws:
SQLException
-
getMetaData
public ResultSetMetaData getMetaData() throws SQLException
- Specified by:
getMetaData
in interfaceResultSet
- Throws:
SQLException
-
getObject
public Object getObject(int index) throws SQLException
- Specified by:
getObject
in interfaceResultSet
- Throws:
SQLException
-
getObject
public Object getObject(String label) throws SQLException
- Specified by:
getObject
in interfaceResultSet
- Throws:
SQLException
-
findColumn
public int findColumn(String label) throws SQLException
- Specified by:
findColumn
in interfaceResultSet
- Throws:
SQLException
-
getCharacterStream
public Reader getCharacterStream(int index) throws SQLException
- Specified by:
getCharacterStream
in interfaceResultSet
- Throws:
SQLException
-
getCharacterStream
public Reader getCharacterStream(String label) throws SQLException
- Specified by:
getCharacterStream
in interfaceResultSet
- Throws:
SQLException
-
getBigDecimal
public BigDecimal getBigDecimal(int index) throws SQLException
- Specified by:
getBigDecimal
in interfaceResultSet
- Throws:
SQLException
-
getBigDecimal
public BigDecimal getBigDecimal(String label) throws SQLException
- Specified by:
getBigDecimal
in interfaceResultSet
- Throws:
SQLException
-
isBeforeFirst
public boolean isBeforeFirst() throws SQLException
- Specified by:
isBeforeFirst
in interfaceResultSet
- Throws:
SQLException
-
isAfterLast
public boolean isAfterLast() throws SQLException
- Specified by:
isAfterLast
in interfaceResultSet
- Throws:
SQLException
-
isFirst
public boolean isFirst() throws SQLException
- Specified by:
isFirst
in interfaceResultSet
- Throws:
SQLException
-
isLast
public boolean isLast() throws SQLException
- Specified by:
isLast
in interfaceResultSet
- Throws:
SQLException
-
beforeFirst
public void beforeFirst() throws SQLException
- Specified by:
beforeFirst
in interfaceResultSet
- Throws:
SQLException
-
afterLast
public void afterLast() throws SQLException
- Specified by:
afterLast
in interfaceResultSet
- Throws:
SQLException
-
first
public boolean first() throws SQLException
- Specified by:
first
in interfaceResultSet
- Throws:
SQLException
-
last
public boolean last() throws SQLException
- Specified by:
last
in interfaceResultSet
- Throws:
SQLException
-
getRow
public int getRow() throws SQLException
- Specified by:
getRow
in interfaceResultSet
- Throws:
SQLException
-
absolute
public boolean absolute(int row) throws SQLException
- Specified by:
absolute
in interfaceResultSet
- Throws:
SQLException
-
relative
public boolean relative(int rows) throws SQLException
- Specified by:
relative
in interfaceResultSet
- Throws:
SQLException
-
previous
public boolean previous() throws SQLException
- Specified by:
previous
in interfaceResultSet
- Throws:
SQLException
-
setFetchDirection
public void setFetchDirection(int direction) throws SQLException
- Specified by:
setFetchDirection
in interfaceResultSet
- Throws:
SQLException
-
getFetchDirection
public int getFetchDirection() throws SQLException
- Specified by:
getFetchDirection
in interfaceResultSet
- Throws:
SQLException
-
setFetchSize
public void setFetchSize(int rows) throws SQLException
- Specified by:
setFetchSize
in interfaceResultSet
- Throws:
SQLException
-
getFetchSize
public int getFetchSize() throws SQLException
- Specified by:
getFetchSize
in interfaceResultSet
- Throws:
SQLException
-
getType
public int getType() throws SQLException
- Specified by:
getType
in interfaceResultSet
- Throws:
SQLException
-
getConcurrency
public int getConcurrency() throws SQLException
- Specified by:
getConcurrency
in interfaceResultSet
- Throws:
SQLException
-
rowUpdated
public boolean rowUpdated() throws SQLException
- Specified by:
rowUpdated
in interfaceResultSet
- Throws:
SQLException
-
rowInserted
public boolean rowInserted() throws SQLException
- Specified by:
rowInserted
in interfaceResultSet
- Throws:
SQLException
-
rowDeleted
public boolean rowDeleted() throws SQLException
- Specified by:
rowDeleted
in interfaceResultSet
- Throws:
SQLException
-
updateNull
public void updateNull(int index) throws SQLException
- Specified by:
updateNull
in interfaceResultSet
- Throws:
SQLException
-
updateBoolean
public void updateBoolean(int index, boolean value) throws SQLException
- Specified by:
updateBoolean
in interfaceResultSet
- Throws:
SQLException
-
updateByte
public void updateByte(int index, byte value) throws SQLException
- Specified by:
updateByte
in interfaceResultSet
- Throws:
SQLException
-
updateShort
public void updateShort(int index, short value) throws SQLException
- Specified by:
updateShort
in interfaceResultSet
- Throws:
SQLException
-
updateInt
public void updateInt(int index, int value) throws SQLException
- Specified by:
updateInt
in interfaceResultSet
- Throws:
SQLException
-
updateLong
public void updateLong(int index, long value) throws SQLException
- Specified by:
updateLong
in interfaceResultSet
- Throws:
SQLException
-
updateFloat
public void updateFloat(int index, float value) throws SQLException
- Specified by:
updateFloat
in interfaceResultSet
- Throws:
SQLException
-
updateDouble
public void updateDouble(int index, double value) throws SQLException
- Specified by:
updateDouble
in interfaceResultSet
- Throws:
SQLException
-
updateBigDecimal
public void updateBigDecimal(int index, BigDecimal value) throws SQLException
- Specified by:
updateBigDecimal
in interfaceResultSet
- Throws:
SQLException
-
updateString
public void updateString(int index, String value) throws SQLException
- Specified by:
updateString
in interfaceResultSet
- Throws:
SQLException
-
updateBytes
public void updateBytes(int index, byte[] values) throws SQLException
- Specified by:
updateBytes
in interfaceResultSet
- Throws:
SQLException
-
updateDate
public void updateDate(int index, Date value) throws SQLException
- Specified by:
updateDate
in interfaceResultSet
- Throws:
SQLException
-
updateTime
public void updateTime(int index, Time value) throws SQLException
- Specified by:
updateTime
in interfaceResultSet
- Throws:
SQLException
-
updateTimestamp
public void updateTimestamp(int index, Timestamp value) throws SQLException
- Specified by:
updateTimestamp
in interfaceResultSet
- Throws:
SQLException
-
updateAsciiStream
public void updateAsciiStream(int index, InputStream value, int length) throws SQLException
- Specified by:
updateAsciiStream
in interfaceResultSet
- Throws:
SQLException
-
updateBinaryStream
public void updateBinaryStream(int index, InputStream value, int length) throws SQLException
- Specified by:
updateBinaryStream
in interfaceResultSet
- Throws:
SQLException
-
updateCharacterStream
public void updateCharacterStream(int index, Reader value, int length) throws SQLException
- Specified by:
updateCharacterStream
in interfaceResultSet
- Throws:
SQLException
-
updateObject
public void updateObject(int index, Object value, int scaleOrLength) throws SQLException
- Specified by:
updateObject
in interfaceResultSet
- Throws:
SQLException
-
updateObject
public void updateObject(int index, Object value) throws SQLException
- Specified by:
updateObject
in interfaceResultSet
- Throws:
SQLException
-
updateNull
public void updateNull(String label) throws SQLException
- Specified by:
updateNull
in interfaceResultSet
- Throws:
SQLException
-
updateBoolean
public void updateBoolean(String label, boolean value) throws SQLException
- Specified by:
updateBoolean
in interfaceResultSet
- Throws:
SQLException
-
updateByte
public void updateByte(String label, byte value) throws SQLException
- Specified by:
updateByte
in interfaceResultSet
- Throws:
SQLException
-
updateShort
public void updateShort(String label, short value) throws SQLException
- Specified by:
updateShort
in interfaceResultSet
- Throws:
SQLException
-
updateInt
public void updateInt(String label, int value) throws SQLException
- Specified by:
updateInt
in interfaceResultSet
- Throws:
SQLException
-
updateLong
public void updateLong(String label, long value) throws SQLException
- Specified by:
updateLong
in interfaceResultSet
- Throws:
SQLException
-
updateFloat
public void updateFloat(String label, float value) throws SQLException
- Specified by:
updateFloat
in interfaceResultSet
- Throws:
SQLException
-
updateDouble
public void updateDouble(String label, double value) throws SQLException
- Specified by:
updateDouble
in interfaceResultSet
- Throws:
SQLException
-
updateBigDecimal
public void updateBigDecimal(String label, BigDecimal value) throws SQLException
- Specified by:
updateBigDecimal
in interfaceResultSet
- Throws:
SQLException
-
updateString
public void updateString(String label, String value) throws SQLException
- Specified by:
updateString
in interfaceResultSet
- Throws:
SQLException
-
updateBytes
public void updateBytes(String label, byte[] value) throws SQLException
- Specified by:
updateBytes
in interfaceResultSet
- Throws:
SQLException
-
updateDate
public void updateDate(String label, Date value) throws SQLException
- Specified by:
updateDate
in interfaceResultSet
- Throws:
SQLException
-
updateTime
public void updateTime(String label, Time value) throws SQLException
- Specified by:
updateTime
in interfaceResultSet
- Throws:
SQLException
-
updateTimestamp
public void updateTimestamp(String label, Timestamp value) throws SQLException
- Specified by:
updateTimestamp
in interfaceResultSet
- Throws:
SQLException
-
updateAsciiStream
public void updateAsciiStream(String label, InputStream value, int length) throws SQLException
- Specified by:
updateAsciiStream
in interfaceResultSet
- Throws:
SQLException
-
updateBinaryStream
public void updateBinaryStream(String label, InputStream value, int length) throws SQLException
- Specified by:
updateBinaryStream
in interfaceResultSet
- Throws:
SQLException
-
updateCharacterStream
public void updateCharacterStream(String label, Reader reader, int length) throws SQLException
- Specified by:
updateCharacterStream
in interfaceResultSet
- Throws:
SQLException
-
updateObject
public void updateObject(String label, Object value, int scaleOrLength) throws SQLException
- Specified by:
updateObject
in interfaceResultSet
- Throws:
SQLException
-
updateObject
public void updateObject(String label, Object value) throws SQLException
- Specified by:
updateObject
in interfaceResultSet
- Throws:
SQLException
-
insertRow
public void insertRow() throws SQLException
- Specified by:
insertRow
in interfaceResultSet
- Throws:
SQLException
-
updateRow
public void updateRow() throws SQLException
- Specified by:
updateRow
in interfaceResultSet
- Throws:
SQLException
-
deleteRow
public void deleteRow() throws SQLException
- Specified by:
deleteRow
in interfaceResultSet
- Throws:
SQLException
-
refreshRow
public void refreshRow() throws SQLException
- Specified by:
refreshRow
in interfaceResultSet
- Throws:
SQLException
-
cancelRowUpdates
public void cancelRowUpdates() throws SQLException
- Specified by:
cancelRowUpdates
in interfaceResultSet
- Throws:
SQLException
-
moveToInsertRow
public void moveToInsertRow() throws SQLException
- Specified by:
moveToInsertRow
in interfaceResultSet
- Throws:
SQLException
-
moveToCurrentRow
public void moveToCurrentRow() throws SQLException
- Specified by:
moveToCurrentRow
in interfaceResultSet
- Throws:
SQLException
-
getStatement
public Statement getStatement() throws SQLException
- Specified by:
getStatement
in interfaceResultSet
- Throws:
SQLException
-
getObject
public Object getObject(int index, Map<String,Class<?>> map) throws SQLException
- Specified by:
getObject
in interfaceResultSet
- Throws:
SQLException
-
getRef
public Ref getRef(int index) throws SQLException
- Specified by:
getRef
in interfaceResultSet
- Throws:
SQLException
-
getBlob
public Blob getBlob(int index) throws SQLException
- Specified by:
getBlob
in interfaceResultSet
- Throws:
SQLException
-
getClob
public Clob getClob(int index) throws SQLException
- Specified by:
getClob
in interfaceResultSet
- Throws:
SQLException
-
getArray
public Array getArray(int index) throws SQLException
- Specified by:
getArray
in interfaceResultSet
- Throws:
SQLException
-
getObject
public Object getObject(String label, Map<String,Class<?>> map) throws SQLException
- Specified by:
getObject
in interfaceResultSet
- Throws:
SQLException
-
getRef
public Ref getRef(String label) throws SQLException
- Specified by:
getRef
in interfaceResultSet
- Throws:
SQLException
-
getBlob
public Blob getBlob(String label) throws SQLException
- Specified by:
getBlob
in interfaceResultSet
- Throws:
SQLException
-
getClob
public Clob getClob(String label) throws SQLException
- Specified by:
getClob
in interfaceResultSet
- Throws:
SQLException
-
getArray
public Array getArray(String label) throws SQLException
- Specified by:
getArray
in interfaceResultSet
- Throws:
SQLException
-
getDate
public Date getDate(int index, Calendar cal) throws SQLException
- Specified by:
getDate
in interfaceResultSet
- Throws:
SQLException
-
getDate
public Date getDate(String label, Calendar cal) throws SQLException
- Specified by:
getDate
in interfaceResultSet
- Throws:
SQLException
-
getTime
public Time getTime(int index, Calendar cal) throws SQLException
- Specified by:
getTime
in interfaceResultSet
- Throws:
SQLException
-
getTime
public Time getTime(String label, Calendar cal) throws SQLException
- Specified by:
getTime
in interfaceResultSet
- Throws:
SQLException
-
getTimestamp
public Timestamp getTimestamp(int index, Calendar cal) throws SQLException
- Specified by:
getTimestamp
in interfaceResultSet
- Throws:
SQLException
-
getTimestamp
public Timestamp getTimestamp(String label, Calendar cal) throws SQLException
- Specified by:
getTimestamp
in interfaceResultSet
- Throws:
SQLException
-
getURL
public URL getURL(int index) throws SQLException
- Specified by:
getURL
in interfaceResultSet
- Throws:
SQLException
-
getURL
public URL getURL(String label) throws SQLException
- Specified by:
getURL
in interfaceResultSet
- Throws:
SQLException
-
updateRef
public void updateRef(int index, Ref value) throws SQLException
- Specified by:
updateRef
in interfaceResultSet
- Throws:
SQLException
-
updateRef
public void updateRef(String label, Ref value) throws SQLException
- Specified by:
updateRef
in interfaceResultSet
- Throws:
SQLException
-
updateBlob
public void updateBlob(int index, Blob value) throws SQLException
- Specified by:
updateBlob
in interfaceResultSet
- Throws:
SQLException
-
updateBlob
public void updateBlob(String label, Blob value) throws SQLException
- Specified by:
updateBlob
in interfaceResultSet
- Throws:
SQLException
-
updateClob
public void updateClob(int index, Clob value) throws SQLException
- Specified by:
updateClob
in interfaceResultSet
- Throws:
SQLException
-
updateClob
public void updateClob(String label, Clob value) throws SQLException
- Specified by:
updateClob
in interfaceResultSet
- Throws:
SQLException
-
updateArray
public void updateArray(int index, Array value) throws SQLException
- Specified by:
updateArray
in interfaceResultSet
- Throws:
SQLException
-
updateArray
public void updateArray(String label, Array value) throws SQLException
- Specified by:
updateArray
in interfaceResultSet
- Throws:
SQLException
-
getRowId
public RowId getRowId(int index) throws SQLException
- Specified by:
getRowId
in interfaceResultSet
- Throws:
SQLException
-
getRowId
public RowId getRowId(String label) throws SQLException
- Specified by:
getRowId
in interfaceResultSet
- Throws:
SQLException
-
updateRowId
public void updateRowId(int index, RowId value) throws SQLException
- Specified by:
updateRowId
in interfaceResultSet
- Throws:
SQLException
-
updateRowId
public void updateRowId(String label, RowId value) throws SQLException
- Specified by:
updateRowId
in interfaceResultSet
- Throws:
SQLException
-
getHoldability
public int getHoldability() throws SQLException
- Specified by:
getHoldability
in interfaceResultSet
- Throws:
SQLException
-
isClosed
public boolean isClosed() throws SQLException
- Specified by:
isClosed
in interfaceResultSet
- Throws:
SQLException
-
updateNString
public void updateNString(int index, String nString) throws SQLException
- Specified by:
updateNString
in interfaceResultSet
- Throws:
SQLException
-
updateNString
public void updateNString(String label, String nString) throws SQLException
- Specified by:
updateNString
in interfaceResultSet
- Throws:
SQLException
-
updateNClob
public void updateNClob(int index, NClob nClob) throws SQLException
- Specified by:
updateNClob
in interfaceResultSet
- Throws:
SQLException
-
updateNClob
public void updateNClob(String label, NClob nClob) throws SQLException
- Specified by:
updateNClob
in interfaceResultSet
- Throws:
SQLException
-
getNClob
public NClob getNClob(int index) throws SQLException
- Specified by:
getNClob
in interfaceResultSet
- Throws:
SQLException
-
getNClob
public NClob getNClob(String label) throws SQLException
- Specified by:
getNClob
in interfaceResultSet
- Throws:
SQLException
-
getSQLXML
public SQLXML getSQLXML(int index) throws SQLException
- Specified by:
getSQLXML
in interfaceResultSet
- Throws:
SQLException
-
getSQLXML
public SQLXML getSQLXML(String label) throws SQLException
- Specified by:
getSQLXML
in interfaceResultSet
- Throws:
SQLException
-
updateSQLXML
public void updateSQLXML(int index, SQLXML value) throws SQLException
- Specified by:
updateSQLXML
in interfaceResultSet
- Throws:
SQLException
-
updateSQLXML
public void updateSQLXML(String label, SQLXML value) throws SQLException
- Specified by:
updateSQLXML
in interfaceResultSet
- Throws:
SQLException
-
getNString
public String getNString(int index) throws SQLException
- Specified by:
getNString
in interfaceResultSet
- Throws:
SQLException
-
getNString
public String getNString(String label) throws SQLException
- Specified by:
getNString
in interfaceResultSet
- Throws:
SQLException
-
getNCharacterStream
public Reader getNCharacterStream(int index) throws SQLException
- Specified by:
getNCharacterStream
in interfaceResultSet
- Throws:
SQLException
-
getNCharacterStream
public Reader getNCharacterStream(String label) throws SQLException
- Specified by:
getNCharacterStream
in interfaceResultSet
- Throws:
SQLException
-
updateNCharacterStream
public void updateNCharacterStream(int index, Reader value, long length) throws SQLException
- Specified by:
updateNCharacterStream
in interfaceResultSet
- Throws:
SQLException
-
updateNCharacterStream
public void updateNCharacterStream(String label, Reader reader, long length) throws SQLException
- Specified by:
updateNCharacterStream
in interfaceResultSet
- Throws:
SQLException
-
updateAsciiStream
public void updateAsciiStream(int index, InputStream value, long length) throws SQLException
- Specified by:
updateAsciiStream
in interfaceResultSet
- Throws:
SQLException
-
updateBinaryStream
public void updateBinaryStream(int index, InputStream value, long length) throws SQLException
- Specified by:
updateBinaryStream
in interfaceResultSet
- Throws:
SQLException
-
updateCharacterStream
public void updateCharacterStream(int index, Reader value, long length) throws SQLException
- Specified by:
updateCharacterStream
in interfaceResultSet
- Throws:
SQLException
-
updateAsciiStream
public void updateAsciiStream(String label, InputStream value, long length) throws SQLException
- Specified by:
updateAsciiStream
in interfaceResultSet
- Throws:
SQLException
-
updateBinaryStream
public void updateBinaryStream(String label, InputStream value, long length) throws SQLException
- Specified by:
updateBinaryStream
in interfaceResultSet
- Throws:
SQLException
-
updateCharacterStream
public void updateCharacterStream(String label, Reader reader, long length) throws SQLException
- Specified by:
updateCharacterStream
in interfaceResultSet
- Throws:
SQLException
-
updateBlob
public void updateBlob(int index, InputStream inputStream, long length) throws SQLException
- Specified by:
updateBlob
in interfaceResultSet
- Throws:
SQLException
-
updateBlob
public void updateBlob(String label, InputStream inputStream, long length) throws SQLException
- Specified by:
updateBlob
in interfaceResultSet
- Throws:
SQLException
-
updateClob
public void updateClob(int index, Reader reader, long length) throws SQLException
- Specified by:
updateClob
in interfaceResultSet
- Throws:
SQLException
-
updateClob
public void updateClob(String label, Reader reader, long length) throws SQLException
- Specified by:
updateClob
in interfaceResultSet
- Throws:
SQLException
-
updateNClob
public void updateNClob(int index, Reader reader, long length) throws SQLException
- Specified by:
updateNClob
in interfaceResultSet
- Throws:
SQLException
-
updateNClob
public void updateNClob(String label, Reader reader, long length) throws SQLException
- Specified by:
updateNClob
in interfaceResultSet
- Throws:
SQLException
-
updateNCharacterStream
public void updateNCharacterStream(int index, Reader value) throws SQLException
- Specified by:
updateNCharacterStream
in interfaceResultSet
- Throws:
SQLException
-
updateNCharacterStream
public void updateNCharacterStream(String label, Reader reader) throws SQLException
- Specified by:
updateNCharacterStream
in interfaceResultSet
- Throws:
SQLException
-
updateAsciiStream
public void updateAsciiStream(int index, InputStream value) throws SQLException
- Specified by:
updateAsciiStream
in interfaceResultSet
- Throws:
SQLException
-
updateBinaryStream
public void updateBinaryStream(int index, InputStream value) throws SQLException
- Specified by:
updateBinaryStream
in interfaceResultSet
- Throws:
SQLException
-
updateCharacterStream
public void updateCharacterStream(int index, Reader value) throws SQLException
- Specified by:
updateCharacterStream
in interfaceResultSet
- Throws:
SQLException
-
updateAsciiStream
public void updateAsciiStream(String label, InputStream value) throws SQLException
- Specified by:
updateAsciiStream
in interfaceResultSet
- Throws:
SQLException
-
updateBinaryStream
public void updateBinaryStream(String label, InputStream value) throws SQLException
- Specified by:
updateBinaryStream
in interfaceResultSet
- Throws:
SQLException
-
updateCharacterStream
public void updateCharacterStream(String label, Reader reader) throws SQLException
- Specified by:
updateCharacterStream
in interfaceResultSet
- Throws:
SQLException
-
updateBlob
public void updateBlob(int index, InputStream inputStream) throws SQLException
- Specified by:
updateBlob
in interfaceResultSet
- Throws:
SQLException
-
updateBlob
public void updateBlob(String label, InputStream inputStream) throws SQLException
- Specified by:
updateBlob
in interfaceResultSet
- Throws:
SQLException
-
updateClob
public void updateClob(int index, Reader reader) throws SQLException
- Specified by:
updateClob
in interfaceResultSet
- Throws:
SQLException
-
updateClob
public void updateClob(String label, Reader reader) throws SQLException
- Specified by:
updateClob
in interfaceResultSet
- Throws:
SQLException
-
updateNClob
public void updateNClob(int index, Reader reader) throws SQLException
- Specified by:
updateNClob
in interfaceResultSet
- Throws:
SQLException
-
updateNClob
public void updateNClob(String label, Reader reader) throws SQLException
- Specified by:
updateNClob
in interfaceResultSet
- Throws:
SQLException
-
getObject
public <T> T getObject(int index, Class<T> type) throws SQLException
- Specified by:
getObject
in interfaceResultSet
- Throws:
SQLException
-
getObject
public <T> T getObject(String label, Class<T> type) throws SQLException
- Specified by:
getObject
in interfaceResultSet
- Throws:
SQLException
-
unwrap
public <T> T unwrap(Class<T> iface) throws SQLException
- Specified by:
unwrap
in interfaceWrapper
- Throws:
SQLException
-
isWrapperFor
public boolean isWrapperFor(Class<?> iface) throws SQLException
- Specified by:
isWrapperFor
in interfaceWrapper
- Throws:
SQLException
-
-