Package org.mariadb.jdbc.client.result
Class UpdatableResult
- java.lang.Object
-
- org.mariadb.jdbc.client.result.Result
-
- org.mariadb.jdbc.client.result.CompleteResult
-
- org.mariadb.jdbc.client.result.UpdatableResult
-
- All Implemented Interfaces:
AutoCloseable
,ResultSet
,Wrapper
,org.mariadb.jdbc.client.Completion
,org.mariadb.jdbc.message.ServerMessage
public class UpdatableResult extends CompleteResult
Updatable result implementation
-
-
Field Summary
-
Fields inherited from class org.mariadb.jdbc.client.result.CompleteResult
BEFORE_FIRST_POS
-
Fields inherited from class org.mariadb.jdbc.client.result.Result
closed, context, data, dataSize, exceptionFactory, loaded, maxRows, metadataList, outputParameter, reader, resultSetType, row, rowPointer, statement
-
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 UpdatableResult(Statement stmt, boolean binaryProtocol, long maxRows, org.mariadb.jdbc.client.Column[] metadataList, Reader reader, org.mariadb.jdbc.client.Context context, int resultSetType, boolean closeOnCompletion, boolean traceEnable)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
absolute(int row)
void
afterLast()
void
beforeFirst()
void
cancelRowUpdates()
void
deleteRow()
boolean
first()
int
getConcurrency()
void
insertRow()
boolean
last()
void
moveToCurrentRow()
void
moveToInsertRow()
boolean
next()
Position resultset to next rowboolean
previous()
void
refreshRow()
boolean
relative(int rows)
boolean
rowDeleted()
boolean
rowInserted()
boolean
rowUpdated()
void
updateAsciiStream(int columnIndex, InputStream x)
void
updateAsciiStream(int columnIndex, InputStream x, int length)
void
updateAsciiStream(int columnIndex, InputStream x, long length)
void
updateAsciiStream(String columnLabel, InputStream x)
void
updateAsciiStream(String columnLabel, InputStream x, int length)
void
updateAsciiStream(String columnLabel, InputStream x, long length)
void
updateBigDecimal(int columnIndex, BigDecimal x)
void
updateBigDecimal(String columnLabel, BigDecimal x)
void
updateBinaryStream(int columnIndex, InputStream x)
void
updateBinaryStream(int columnIndex, InputStream x, int length)
void
updateBinaryStream(int columnIndex, InputStream x, long length)
void
updateBinaryStream(String columnLabel, InputStream x)
void
updateBinaryStream(String columnLabel, InputStream x, int length)
void
updateBinaryStream(String columnLabel, InputStream x, long length)
void
updateBlob(int columnIndex, InputStream x)
void
updateBlob(int columnIndex, InputStream x, long length)
void
updateBlob(int columnIndex, Blob x)
void
updateBlob(String columnLabel, InputStream inputStream)
void
updateBlob(String columnLabel, InputStream inputStream, long length)
void
updateBlob(String columnLabel, Blob x)
void
updateBoolean(int columnIndex, boolean x)
void
updateBoolean(String columnLabel, boolean x)
void
updateByte(int columnIndex, byte x)
void
updateByte(String columnLabel, byte x)
void
updateBytes(int columnIndex, byte[] x)
void
updateBytes(String columnLabel, byte[] x)
void
updateCharacterStream(int columnIndex, Reader x)
void
updateCharacterStream(int columnIndex, Reader x, int length)
void
updateCharacterStream(int columnIndex, Reader x, long length)
void
updateCharacterStream(String columnLabel, Reader reader)
void
updateCharacterStream(String columnLabel, Reader reader, int length)
void
updateCharacterStream(String columnLabel, Reader reader, long length)
void
updateClob(int columnIndex, Reader x)
void
updateClob(int columnIndex, Reader x, long length)
void
updateClob(int columnIndex, Clob x)
void
updateClob(String columnLabel, Reader reader)
void
updateClob(String columnLabel, Reader reader, long length)
void
updateClob(String columnLabel, Clob x)
void
updateDate(int columnIndex, Date x)
void
updateDate(String columnLabel, Date x)
void
updateDouble(int columnIndex, double x)
void
updateDouble(String columnLabel, double x)
void
updateFloat(int columnIndex, float x)
void
updateFloat(String columnLabel, float x)
void
updateInt(int columnIndex, int x)
void
updateInt(String columnLabel, int x)
void
updateLong(int columnIndex, long x)
void
updateLong(String columnLabel, long x)
void
updateNCharacterStream(int columnIndex, Reader x)
void
updateNCharacterStream(int columnIndex, Reader x, long length)
void
updateNCharacterStream(String columnLabel, Reader reader)
void
updateNCharacterStream(String columnLabel, Reader reader, long length)
void
updateNClob(int columnIndex, Reader reader)
void
updateNClob(int columnIndex, Reader reader, long length)
void
updateNClob(int columnIndex, NClob nClob)
void
updateNClob(String columnLabel, Reader reader)
void
updateNClob(String columnLabel, Reader reader, long length)
void
updateNClob(String columnLabel, NClob nClob)
void
updateNString(int columnIndex, String nString)
void
updateNString(String columnLabel, String nString)
void
updateNull(int columnIndex)
void
updateNull(String columnLabel)
void
updateObject(int columnIndex, Object x)
void
updateObject(int columnIndex, Object x, int scaleOrLength)
void
updateObject(int columnIndex, Object x, SQLType targetSqlType)
void
updateObject(int columnIndex, Object x, SQLType targetSqlType, int scaleOrLength)
void
updateObject(String columnLabel, Object x)
void
updateObject(String columnLabel, Object x, int scaleOrLength)
void
updateObject(String columnLabel, Object x, SQLType targetSqlType)
void
updateObject(String columnLabel, Object x, SQLType targetSqlType, int scaleOrLength)
void
updateRow()
void
updateShort(int columnIndex, short x)
void
updateShort(String columnLabel, short x)
void
updateString(int columnIndex, String x)
void
updateString(String columnLabel, String x)
void
updateTime(int columnIndex, Time x)
void
updateTime(String columnLabel, Time x)
void
updateTimestamp(int columnIndex, Timestamp x)
void
updateTimestamp(String columnLabel, Timestamp x)
-
Methods inherited from class org.mariadb.jdbc.client.result.CompleteResult
closeFromStmtClose, createResultSet, createResultSet, fetchRemaining, getFetchSize, getRow, isAfterLast, isFirst, isLast, setFetchSize, streaming
-
Methods inherited from class org.mariadb.jdbc.client.result.Result
abort, addRowData, checkClose, checkNotForwardOnly, clearWarnings, close, findColumn, getArray, getArray, getAsciiStream, getAsciiStream, getBigDecimal, getBigDecimal, getBigDecimal, getBigDecimal, getBigInteger, getBigInteger, getBinaryStream, getBinaryStream, getBlob, getBlob, getBoolean, getBoolean, getByte, getByte, getBytes, getBytes, getCharacterStream, getCharacterStream, getClob, getClob, getCurrentRowData, getCursorName, getDate, getDate, getDate, getDate, getDouble, getDouble, getFetchDirection, getFloat, getFloat, getHoldability, getInt, getInt, getLong, getLong, getMetaData, getNCharacterStream, getNCharacterStream, getNClob, getNClob, getNString, getNString, getObject, getObject, getObject, getObject, getObject, getObject, getRef, getRef, getRowId, getRowId, getShort, getShort, getSQLXML, getSQLXML, getStatement, getString, getString, getTime, getTime, getTime, getTime, getTimestamp, getTimestamp, getTimestamp, getTimestamp, getType, getUnicodeStream, getUnicodeStream, getURL, getURL, getWarnings, isBeforeFirst, isClosed, isOutputParameter, isWrapperFor, loaded, readNext, setFetchDirection, setStatement, skipRemaining, unwrap, updateArray, updateArray, updateRef, updateRef, updateRowData, updateRowId, updateRowId, updateSQLXML, updateSQLXML, useAliasAsName, wasNull
-
-
-
-
Constructor Detail
-
UpdatableResult
public UpdatableResult(Statement stmt, boolean binaryProtocol, long maxRows, org.mariadb.jdbc.client.Column[] metadataList, Reader reader, org.mariadb.jdbc.client.Context context, int resultSetType, boolean closeOnCompletion, boolean traceEnable) throws IOException, SQLException
Constructor- Parameters:
stmt
- statement that initiate this resultbinaryProtocol
- are rows binary encodedmaxRows
- maximum rowsmetadataList
- columns metadatareader
- packet readercontext
- connection contextresultSetType
- result-set typecloseOnCompletion
- close on completiontraceEnable
- must network exchanges be logged- Throws:
IOException
- if any socket error occursSQLException
- for other kind of error
-
-
Method Detail
-
rowUpdated
public boolean rowUpdated()
- Specified by:
rowUpdated
in interfaceResultSet
- Overrides:
rowUpdated
in classResult
-
rowInserted
public boolean rowInserted()
- Specified by:
rowInserted
in interfaceResultSet
- Overrides:
rowInserted
in classResult
-
rowDeleted
public boolean rowDeleted()
- Specified by:
rowDeleted
in interfaceResultSet
- Overrides:
rowDeleted
in classResult
-
updateNull
public void updateNull(int columnIndex) throws SQLException
- Specified by:
updateNull
in interfaceResultSet
- Overrides:
updateNull
in classResult
- Throws:
SQLException
-
updateBoolean
public void updateBoolean(int columnIndex, boolean x) throws SQLException
- Specified by:
updateBoolean
in interfaceResultSet
- Overrides:
updateBoolean
in classResult
- Throws:
SQLException
-
updateByte
public void updateByte(int columnIndex, byte x) throws SQLException
- Specified by:
updateByte
in interfaceResultSet
- Overrides:
updateByte
in classResult
- Throws:
SQLException
-
updateShort
public void updateShort(int columnIndex, short x) throws SQLException
- Specified by:
updateShort
in interfaceResultSet
- Overrides:
updateShort
in classResult
- Throws:
SQLException
-
updateInt
public void updateInt(int columnIndex, int x) throws SQLException
- Specified by:
updateInt
in interfaceResultSet
- Overrides:
updateInt
in classResult
- Throws:
SQLException
-
updateLong
public void updateLong(int columnIndex, long x) throws SQLException
- Specified by:
updateLong
in interfaceResultSet
- Overrides:
updateLong
in classResult
- Throws:
SQLException
-
updateFloat
public void updateFloat(int columnIndex, float x) throws SQLException
- Specified by:
updateFloat
in interfaceResultSet
- Overrides:
updateFloat
in classResult
- Throws:
SQLException
-
updateDouble
public void updateDouble(int columnIndex, double x) throws SQLException
- Specified by:
updateDouble
in interfaceResultSet
- Overrides:
updateDouble
in classResult
- Throws:
SQLException
-
updateBigDecimal
public void updateBigDecimal(int columnIndex, BigDecimal x) throws SQLException
- Specified by:
updateBigDecimal
in interfaceResultSet
- Overrides:
updateBigDecimal
in classResult
- Throws:
SQLException
-
updateString
public void updateString(int columnIndex, String x) throws SQLException
- Specified by:
updateString
in interfaceResultSet
- Overrides:
updateString
in classResult
- Throws:
SQLException
-
updateBytes
public void updateBytes(int columnIndex, byte[] x) throws SQLException
- Specified by:
updateBytes
in interfaceResultSet
- Overrides:
updateBytes
in classResult
- Throws:
SQLException
-
updateDate
public void updateDate(int columnIndex, Date x) throws SQLException
- Specified by:
updateDate
in interfaceResultSet
- Overrides:
updateDate
in classResult
- Throws:
SQLException
-
updateTime
public void updateTime(int columnIndex, Time x) throws SQLException
- Specified by:
updateTime
in interfaceResultSet
- Overrides:
updateTime
in classResult
- Throws:
SQLException
-
updateTimestamp
public void updateTimestamp(int columnIndex, Timestamp x) throws SQLException
- Specified by:
updateTimestamp
in interfaceResultSet
- Overrides:
updateTimestamp
in classResult
- Throws:
SQLException
-
updateAsciiStream
public void updateAsciiStream(int columnIndex, InputStream x, int length) throws SQLException
- Specified by:
updateAsciiStream
in interfaceResultSet
- Overrides:
updateAsciiStream
in classResult
- Throws:
SQLException
-
updateBinaryStream
public void updateBinaryStream(int columnIndex, InputStream x, int length) throws SQLException
- Specified by:
updateBinaryStream
in interfaceResultSet
- Overrides:
updateBinaryStream
in classResult
- Throws:
SQLException
-
updateCharacterStream
public void updateCharacterStream(int columnIndex, Reader x, int length) throws SQLException
- Specified by:
updateCharacterStream
in interfaceResultSet
- Overrides:
updateCharacterStream
in classResult
- Throws:
SQLException
-
updateObject
public void updateObject(int columnIndex, Object x, int scaleOrLength) throws SQLException
- Specified by:
updateObject
in interfaceResultSet
- Overrides:
updateObject
in classResult
- Throws:
SQLException
-
updateObject
public void updateObject(int columnIndex, Object x) throws SQLException
- Specified by:
updateObject
in interfaceResultSet
- Overrides:
updateObject
in classResult
- Throws:
SQLException
-
updateNull
public void updateNull(String columnLabel) throws SQLException
- Specified by:
updateNull
in interfaceResultSet
- Overrides:
updateNull
in classResult
- Throws:
SQLException
-
updateBoolean
public void updateBoolean(String columnLabel, boolean x) throws SQLException
- Specified by:
updateBoolean
in interfaceResultSet
- Overrides:
updateBoolean
in classResult
- Throws:
SQLException
-
updateByte
public void updateByte(String columnLabel, byte x) throws SQLException
- Specified by:
updateByte
in interfaceResultSet
- Overrides:
updateByte
in classResult
- Throws:
SQLException
-
updateShort
public void updateShort(String columnLabel, short x) throws SQLException
- Specified by:
updateShort
in interfaceResultSet
- Overrides:
updateShort
in classResult
- Throws:
SQLException
-
updateInt
public void updateInt(String columnLabel, int x) throws SQLException
- Specified by:
updateInt
in interfaceResultSet
- Overrides:
updateInt
in classResult
- Throws:
SQLException
-
updateLong
public void updateLong(String columnLabel, long x) throws SQLException
- Specified by:
updateLong
in interfaceResultSet
- Overrides:
updateLong
in classResult
- Throws:
SQLException
-
updateFloat
public void updateFloat(String columnLabel, float x) throws SQLException
- Specified by:
updateFloat
in interfaceResultSet
- Overrides:
updateFloat
in classResult
- Throws:
SQLException
-
updateDouble
public void updateDouble(String columnLabel, double x) throws SQLException
- Specified by:
updateDouble
in interfaceResultSet
- Overrides:
updateDouble
in classResult
- Throws:
SQLException
-
updateBigDecimal
public void updateBigDecimal(String columnLabel, BigDecimal x) throws SQLException
- Specified by:
updateBigDecimal
in interfaceResultSet
- Overrides:
updateBigDecimal
in classResult
- Throws:
SQLException
-
updateString
public void updateString(String columnLabel, String x) throws SQLException
- Specified by:
updateString
in interfaceResultSet
- Overrides:
updateString
in classResult
- Throws:
SQLException
-
updateBytes
public void updateBytes(String columnLabel, byte[] x) throws SQLException
- Specified by:
updateBytes
in interfaceResultSet
- Overrides:
updateBytes
in classResult
- Throws:
SQLException
-
updateDate
public void updateDate(String columnLabel, Date x) throws SQLException
- Specified by:
updateDate
in interfaceResultSet
- Overrides:
updateDate
in classResult
- Throws:
SQLException
-
updateTime
public void updateTime(String columnLabel, Time x) throws SQLException
- Specified by:
updateTime
in interfaceResultSet
- Overrides:
updateTime
in classResult
- Throws:
SQLException
-
updateTimestamp
public void updateTimestamp(String columnLabel, Timestamp x) throws SQLException
- Specified by:
updateTimestamp
in interfaceResultSet
- Overrides:
updateTimestamp
in classResult
- Throws:
SQLException
-
updateAsciiStream
public void updateAsciiStream(String columnLabel, InputStream x, int length) throws SQLException
- Specified by:
updateAsciiStream
in interfaceResultSet
- Overrides:
updateAsciiStream
in classResult
- Throws:
SQLException
-
updateBinaryStream
public void updateBinaryStream(String columnLabel, InputStream x, int length) throws SQLException
- Specified by:
updateBinaryStream
in interfaceResultSet
- Overrides:
updateBinaryStream
in classResult
- Throws:
SQLException
-
updateCharacterStream
public void updateCharacterStream(String columnLabel, Reader reader, int length) throws SQLException
- Specified by:
updateCharacterStream
in interfaceResultSet
- Overrides:
updateCharacterStream
in classResult
- Throws:
SQLException
-
updateObject
public void updateObject(String columnLabel, Object x, int scaleOrLength) throws SQLException
- Specified by:
updateObject
in interfaceResultSet
- Overrides:
updateObject
in classResult
- Throws:
SQLException
-
updateObject
public void updateObject(String columnLabel, Object x) throws SQLException
- Specified by:
updateObject
in interfaceResultSet
- Overrides:
updateObject
in classResult
- Throws:
SQLException
-
insertRow
public void insertRow() throws SQLException
- Specified by:
insertRow
in interfaceResultSet
- Overrides:
insertRow
in classResult
- Throws:
SQLException
-
updateRow
public void updateRow() throws SQLException
- Specified by:
updateRow
in interfaceResultSet
- Overrides:
updateRow
in classResult
- Throws:
SQLException
-
deleteRow
public void deleteRow() throws SQLException
- Specified by:
deleteRow
in interfaceResultSet
- Overrides:
deleteRow
in classResult
- Throws:
SQLException
-
refreshRow
public void refreshRow() throws SQLException
- Specified by:
refreshRow
in interfaceResultSet
- Overrides:
refreshRow
in classResult
- Throws:
SQLException
-
cancelRowUpdates
public void cancelRowUpdates()
- Specified by:
cancelRowUpdates
in interfaceResultSet
- Overrides:
cancelRowUpdates
in classResult
-
moveToInsertRow
public void moveToInsertRow() throws SQLException
- Specified by:
moveToInsertRow
in interfaceResultSet
- Overrides:
moveToInsertRow
in classResult
- Throws:
SQLException
-
moveToCurrentRow
public void moveToCurrentRow()
- Specified by:
moveToCurrentRow
in interfaceResultSet
- Overrides:
moveToCurrentRow
in classResult
-
updateBlob
public void updateBlob(int columnIndex, Blob x) throws SQLException
- Specified by:
updateBlob
in interfaceResultSet
- Overrides:
updateBlob
in classResult
- Throws:
SQLException
-
updateBlob
public void updateBlob(String columnLabel, Blob x) throws SQLException
- Specified by:
updateBlob
in interfaceResultSet
- Overrides:
updateBlob
in classResult
- Throws:
SQLException
-
updateClob
public void updateClob(int columnIndex, Clob x) throws SQLException
- Specified by:
updateClob
in interfaceResultSet
- Overrides:
updateClob
in classResult
- Throws:
SQLException
-
updateClob
public void updateClob(String columnLabel, Clob x) throws SQLException
- Specified by:
updateClob
in interfaceResultSet
- Overrides:
updateClob
in classResult
- Throws:
SQLException
-
updateNString
public void updateNString(int columnIndex, String nString) throws SQLException
- Specified by:
updateNString
in interfaceResultSet
- Overrides:
updateNString
in classResult
- Throws:
SQLException
-
updateNString
public void updateNString(String columnLabel, String nString) throws SQLException
- Specified by:
updateNString
in interfaceResultSet
- Overrides:
updateNString
in classResult
- Throws:
SQLException
-
updateNClob
public void updateNClob(int columnIndex, NClob nClob) throws SQLException
- Specified by:
updateNClob
in interfaceResultSet
- Overrides:
updateNClob
in classResult
- Throws:
SQLException
-
updateNClob
public void updateNClob(String columnLabel, NClob nClob) throws SQLException
- Specified by:
updateNClob
in interfaceResultSet
- Overrides:
updateNClob
in classResult
- Throws:
SQLException
-
updateNCharacterStream
public void updateNCharacterStream(int columnIndex, Reader x, long length) throws SQLException
- Specified by:
updateNCharacterStream
in interfaceResultSet
- Overrides:
updateNCharacterStream
in classResult
- Throws:
SQLException
-
updateNCharacterStream
public void updateNCharacterStream(String columnLabel, Reader reader, long length) throws SQLException
- Specified by:
updateNCharacterStream
in interfaceResultSet
- Overrides:
updateNCharacterStream
in classResult
- Throws:
SQLException
-
updateAsciiStream
public void updateAsciiStream(int columnIndex, InputStream x, long length) throws SQLException
- Specified by:
updateAsciiStream
in interfaceResultSet
- Overrides:
updateAsciiStream
in classResult
- Throws:
SQLException
-
updateBinaryStream
public void updateBinaryStream(int columnIndex, InputStream x, long length) throws SQLException
- Specified by:
updateBinaryStream
in interfaceResultSet
- Overrides:
updateBinaryStream
in classResult
- Throws:
SQLException
-
updateCharacterStream
public void updateCharacterStream(int columnIndex, Reader x, long length) throws SQLException
- Specified by:
updateCharacterStream
in interfaceResultSet
- Overrides:
updateCharacterStream
in classResult
- Throws:
SQLException
-
updateAsciiStream
public void updateAsciiStream(String columnLabel, InputStream x, long length) throws SQLException
- Specified by:
updateAsciiStream
in interfaceResultSet
- Overrides:
updateAsciiStream
in classResult
- Throws:
SQLException
-
updateBinaryStream
public void updateBinaryStream(String columnLabel, InputStream x, long length) throws SQLException
- Specified by:
updateBinaryStream
in interfaceResultSet
- Overrides:
updateBinaryStream
in classResult
- Throws:
SQLException
-
updateCharacterStream
public void updateCharacterStream(String columnLabel, Reader reader, long length) throws SQLException
- Specified by:
updateCharacterStream
in interfaceResultSet
- Overrides:
updateCharacterStream
in classResult
- Throws:
SQLException
-
updateBlob
public void updateBlob(int columnIndex, InputStream x, long length) throws SQLException
- Specified by:
updateBlob
in interfaceResultSet
- Overrides:
updateBlob
in classResult
- Throws:
SQLException
-
updateBlob
public void updateBlob(String columnLabel, InputStream inputStream, long length) throws SQLException
- Specified by:
updateBlob
in interfaceResultSet
- Overrides:
updateBlob
in classResult
- Throws:
SQLException
-
updateClob
public void updateClob(int columnIndex, Reader x, long length) throws SQLException
- Specified by:
updateClob
in interfaceResultSet
- Overrides:
updateClob
in classResult
- Throws:
SQLException
-
updateClob
public void updateClob(String columnLabel, Reader reader, long length) throws SQLException
- Specified by:
updateClob
in interfaceResultSet
- Overrides:
updateClob
in classResult
- Throws:
SQLException
-
updateNClob
public void updateNClob(int columnIndex, Reader reader, long length) throws SQLException
- Specified by:
updateNClob
in interfaceResultSet
- Overrides:
updateNClob
in classResult
- Throws:
SQLException
-
updateNClob
public void updateNClob(String columnLabel, Reader reader, long length) throws SQLException
- Specified by:
updateNClob
in interfaceResultSet
- Overrides:
updateNClob
in classResult
- Throws:
SQLException
-
updateNCharacterStream
public void updateNCharacterStream(int columnIndex, Reader x) throws SQLException
- Specified by:
updateNCharacterStream
in interfaceResultSet
- Overrides:
updateNCharacterStream
in classResult
- Throws:
SQLException
-
updateNCharacterStream
public void updateNCharacterStream(String columnLabel, Reader reader) throws SQLException
- Specified by:
updateNCharacterStream
in interfaceResultSet
- Overrides:
updateNCharacterStream
in classResult
- Throws:
SQLException
-
updateAsciiStream
public void updateAsciiStream(int columnIndex, InputStream x) throws SQLException
- Specified by:
updateAsciiStream
in interfaceResultSet
- Overrides:
updateAsciiStream
in classResult
- Throws:
SQLException
-
updateBinaryStream
public void updateBinaryStream(int columnIndex, InputStream x) throws SQLException
- Specified by:
updateBinaryStream
in interfaceResultSet
- Overrides:
updateBinaryStream
in classResult
- Throws:
SQLException
-
updateCharacterStream
public void updateCharacterStream(int columnIndex, Reader x) throws SQLException
- Specified by:
updateCharacterStream
in interfaceResultSet
- Overrides:
updateCharacterStream
in classResult
- Throws:
SQLException
-
updateAsciiStream
public void updateAsciiStream(String columnLabel, InputStream x) throws SQLException
- Specified by:
updateAsciiStream
in interfaceResultSet
- Overrides:
updateAsciiStream
in classResult
- Throws:
SQLException
-
updateBinaryStream
public void updateBinaryStream(String columnLabel, InputStream x) throws SQLException
- Specified by:
updateBinaryStream
in interfaceResultSet
- Overrides:
updateBinaryStream
in classResult
- Throws:
SQLException
-
updateCharacterStream
public void updateCharacterStream(String columnLabel, Reader reader) throws SQLException
- Specified by:
updateCharacterStream
in interfaceResultSet
- Overrides:
updateCharacterStream
in classResult
- Throws:
SQLException
-
updateBlob
public void updateBlob(int columnIndex, InputStream x) throws SQLException
- Specified by:
updateBlob
in interfaceResultSet
- Overrides:
updateBlob
in classResult
- Throws:
SQLException
-
updateBlob
public void updateBlob(String columnLabel, InputStream inputStream) throws SQLException
- Specified by:
updateBlob
in interfaceResultSet
- Overrides:
updateBlob
in classResult
- Throws:
SQLException
-
updateClob
public void updateClob(int columnIndex, Reader x) throws SQLException
- Specified by:
updateClob
in interfaceResultSet
- Overrides:
updateClob
in classResult
- Throws:
SQLException
-
updateClob
public void updateClob(String columnLabel, Reader reader) throws SQLException
- Specified by:
updateClob
in interfaceResultSet
- Overrides:
updateClob
in classResult
- Throws:
SQLException
-
updateNClob
public void updateNClob(int columnIndex, Reader reader) throws SQLException
- Specified by:
updateNClob
in interfaceResultSet
- Overrides:
updateNClob
in classResult
- Throws:
SQLException
-
updateNClob
public void updateNClob(String columnLabel, Reader reader) throws SQLException
- Specified by:
updateNClob
in interfaceResultSet
- Overrides:
updateNClob
in classResult
- Throws:
SQLException
-
updateObject
public void updateObject(int columnIndex, Object x, SQLType targetSqlType, int scaleOrLength) throws SQLException
- Specified by:
updateObject
in interfaceResultSet
- Overrides:
updateObject
in classResult
- Throws:
SQLException
-
updateObject
public void updateObject(String columnLabel, Object x, SQLType targetSqlType, int scaleOrLength) throws SQLException
- Specified by:
updateObject
in interfaceResultSet
- Overrides:
updateObject
in classResult
- Throws:
SQLException
-
updateObject
public void updateObject(int columnIndex, Object x, SQLType targetSqlType) throws SQLException
- Specified by:
updateObject
in interfaceResultSet
- Overrides:
updateObject
in classResult
- Throws:
SQLException
-
updateObject
public void updateObject(String columnLabel, Object x, SQLType targetSqlType) throws SQLException
- Specified by:
updateObject
in interfaceResultSet
- Overrides:
updateObject
in classResult
- Throws:
SQLException
-
getConcurrency
public int getConcurrency()
- Specified by:
getConcurrency
in interfaceResultSet
- Overrides:
getConcurrency
in classResult
-
beforeFirst
public void beforeFirst() throws SQLException
- Specified by:
beforeFirst
in interfaceResultSet
- Overrides:
beforeFirst
in classCompleteResult
- Throws:
SQLException
-
first
public boolean first() throws SQLException
- Specified by:
first
in interfaceResultSet
- Overrides:
first
in classCompleteResult
- Throws:
SQLException
-
last
public boolean last() throws SQLException
- Specified by:
last
in interfaceResultSet
- Overrides:
last
in classCompleteResult
- Throws:
SQLException
-
afterLast
public void afterLast() throws SQLException
- Specified by:
afterLast
in interfaceResultSet
- Overrides:
afterLast
in classCompleteResult
- Throws:
SQLException
-
absolute
public boolean absolute(int row) throws SQLException
- Specified by:
absolute
in interfaceResultSet
- Overrides:
absolute
in classCompleteResult
- Throws:
SQLException
-
relative
public boolean relative(int rows) throws SQLException
- Specified by:
relative
in interfaceResultSet
- Overrides:
relative
in classCompleteResult
- Throws:
SQLException
-
next
public boolean next() throws SQLException
Description copied from class:Result
Position resultset to next row- Specified by:
next
in interfaceResultSet
- Overrides:
next
in classCompleteResult
- Returns:
- true if next row exists
- Throws:
SQLException
- if any error occurs
-
previous
public boolean previous() throws SQLException
- Specified by:
previous
in interfaceResultSet
- Overrides:
previous
in classCompleteResult
- Throws:
SQLException
-
-