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 booleanabsolute(int row)voidafterLast()voidbeforeFirst()voidcancelRowUpdates()voiddeleteRow()booleanfirst()intgetConcurrency()voidinsertRow()booleanlast()voidmoveToCurrentRow()voidmoveToInsertRow()booleannext()Position resultset to next rowbooleanprevious()voidrefreshRow()booleanrelative(int rows)booleanrowDeleted()booleanrowInserted()booleanrowUpdated()voidupdateAsciiStream(int columnIndex, InputStream x)voidupdateAsciiStream(int columnIndex, InputStream x, int length)voidupdateAsciiStream(int columnIndex, InputStream x, long length)voidupdateAsciiStream(String columnLabel, InputStream x)voidupdateAsciiStream(String columnLabel, InputStream x, int length)voidupdateAsciiStream(String columnLabel, InputStream x, long length)voidupdateBigDecimal(int columnIndex, BigDecimal x)voidupdateBigDecimal(String columnLabel, BigDecimal x)voidupdateBinaryStream(int columnIndex, InputStream x)voidupdateBinaryStream(int columnIndex, InputStream x, int length)voidupdateBinaryStream(int columnIndex, InputStream x, long length)voidupdateBinaryStream(String columnLabel, InputStream x)voidupdateBinaryStream(String columnLabel, InputStream x, int length)voidupdateBinaryStream(String columnLabel, InputStream x, long length)voidupdateBlob(int columnIndex, InputStream x)voidupdateBlob(int columnIndex, InputStream x, long length)voidupdateBlob(int columnIndex, Blob x)voidupdateBlob(String columnLabel, InputStream inputStream)voidupdateBlob(String columnLabel, InputStream inputStream, long length)voidupdateBlob(String columnLabel, Blob x)voidupdateBoolean(int columnIndex, boolean x)voidupdateBoolean(String columnLabel, boolean x)voidupdateByte(int columnIndex, byte x)voidupdateByte(String columnLabel, byte x)voidupdateBytes(int columnIndex, byte[] x)voidupdateBytes(String columnLabel, byte[] x)voidupdateCharacterStream(int columnIndex, Reader x)voidupdateCharacterStream(int columnIndex, Reader x, int length)voidupdateCharacterStream(int columnIndex, Reader x, long length)voidupdateCharacterStream(String columnLabel, Reader reader)voidupdateCharacterStream(String columnLabel, Reader reader, int length)voidupdateCharacterStream(String columnLabel, Reader reader, long length)voidupdateClob(int columnIndex, Reader x)voidupdateClob(int columnIndex, Reader x, long length)voidupdateClob(int columnIndex, Clob x)voidupdateClob(String columnLabel, Reader reader)voidupdateClob(String columnLabel, Reader reader, long length)voidupdateClob(String columnLabel, Clob x)voidupdateDate(int columnIndex, Date x)voidupdateDate(String columnLabel, Date x)voidupdateDouble(int columnIndex, double x)voidupdateDouble(String columnLabel, double x)voidupdateFloat(int columnIndex, float x)voidupdateFloat(String columnLabel, float x)voidupdateInt(int columnIndex, int x)voidupdateInt(String columnLabel, int x)voidupdateLong(int columnIndex, long x)voidupdateLong(String columnLabel, long x)voidupdateNCharacterStream(int columnIndex, Reader x)voidupdateNCharacterStream(int columnIndex, Reader x, long length)voidupdateNCharacterStream(String columnLabel, Reader reader)voidupdateNCharacterStream(String columnLabel, Reader reader, long length)voidupdateNClob(int columnIndex, Reader reader)voidupdateNClob(int columnIndex, Reader reader, long length)voidupdateNClob(int columnIndex, NClob nClob)voidupdateNClob(String columnLabel, Reader reader)voidupdateNClob(String columnLabel, Reader reader, long length)voidupdateNClob(String columnLabel, NClob nClob)voidupdateNString(int columnIndex, String nString)voidupdateNString(String columnLabel, String nString)voidupdateNull(int columnIndex)voidupdateNull(String columnLabel)voidupdateObject(int columnIndex, Object x)voidupdateObject(int columnIndex, Object x, int scaleOrLength)voidupdateObject(int columnIndex, Object x, SQLType targetSqlType)voidupdateObject(int columnIndex, Object x, SQLType targetSqlType, int scaleOrLength)voidupdateObject(String columnLabel, Object x)voidupdateObject(String columnLabel, Object x, int scaleOrLength)voidupdateObject(String columnLabel, Object x, SQLType targetSqlType)voidupdateObject(String columnLabel, Object x, SQLType targetSqlType, int scaleOrLength)voidupdateRow()voidupdateShort(int columnIndex, short x)voidupdateShort(String columnLabel, short x)voidupdateString(int columnIndex, String x)voidupdateString(String columnLabel, String x)voidupdateTime(int columnIndex, Time x)voidupdateTime(String columnLabel, Time x)voidupdateTimestamp(int columnIndex, Timestamp x)voidupdateTimestamp(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:
rowUpdatedin interfaceResultSet- Overrides:
rowUpdatedin classResult
-
rowInserted
public boolean rowInserted()
- Specified by:
rowInsertedin interfaceResultSet- Overrides:
rowInsertedin classResult
-
rowDeleted
public boolean rowDeleted()
- Specified by:
rowDeletedin interfaceResultSet- Overrides:
rowDeletedin classResult
-
updateNull
public void updateNull(int columnIndex) throws SQLException- Specified by:
updateNullin interfaceResultSet- Overrides:
updateNullin classResult- Throws:
SQLException
-
updateBoolean
public void updateBoolean(int columnIndex, boolean x) throws SQLException- Specified by:
updateBooleanin interfaceResultSet- Overrides:
updateBooleanin classResult- Throws:
SQLException
-
updateByte
public void updateByte(int columnIndex, byte x) throws SQLException- Specified by:
updateBytein interfaceResultSet- Overrides:
updateBytein classResult- Throws:
SQLException
-
updateShort
public void updateShort(int columnIndex, short x) throws SQLException- Specified by:
updateShortin interfaceResultSet- Overrides:
updateShortin classResult- Throws:
SQLException
-
updateInt
public void updateInt(int columnIndex, int x) throws SQLException- Specified by:
updateIntin interfaceResultSet- Overrides:
updateIntin classResult- Throws:
SQLException
-
updateLong
public void updateLong(int columnIndex, long x) throws SQLException- Specified by:
updateLongin interfaceResultSet- Overrides:
updateLongin classResult- Throws:
SQLException
-
updateFloat
public void updateFloat(int columnIndex, float x) throws SQLException- Specified by:
updateFloatin interfaceResultSet- Overrides:
updateFloatin classResult- Throws:
SQLException
-
updateDouble
public void updateDouble(int columnIndex, double x) throws SQLException- Specified by:
updateDoublein interfaceResultSet- Overrides:
updateDoublein classResult- Throws:
SQLException
-
updateBigDecimal
public void updateBigDecimal(int columnIndex, BigDecimal x) throws SQLException- Specified by:
updateBigDecimalin interfaceResultSet- Overrides:
updateBigDecimalin classResult- Throws:
SQLException
-
updateString
public void updateString(int columnIndex, String x) throws SQLException- Specified by:
updateStringin interfaceResultSet- Overrides:
updateStringin classResult- Throws:
SQLException
-
updateBytes
public void updateBytes(int columnIndex, byte[] x) throws SQLException- Specified by:
updateBytesin interfaceResultSet- Overrides:
updateBytesin classResult- Throws:
SQLException
-
updateDate
public void updateDate(int columnIndex, Date x) throws SQLException- Specified by:
updateDatein interfaceResultSet- Overrides:
updateDatein classResult- Throws:
SQLException
-
updateTime
public void updateTime(int columnIndex, Time x) throws SQLException- Specified by:
updateTimein interfaceResultSet- Overrides:
updateTimein classResult- Throws:
SQLException
-
updateTimestamp
public void updateTimestamp(int columnIndex, Timestamp x) throws SQLException- Specified by:
updateTimestampin interfaceResultSet- Overrides:
updateTimestampin classResult- Throws:
SQLException
-
updateAsciiStream
public void updateAsciiStream(int columnIndex, InputStream x, int length) throws SQLException- Specified by:
updateAsciiStreamin interfaceResultSet- Overrides:
updateAsciiStreamin classResult- Throws:
SQLException
-
updateBinaryStream
public void updateBinaryStream(int columnIndex, InputStream x, int length) throws SQLException- Specified by:
updateBinaryStreamin interfaceResultSet- Overrides:
updateBinaryStreamin classResult- Throws:
SQLException
-
updateCharacterStream
public void updateCharacterStream(int columnIndex, Reader x, int length) throws SQLException- Specified by:
updateCharacterStreamin interfaceResultSet- Overrides:
updateCharacterStreamin classResult- Throws:
SQLException
-
updateObject
public void updateObject(int columnIndex, Object x, int scaleOrLength) throws SQLException- Specified by:
updateObjectin interfaceResultSet- Overrides:
updateObjectin classResult- Throws:
SQLException
-
updateObject
public void updateObject(int columnIndex, Object x) throws SQLException- Specified by:
updateObjectin interfaceResultSet- Overrides:
updateObjectin classResult- Throws:
SQLException
-
updateNull
public void updateNull(String columnLabel) throws SQLException
- Specified by:
updateNullin interfaceResultSet- Overrides:
updateNullin classResult- Throws:
SQLException
-
updateBoolean
public void updateBoolean(String columnLabel, boolean x) throws SQLException
- Specified by:
updateBooleanin interfaceResultSet- Overrides:
updateBooleanin classResult- Throws:
SQLException
-
updateByte
public void updateByte(String columnLabel, byte x) throws SQLException
- Specified by:
updateBytein interfaceResultSet- Overrides:
updateBytein classResult- Throws:
SQLException
-
updateShort
public void updateShort(String columnLabel, short x) throws SQLException
- Specified by:
updateShortin interfaceResultSet- Overrides:
updateShortin classResult- Throws:
SQLException
-
updateInt
public void updateInt(String columnLabel, int x) throws SQLException
- Specified by:
updateIntin interfaceResultSet- Overrides:
updateIntin classResult- Throws:
SQLException
-
updateLong
public void updateLong(String columnLabel, long x) throws SQLException
- Specified by:
updateLongin interfaceResultSet- Overrides:
updateLongin classResult- Throws:
SQLException
-
updateFloat
public void updateFloat(String columnLabel, float x) throws SQLException
- Specified by:
updateFloatin interfaceResultSet- Overrides:
updateFloatin classResult- Throws:
SQLException
-
updateDouble
public void updateDouble(String columnLabel, double x) throws SQLException
- Specified by:
updateDoublein interfaceResultSet- Overrides:
updateDoublein classResult- Throws:
SQLException
-
updateBigDecimal
public void updateBigDecimal(String columnLabel, BigDecimal x) throws SQLException
- Specified by:
updateBigDecimalin interfaceResultSet- Overrides:
updateBigDecimalin classResult- Throws:
SQLException
-
updateString
public void updateString(String columnLabel, String x) throws SQLException
- Specified by:
updateStringin interfaceResultSet- Overrides:
updateStringin classResult- Throws:
SQLException
-
updateBytes
public void updateBytes(String columnLabel, byte[] x) throws SQLException
- Specified by:
updateBytesin interfaceResultSet- Overrides:
updateBytesin classResult- Throws:
SQLException
-
updateDate
public void updateDate(String columnLabel, Date x) throws SQLException
- Specified by:
updateDatein interfaceResultSet- Overrides:
updateDatein classResult- Throws:
SQLException
-
updateTime
public void updateTime(String columnLabel, Time x) throws SQLException
- Specified by:
updateTimein interfaceResultSet- Overrides:
updateTimein classResult- Throws:
SQLException
-
updateTimestamp
public void updateTimestamp(String columnLabel, Timestamp x) throws SQLException
- Specified by:
updateTimestampin interfaceResultSet- Overrides:
updateTimestampin classResult- Throws:
SQLException
-
updateAsciiStream
public void updateAsciiStream(String columnLabel, InputStream x, int length) throws SQLException
- Specified by:
updateAsciiStreamin interfaceResultSet- Overrides:
updateAsciiStreamin classResult- Throws:
SQLException
-
updateBinaryStream
public void updateBinaryStream(String columnLabel, InputStream x, int length) throws SQLException
- Specified by:
updateBinaryStreamin interfaceResultSet- Overrides:
updateBinaryStreamin classResult- Throws:
SQLException
-
updateCharacterStream
public void updateCharacterStream(String columnLabel, Reader reader, int length) throws SQLException
- Specified by:
updateCharacterStreamin interfaceResultSet- Overrides:
updateCharacterStreamin classResult- Throws:
SQLException
-
updateObject
public void updateObject(String columnLabel, Object x, int scaleOrLength) throws SQLException
- Specified by:
updateObjectin interfaceResultSet- Overrides:
updateObjectin classResult- Throws:
SQLException
-
updateObject
public void updateObject(String columnLabel, Object x) throws SQLException
- Specified by:
updateObjectin interfaceResultSet- Overrides:
updateObjectin classResult- Throws:
SQLException
-
insertRow
public void insertRow() throws SQLException- Specified by:
insertRowin interfaceResultSet- Overrides:
insertRowin classResult- Throws:
SQLException
-
updateRow
public void updateRow() throws SQLException- Specified by:
updateRowin interfaceResultSet- Overrides:
updateRowin classResult- Throws:
SQLException
-
deleteRow
public void deleteRow() throws SQLException- Specified by:
deleteRowin interfaceResultSet- Overrides:
deleteRowin classResult- Throws:
SQLException
-
refreshRow
public void refreshRow() throws SQLException- Specified by:
refreshRowin interfaceResultSet- Overrides:
refreshRowin classResult- Throws:
SQLException
-
cancelRowUpdates
public void cancelRowUpdates()
- Specified by:
cancelRowUpdatesin interfaceResultSet- Overrides:
cancelRowUpdatesin classResult
-
moveToInsertRow
public void moveToInsertRow() throws SQLException- Specified by:
moveToInsertRowin interfaceResultSet- Overrides:
moveToInsertRowin classResult- Throws:
SQLException
-
moveToCurrentRow
public void moveToCurrentRow()
- Specified by:
moveToCurrentRowin interfaceResultSet- Overrides:
moveToCurrentRowin classResult
-
updateBlob
public void updateBlob(int columnIndex, Blob x) throws SQLException- Specified by:
updateBlobin interfaceResultSet- Overrides:
updateBlobin classResult- Throws:
SQLException
-
updateBlob
public void updateBlob(String columnLabel, Blob x) throws SQLException
- Specified by:
updateBlobin interfaceResultSet- Overrides:
updateBlobin classResult- Throws:
SQLException
-
updateClob
public void updateClob(int columnIndex, Clob x) throws SQLException- Specified by:
updateClobin interfaceResultSet- Overrides:
updateClobin classResult- Throws:
SQLException
-
updateClob
public void updateClob(String columnLabel, Clob x) throws SQLException
- Specified by:
updateClobin interfaceResultSet- Overrides:
updateClobin classResult- Throws:
SQLException
-
updateNString
public void updateNString(int columnIndex, String nString) throws SQLException- Specified by:
updateNStringin interfaceResultSet- Overrides:
updateNStringin classResult- Throws:
SQLException
-
updateNString
public void updateNString(String columnLabel, String nString) throws SQLException
- Specified by:
updateNStringin interfaceResultSet- Overrides:
updateNStringin classResult- Throws:
SQLException
-
updateNClob
public void updateNClob(int columnIndex, NClob nClob) throws SQLException- Specified by:
updateNClobin interfaceResultSet- Overrides:
updateNClobin classResult- Throws:
SQLException
-
updateNClob
public void updateNClob(String columnLabel, NClob nClob) throws SQLException
- Specified by:
updateNClobin interfaceResultSet- Overrides:
updateNClobin classResult- Throws:
SQLException
-
updateNCharacterStream
public void updateNCharacterStream(int columnIndex, Reader x, long length) throws SQLException- Specified by:
updateNCharacterStreamin interfaceResultSet- Overrides:
updateNCharacterStreamin classResult- Throws:
SQLException
-
updateNCharacterStream
public void updateNCharacterStream(String columnLabel, Reader reader, long length) throws SQLException
- Specified by:
updateNCharacterStreamin interfaceResultSet- Overrides:
updateNCharacterStreamin classResult- Throws:
SQLException
-
updateAsciiStream
public void updateAsciiStream(int columnIndex, InputStream x, long length) throws SQLException- Specified by:
updateAsciiStreamin interfaceResultSet- Overrides:
updateAsciiStreamin classResult- Throws:
SQLException
-
updateBinaryStream
public void updateBinaryStream(int columnIndex, InputStream x, long length) throws SQLException- Specified by:
updateBinaryStreamin interfaceResultSet- Overrides:
updateBinaryStreamin classResult- Throws:
SQLException
-
updateCharacterStream
public void updateCharacterStream(int columnIndex, Reader x, long length) throws SQLException- Specified by:
updateCharacterStreamin interfaceResultSet- Overrides:
updateCharacterStreamin classResult- Throws:
SQLException
-
updateAsciiStream
public void updateAsciiStream(String columnLabel, InputStream x, long length) throws SQLException
- Specified by:
updateAsciiStreamin interfaceResultSet- Overrides:
updateAsciiStreamin classResult- Throws:
SQLException
-
updateBinaryStream
public void updateBinaryStream(String columnLabel, InputStream x, long length) throws SQLException
- Specified by:
updateBinaryStreamin interfaceResultSet- Overrides:
updateBinaryStreamin classResult- Throws:
SQLException
-
updateCharacterStream
public void updateCharacterStream(String columnLabel, Reader reader, long length) throws SQLException
- Specified by:
updateCharacterStreamin interfaceResultSet- Overrides:
updateCharacterStreamin classResult- Throws:
SQLException
-
updateBlob
public void updateBlob(int columnIndex, InputStream x, long length) throws SQLException- Specified by:
updateBlobin interfaceResultSet- Overrides:
updateBlobin classResult- Throws:
SQLException
-
updateBlob
public void updateBlob(String columnLabel, InputStream inputStream, long length) throws SQLException
- Specified by:
updateBlobin interfaceResultSet- Overrides:
updateBlobin classResult- Throws:
SQLException
-
updateClob
public void updateClob(int columnIndex, Reader x, long length) throws SQLException- Specified by:
updateClobin interfaceResultSet- Overrides:
updateClobin classResult- Throws:
SQLException
-
updateClob
public void updateClob(String columnLabel, Reader reader, long length) throws SQLException
- Specified by:
updateClobin interfaceResultSet- Overrides:
updateClobin classResult- Throws:
SQLException
-
updateNClob
public void updateNClob(int columnIndex, Reader reader, long length) throws SQLException- Specified by:
updateNClobin interfaceResultSet- Overrides:
updateNClobin classResult- Throws:
SQLException
-
updateNClob
public void updateNClob(String columnLabel, Reader reader, long length) throws SQLException
- Specified by:
updateNClobin interfaceResultSet- Overrides:
updateNClobin classResult- Throws:
SQLException
-
updateNCharacterStream
public void updateNCharacterStream(int columnIndex, Reader x) throws SQLException- Specified by:
updateNCharacterStreamin interfaceResultSet- Overrides:
updateNCharacterStreamin classResult- Throws:
SQLException
-
updateNCharacterStream
public void updateNCharacterStream(String columnLabel, Reader reader) throws SQLException
- Specified by:
updateNCharacterStreamin interfaceResultSet- Overrides:
updateNCharacterStreamin classResult- Throws:
SQLException
-
updateAsciiStream
public void updateAsciiStream(int columnIndex, InputStream x) throws SQLException- Specified by:
updateAsciiStreamin interfaceResultSet- Overrides:
updateAsciiStreamin classResult- Throws:
SQLException
-
updateBinaryStream
public void updateBinaryStream(int columnIndex, InputStream x) throws SQLException- Specified by:
updateBinaryStreamin interfaceResultSet- Overrides:
updateBinaryStreamin classResult- Throws:
SQLException
-
updateCharacterStream
public void updateCharacterStream(int columnIndex, Reader x) throws SQLException- Specified by:
updateCharacterStreamin interfaceResultSet- Overrides:
updateCharacterStreamin classResult- Throws:
SQLException
-
updateAsciiStream
public void updateAsciiStream(String columnLabel, InputStream x) throws SQLException
- Specified by:
updateAsciiStreamin interfaceResultSet- Overrides:
updateAsciiStreamin classResult- Throws:
SQLException
-
updateBinaryStream
public void updateBinaryStream(String columnLabel, InputStream x) throws SQLException
- Specified by:
updateBinaryStreamin interfaceResultSet- Overrides:
updateBinaryStreamin classResult- Throws:
SQLException
-
updateCharacterStream
public void updateCharacterStream(String columnLabel, Reader reader) throws SQLException
- Specified by:
updateCharacterStreamin interfaceResultSet- Overrides:
updateCharacterStreamin classResult- Throws:
SQLException
-
updateBlob
public void updateBlob(int columnIndex, InputStream x) throws SQLException- Specified by:
updateBlobin interfaceResultSet- Overrides:
updateBlobin classResult- Throws:
SQLException
-
updateBlob
public void updateBlob(String columnLabel, InputStream inputStream) throws SQLException
- Specified by:
updateBlobin interfaceResultSet- Overrides:
updateBlobin classResult- Throws:
SQLException
-
updateClob
public void updateClob(int columnIndex, Reader x) throws SQLException- Specified by:
updateClobin interfaceResultSet- Overrides:
updateClobin classResult- Throws:
SQLException
-
updateClob
public void updateClob(String columnLabel, Reader reader) throws SQLException
- Specified by:
updateClobin interfaceResultSet- Overrides:
updateClobin classResult- Throws:
SQLException
-
updateNClob
public void updateNClob(int columnIndex, Reader reader) throws SQLException- Specified by:
updateNClobin interfaceResultSet- Overrides:
updateNClobin classResult- Throws:
SQLException
-
updateNClob
public void updateNClob(String columnLabel, Reader reader) throws SQLException
- Specified by:
updateNClobin interfaceResultSet- Overrides:
updateNClobin classResult- Throws:
SQLException
-
updateObject
public void updateObject(int columnIndex, Object x, SQLType targetSqlType, int scaleOrLength) throws SQLException- Specified by:
updateObjectin interfaceResultSet- Overrides:
updateObjectin classResult- Throws:
SQLException
-
updateObject
public void updateObject(String columnLabel, Object x, SQLType targetSqlType, int scaleOrLength) throws SQLException
- Specified by:
updateObjectin interfaceResultSet- Overrides:
updateObjectin classResult- Throws:
SQLException
-
updateObject
public void updateObject(int columnIndex, Object x, SQLType targetSqlType) throws SQLException- Specified by:
updateObjectin interfaceResultSet- Overrides:
updateObjectin classResult- Throws:
SQLException
-
updateObject
public void updateObject(String columnLabel, Object x, SQLType targetSqlType) throws SQLException
- Specified by:
updateObjectin interfaceResultSet- Overrides:
updateObjectin classResult- Throws:
SQLException
-
getConcurrency
public int getConcurrency()
- Specified by:
getConcurrencyin interfaceResultSet- Overrides:
getConcurrencyin classResult
-
beforeFirst
public void beforeFirst() throws SQLException- Specified by:
beforeFirstin interfaceResultSet- Overrides:
beforeFirstin classCompleteResult- Throws:
SQLException
-
first
public boolean first() throws SQLException- Specified by:
firstin interfaceResultSet- Overrides:
firstin classCompleteResult- Throws:
SQLException
-
last
public boolean last() throws SQLException- Specified by:
lastin interfaceResultSet- Overrides:
lastin classCompleteResult- Throws:
SQLException
-
afterLast
public void afterLast() throws SQLException- Specified by:
afterLastin interfaceResultSet- Overrides:
afterLastin classCompleteResult- Throws:
SQLException
-
absolute
public boolean absolute(int row) throws SQLException- Specified by:
absolutein interfaceResultSet- Overrides:
absolutein classCompleteResult- Throws:
SQLException
-
relative
public boolean relative(int rows) throws SQLException- Specified by:
relativein interfaceResultSet- Overrides:
relativein classCompleteResult- Throws:
SQLException
-
next
public boolean next() throws SQLExceptionDescription copied from class:ResultPosition resultset to next row- Specified by:
nextin interfaceResultSet- Overrides:
nextin classCompleteResult- Returns:
- true if next row exists
- Throws:
SQLException- if any error occurs
-
previous
public boolean previous() throws SQLException- Specified by:
previousin interfaceResultSet- Overrides:
previousin classCompleteResult- Throws:
SQLException
-
-