Class UpdatableResultSet
- java.lang.Object
-
- org.mariadb.jdbc.internal.com.read.resultset.SelectResultSet
-
- org.mariadb.jdbc.internal.com.read.resultset.UpdatableResultSet
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,java.sql.ResultSet
,java.sql.Wrapper
public class UpdatableResultSet extends SelectResultSet
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
canBeInserted
private boolean
canBeRefresh
private boolean
canBeUpdate
private MariaDbConnection
connection
private java.lang.String
database
private ClientSidePreparedStatement
deletePreparedStatement
private java.lang.String
exceptionInsertMsg
private java.lang.String
exceptionUpdateMsg
private ClientSidePreparedStatement
insertPreparedStatement
private int
notInsertRowPointer
private ParameterHolder[]
parameterHolders
private java.sql.PreparedStatement
refreshPreparedStatement
private int
state
private static int
STATE_INSERT
private static int
STATE_STANDARD
private static int
STATE_UPDATE
private static int
STATE_UPDATED
private java.lang.String
table
-
Fields inherited from class org.mariadb.jdbc.internal.com.read.resultset.SelectResultSet
columnInformationLength, columnsInformation, noBackslashEscapes, options, timeZone, TINYINT1_IS_BIT, YEAR_IS_DATE_TYPE
-
-
Constructor Summary
Constructors Constructor Description UpdatableResultSet(ColumnDefinition[] columnsInformation, Results results, Protocol protocol, PacketInputStream reader, boolean callableResult, boolean eofDeprecated)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
absolute(int row)
void
afterLast()
void
beforeFirst()
void
cancelRowUpdates()
{inheritDoc}.private void
cannotInsertRow(java.lang.String reason)
private void
cannotUpdateInsertRow(java.lang.String reason)
private void
checkIfUpdatable(Results results)
private void
checkUpdatable(int position)
void
deleteRow()
{inheritDoc}.boolean
first()
int
getConcurrency()
private UpdatableColumnDefinition[]
getUpdatableColumns()
void
insertRow()
{inheritDoc}.boolean
last()
void
moveToCurrentRow()
{inheritDoc}.void
moveToInsertRow()
{inheritDoc}.boolean
next()
private void
prepareRefreshStmt()
boolean
previous()
private byte[]
refreshRawData()
void
refreshRow()
{inheritDoc}.boolean
relative(int rows)
void
updateArray(int columnIndex, java.sql.Array array)
{inheritDoc}.void
updateArray(java.lang.String columnLabel, java.sql.Array array)
{inheritDoc}.void
updateAsciiStream(int columnIndex, java.io.InputStream inputStream)
{inheritDoc}.void
updateAsciiStream(int columnIndex, java.io.InputStream inputStream, int length)
{inheritDoc}.void
updateAsciiStream(int columnIndex, java.io.InputStream inputStream, long length)
{inheritDoc}.void
updateAsciiStream(java.lang.String columnLabel, java.io.InputStream inputStream)
{inheritDoc}.void
updateAsciiStream(java.lang.String columnLabel, java.io.InputStream inputStream, int length)
{inheritDoc}.void
updateAsciiStream(java.lang.String columnLabel, java.io.InputStream inputStream, long length)
{inheritDoc}.void
updateBigDecimal(int columnIndex, java.math.BigDecimal value)
{inheritDoc}.void
updateBigDecimal(java.lang.String columnLabel, java.math.BigDecimal value)
{inheritDoc}.void
updateBinaryStream(int columnIndex, java.io.InputStream inputStream)
{inheritDoc}.void
updateBinaryStream(int columnIndex, java.io.InputStream inputStream, int length)
{inheritDoc}.void
updateBinaryStream(int columnIndex, java.io.InputStream inputStream, long length)
{inheritDoc}.void
updateBinaryStream(java.lang.String columnLabel, java.io.InputStream inputStream)
{inheritDoc}.void
updateBinaryStream(java.lang.String columnLabel, java.io.InputStream inputStream, int length)
{inheritDoc}.void
updateBinaryStream(java.lang.String columnLabel, java.io.InputStream inputStream, long length)
{inheritDoc}.void
updateBlob(int columnIndex, java.io.InputStream inputStream)
{inheritDoc}.void
updateBlob(int columnIndex, java.io.InputStream inputStream, long length)
{inheritDoc}.void
updateBlob(int columnIndex, java.sql.Blob blob)
{inheritDoc}.void
updateBlob(java.lang.String columnLabel, java.io.InputStream inputStream)
{inheritDoc}.void
updateBlob(java.lang.String columnLabel, java.io.InputStream inputStream, long length)
{inheritDoc}.void
updateBlob(java.lang.String columnLabel, java.sql.Blob blob)
{inheritDoc}.void
updateBoolean(int columnIndex, boolean bool)
{inheritDoc}.void
updateBoolean(java.lang.String columnLabel, boolean value)
{inheritDoc}.void
updateByte(int columnIndex, byte value)
{inheritDoc}.void
updateByte(java.lang.String columnLabel, byte value)
{inheritDoc}.void
updateBytes(int columnIndex, byte[] value)
{inheritDoc}.void
updateBytes(java.lang.String columnLabel, byte[] value)
{inheritDoc}.void
updateCharacterStream(int columnIndex, java.io.Reader value)
{inheritDoc}.void
updateCharacterStream(int columnIndex, java.io.Reader reader, int length)
{inheritDoc}.void
updateCharacterStream(int columnIndex, java.io.Reader value, long length)
{inheritDoc}.void
updateCharacterStream(java.lang.String columnLabel, java.io.Reader reader)
{inheritDoc}.void
updateCharacterStream(java.lang.String columnLabel, java.io.Reader reader, int length)
{inheritDoc}.void
updateCharacterStream(java.lang.String columnLabel, java.io.Reader reader, long length)
{inheritDoc}.void
updateClob(int columnIndex, java.io.Reader reader)
{inheritDoc}.void
updateClob(int columnIndex, java.io.Reader reader, long length)
{inheritDoc}.void
updateClob(int columnIndex, java.sql.Clob clob)
{inheritDoc}.void
updateClob(java.lang.String columnLabel, java.io.Reader reader)
{inheritDoc}.void
updateClob(java.lang.String columnLabel, java.io.Reader reader, long length)
{inheritDoc}.void
updateClob(java.lang.String columnLabel, java.sql.Clob clob)
{inheritDoc}.void
updateDate(int columnIndex, java.sql.Date date)
{inheritDoc}.void
updateDate(java.lang.String columnLabel, java.sql.Date value)
{inheritDoc}.void
updateDouble(int columnIndex, double value)
{inheritDoc}.void
updateDouble(java.lang.String columnLabel, double value)
{inheritDoc}.void
updateFloat(int columnIndex, float value)
{inheritDoc}.void
updateFloat(java.lang.String columnLabel, float value)
{inheritDoc}.void
updateInt(int columnIndex, int value)
{inheritDoc}.void
updateInt(java.lang.String columnLabel, int value)
{inheritDoc}.private void
updateInternalObject(int parameterIndex, java.lang.Object obj, int targetSqlType, long scaleOrLength)
void
updateLong(int columnIndex, long value)
{inheritDoc}.void
updateLong(java.lang.String columnLabel, long value)
{inheritDoc}.void
updateNCharacterStream(int columnIndex, java.io.Reader reader)
{inheritDoc}.void
updateNCharacterStream(int columnIndex, java.io.Reader value, long length)
{inheritDoc}.void
updateNCharacterStream(java.lang.String columnLabel, java.io.Reader reader)
{inheritDoc}.void
updateNCharacterStream(java.lang.String columnLabel, java.io.Reader reader, long length)
{inheritDoc}.void
updateNClob(int columnIndex, java.io.Reader reader)
{inheritDoc}.void
updateNClob(int columnIndex, java.io.Reader reader, long length)
{inheritDoc}.void
updateNClob(int columnIndex, java.sql.NClob nclob)
{inheritDoc}.void
updateNClob(java.lang.String columnLabel, java.io.Reader reader)
{inheritDoc}.void
updateNClob(java.lang.String columnLabel, java.io.Reader reader, long length)
{inheritDoc}.void
updateNClob(java.lang.String columnLabel, java.sql.NClob nclob)
{inheritDoc}.void
updateNString(int columnIndex, java.lang.String nstring)
{inheritDoc}.void
updateNString(java.lang.String columnLabel, java.lang.String nstring)
{inheritDoc}.void
updateNull(int columnIndex)
{inheritDoc}.void
updateNull(java.lang.String columnLabel)
{inheritDoc}.void
updateObject(int columnIndex, java.lang.Object value)
{inheritDoc}.void
updateObject(int columnIndex, java.lang.Object value, int scaleOrLength)
{inheritDoc}.void
updateObject(java.lang.String columnLabel, java.lang.Object value)
{inheritDoc}.void
updateObject(java.lang.String columnLabel, java.lang.Object value, int scaleOrLength)
{inheritDoc}.void
updateRef(int columnIndex, java.sql.Ref ref)
{inheritDoc}.void
updateRef(java.lang.String columnLabel, java.sql.Ref ref)
{inheritDoc}.void
updateRow()
{inheritDoc}.void
updateRowId(int columnIndex, java.sql.RowId rowId)
{inheritDoc}.void
updateRowId(java.lang.String columnLabel, java.sql.RowId rowId)
{inheritDoc}.void
updateShort(int columnIndex, short value)
{inheritDoc}.void
updateShort(java.lang.String columnLabel, short value)
{inheritDoc}.void
updateSQLXML(int columnIndex, java.sql.SQLXML xmlObject)
{inheritDoc}.void
updateSQLXML(java.lang.String columnLabel, java.sql.SQLXML xmlObject)
{inheritDoc}.void
updateString(int columnIndex, java.lang.String value)
{inheritDoc}.void
updateString(java.lang.String columnLabel, java.lang.String value)
{inheritDoc}.void
updateTime(int columnIndex, java.sql.Time time)
{inheritDoc}.void
updateTime(java.lang.String columnLabel, java.sql.Time value)
{inheritDoc}.void
updateTimestamp(int columnIndex, java.sql.Timestamp timeStamp)
{inheritDoc}.void
updateTimestamp(java.lang.String columnLabel, java.sql.Timestamp value)
{inheritDoc}.-
Methods inherited from class org.mariadb.jdbc.internal.com.read.resultset.SelectResultSet
abort, addRowData, clearWarnings, close, createEmptyResultSet, createGeneratedData, createResultSet, deleteCurrentRowData, fetchRemaining, findColumn, getArray, getArray, getAsciiStream, getAsciiStream, getBigDecimal, getBigDecimal, getBigDecimal, getBigDecimal, getBinaryStream, getBinaryStream, getBlob, getBlob, getBoolean, getBoolean, getByte, getByte, getBytes, getBytes, getCharacterStream, getCharacterStream, getClob, getClob, getCurrentRowData, getCursorName, getDataSize, getDate, getDate, getDate, getDate, getDouble, getDouble, getFetchDirection, getFetchSize, getFloat, getFloat, getHoldability, getInt, getInt, getLong, getLong, getMetaData, getNCharacterStream, getNCharacterStream, getNClob, getNClob, getNString, getNString, getObject, getObject, getObject, getObject, getObject, getObject, getRef, getRef, getRow, getRowId, getRowId, getRowPointer, getShort, getShort, getSQLXML, getSQLXML, getStatement, getString, getString, getTime, getTime, getTime, getTime, getTimestamp, getTimestamp, getTimestamp, getTimestamp, getType, getUnicodeStream, getUnicodeStream, getURL, getURL, getWarnings, isAfterLast, isBeforeFirst, isBinaryEncoded, isCallableResult, isClosed, isFirst, isFullyLoaded, isLast, isWrapperFor, rowDeleted, rowInserted, rowUpdated, setFetchDirection, setFetchSize, setForceTableAlias, setRowPointer, setStatement, unwrap, updateRowData, wasNull
-
-
-
-
Field Detail
-
STATE_STANDARD
private static final int STATE_STANDARD
- See Also:
- Constant Field Values
-
STATE_UPDATE
private static final int STATE_UPDATE
- See Also:
- Constant Field Values
-
STATE_UPDATED
private static final int STATE_UPDATED
- See Also:
- Constant Field Values
-
STATE_INSERT
private static final int STATE_INSERT
- See Also:
- Constant Field Values
-
database
private java.lang.String database
-
table
private java.lang.String table
-
canBeUpdate
private boolean canBeUpdate
-
canBeInserted
private boolean canBeInserted
-
canBeRefresh
private boolean canBeRefresh
-
notInsertRowPointer
private int notInsertRowPointer
-
exceptionUpdateMsg
private java.lang.String exceptionUpdateMsg
-
exceptionInsertMsg
private java.lang.String exceptionInsertMsg
-
state
private int state
-
parameterHolders
private ParameterHolder[] parameterHolders
-
connection
private MariaDbConnection connection
-
refreshPreparedStatement
private java.sql.PreparedStatement refreshPreparedStatement
-
insertPreparedStatement
private ClientSidePreparedStatement insertPreparedStatement
-
deletePreparedStatement
private ClientSidePreparedStatement deletePreparedStatement
-
-
Constructor Detail
-
UpdatableResultSet
public UpdatableResultSet(ColumnDefinition[] columnsInformation, Results results, Protocol protocol, PacketInputStream reader, boolean callableResult, boolean eofDeprecated) throws java.io.IOException, java.sql.SQLException
Constructor.- Parameters:
columnsInformation
- column informationresults
- resultsprotocol
- current protocolreader
- stream fetchercallableResult
- is it from a callableStatement ?eofDeprecated
- is EOF deprecated- Throws:
java.io.IOException
- if any connection error occurjava.sql.SQLException
- if any connection error occur
-
-
Method Detail
-
getConcurrency
public int getConcurrency()
- Specified by:
getConcurrency
in interfacejava.sql.ResultSet
- Overrides:
getConcurrency
in classSelectResultSet
-
checkIfUpdatable
private void checkIfUpdatable(Results results) throws java.sql.SQLException
- Throws:
java.sql.SQLException
-
getUpdatableColumns
private UpdatableColumnDefinition[] getUpdatableColumns()
-
cannotUpdateInsertRow
private void cannotUpdateInsertRow(java.lang.String reason)
-
cannotInsertRow
private void cannotInsertRow(java.lang.String reason)
-
checkUpdatable
private void checkUpdatable(int position) throws java.sql.SQLException
- Throws:
java.sql.SQLException
-
updateNull
public void updateNull(int columnIndex) throws java.sql.SQLException
{inheritDoc}.- Specified by:
updateNull
in interfacejava.sql.ResultSet
- Overrides:
updateNull
in classSelectResultSet
- Throws:
java.sql.SQLException
-
updateNull
public void updateNull(java.lang.String columnLabel) throws java.sql.SQLException
{inheritDoc}.- Specified by:
updateNull
in interfacejava.sql.ResultSet
- Overrides:
updateNull
in classSelectResultSet
- Throws:
java.sql.SQLException
-
updateBoolean
public void updateBoolean(int columnIndex, boolean bool) throws java.sql.SQLException
{inheritDoc}.- Specified by:
updateBoolean
in interfacejava.sql.ResultSet
- Overrides:
updateBoolean
in classSelectResultSet
- Throws:
java.sql.SQLException
-
updateBoolean
public void updateBoolean(java.lang.String columnLabel, boolean value) throws java.sql.SQLException
{inheritDoc}.- Specified by:
updateBoolean
in interfacejava.sql.ResultSet
- Overrides:
updateBoolean
in classSelectResultSet
- Throws:
java.sql.SQLException
-
updateByte
public void updateByte(int columnIndex, byte value) throws java.sql.SQLException
{inheritDoc}.- Specified by:
updateByte
in interfacejava.sql.ResultSet
- Overrides:
updateByte
in classSelectResultSet
- Throws:
java.sql.SQLException
-
updateByte
public void updateByte(java.lang.String columnLabel, byte value) throws java.sql.SQLException
{inheritDoc}.- Specified by:
updateByte
in interfacejava.sql.ResultSet
- Overrides:
updateByte
in classSelectResultSet
- Throws:
java.sql.SQLException
-
updateShort
public void updateShort(int columnIndex, short value) throws java.sql.SQLException
{inheritDoc}.- Specified by:
updateShort
in interfacejava.sql.ResultSet
- Overrides:
updateShort
in classSelectResultSet
- Throws:
java.sql.SQLException
-
updateShort
public void updateShort(java.lang.String columnLabel, short value) throws java.sql.SQLException
{inheritDoc}.- Specified by:
updateShort
in interfacejava.sql.ResultSet
- Overrides:
updateShort
in classSelectResultSet
- Throws:
java.sql.SQLException
-
updateInt
public void updateInt(int columnIndex, int value) throws java.sql.SQLException
{inheritDoc}.- Specified by:
updateInt
in interfacejava.sql.ResultSet
- Overrides:
updateInt
in classSelectResultSet
- Throws:
java.sql.SQLException
-
updateInt
public void updateInt(java.lang.String columnLabel, int value) throws java.sql.SQLException
{inheritDoc}.- Specified by:
updateInt
in interfacejava.sql.ResultSet
- Overrides:
updateInt
in classSelectResultSet
- Throws:
java.sql.SQLException
-
updateFloat
public void updateFloat(int columnIndex, float value) throws java.sql.SQLException
{inheritDoc}.- Specified by:
updateFloat
in interfacejava.sql.ResultSet
- Overrides:
updateFloat
in classSelectResultSet
- Throws:
java.sql.SQLException
-
updateFloat
public void updateFloat(java.lang.String columnLabel, float value) throws java.sql.SQLException
{inheritDoc}.- Specified by:
updateFloat
in interfacejava.sql.ResultSet
- Overrides:
updateFloat
in classSelectResultSet
- Throws:
java.sql.SQLException
-
updateDouble
public void updateDouble(int columnIndex, double value) throws java.sql.SQLException
{inheritDoc}.- Specified by:
updateDouble
in interfacejava.sql.ResultSet
- Overrides:
updateDouble
in classSelectResultSet
- Throws:
java.sql.SQLException
-
updateDouble
public void updateDouble(java.lang.String columnLabel, double value) throws java.sql.SQLException
{inheritDoc}.- Specified by:
updateDouble
in interfacejava.sql.ResultSet
- Overrides:
updateDouble
in classSelectResultSet
- Throws:
java.sql.SQLException
-
updateBigDecimal
public void updateBigDecimal(int columnIndex, java.math.BigDecimal value) throws java.sql.SQLException
{inheritDoc}.- Specified by:
updateBigDecimal
in interfacejava.sql.ResultSet
- Overrides:
updateBigDecimal
in classSelectResultSet
- Throws:
java.sql.SQLException
-
updateBigDecimal
public void updateBigDecimal(java.lang.String columnLabel, java.math.BigDecimal value) throws java.sql.SQLException
{inheritDoc}.- Specified by:
updateBigDecimal
in interfacejava.sql.ResultSet
- Overrides:
updateBigDecimal
in classSelectResultSet
- Throws:
java.sql.SQLException
-
updateString
public void updateString(int columnIndex, java.lang.String value) throws java.sql.SQLException
{inheritDoc}.- Specified by:
updateString
in interfacejava.sql.ResultSet
- Overrides:
updateString
in classSelectResultSet
- Throws:
java.sql.SQLException
-
updateString
public void updateString(java.lang.String columnLabel, java.lang.String value) throws java.sql.SQLException
{inheritDoc}.- Specified by:
updateString
in interfacejava.sql.ResultSet
- Overrides:
updateString
in classSelectResultSet
- Throws:
java.sql.SQLException
-
updateBytes
public void updateBytes(int columnIndex, byte[] value) throws java.sql.SQLException
{inheritDoc}.- Specified by:
updateBytes
in interfacejava.sql.ResultSet
- Overrides:
updateBytes
in classSelectResultSet
- Throws:
java.sql.SQLException
-
updateBytes
public void updateBytes(java.lang.String columnLabel, byte[] value) throws java.sql.SQLException
{inheritDoc}.- Specified by:
updateBytes
in interfacejava.sql.ResultSet
- Overrides:
updateBytes
in classSelectResultSet
- Throws:
java.sql.SQLException
-
updateDate
public void updateDate(int columnIndex, java.sql.Date date) throws java.sql.SQLException
{inheritDoc}.- Specified by:
updateDate
in interfacejava.sql.ResultSet
- Overrides:
updateDate
in classSelectResultSet
- Throws:
java.sql.SQLException
-
updateDate
public void updateDate(java.lang.String columnLabel, java.sql.Date value) throws java.sql.SQLException
{inheritDoc}.- Specified by:
updateDate
in interfacejava.sql.ResultSet
- Overrides:
updateDate
in classSelectResultSet
- Throws:
java.sql.SQLException
-
updateTime
public void updateTime(int columnIndex, java.sql.Time time) throws java.sql.SQLException
{inheritDoc}.- Specified by:
updateTime
in interfacejava.sql.ResultSet
- Overrides:
updateTime
in classSelectResultSet
- Throws:
java.sql.SQLException
-
updateTime
public void updateTime(java.lang.String columnLabel, java.sql.Time value) throws java.sql.SQLException
{inheritDoc}.- Specified by:
updateTime
in interfacejava.sql.ResultSet
- Overrides:
updateTime
in classSelectResultSet
- Throws:
java.sql.SQLException
-
updateTimestamp
public void updateTimestamp(int columnIndex, java.sql.Timestamp timeStamp) throws java.sql.SQLException
{inheritDoc}.- Specified by:
updateTimestamp
in interfacejava.sql.ResultSet
- Overrides:
updateTimestamp
in classSelectResultSet
- Throws:
java.sql.SQLException
-
updateTimestamp
public void updateTimestamp(java.lang.String columnLabel, java.sql.Timestamp value) throws java.sql.SQLException
{inheritDoc}.- Specified by:
updateTimestamp
in interfacejava.sql.ResultSet
- Overrides:
updateTimestamp
in classSelectResultSet
- Throws:
java.sql.SQLException
-
updateAsciiStream
public void updateAsciiStream(int columnIndex, java.io.InputStream inputStream) throws java.sql.SQLException
{inheritDoc}.- Specified by:
updateAsciiStream
in interfacejava.sql.ResultSet
- Overrides:
updateAsciiStream
in classSelectResultSet
- Throws:
java.sql.SQLException
-
updateAsciiStream
public void updateAsciiStream(java.lang.String columnLabel, java.io.InputStream inputStream) throws java.sql.SQLException
{inheritDoc}.- Specified by:
updateAsciiStream
in interfacejava.sql.ResultSet
- Overrides:
updateAsciiStream
in classSelectResultSet
- Throws:
java.sql.SQLException
-
updateAsciiStream
public void updateAsciiStream(int columnIndex, java.io.InputStream inputStream, int length) throws java.sql.SQLException
{inheritDoc}.- Specified by:
updateAsciiStream
in interfacejava.sql.ResultSet
- Overrides:
updateAsciiStream
in classSelectResultSet
- Throws:
java.sql.SQLException
-
updateAsciiStream
public void updateAsciiStream(java.lang.String columnLabel, java.io.InputStream inputStream, int length) throws java.sql.SQLException
{inheritDoc}.- Specified by:
updateAsciiStream
in interfacejava.sql.ResultSet
- Overrides:
updateAsciiStream
in classSelectResultSet
- Throws:
java.sql.SQLException
-
updateAsciiStream
public void updateAsciiStream(int columnIndex, java.io.InputStream inputStream, long length) throws java.sql.SQLException
{inheritDoc}.- Specified by:
updateAsciiStream
in interfacejava.sql.ResultSet
- Overrides:
updateAsciiStream
in classSelectResultSet
- Throws:
java.sql.SQLException
-
updateAsciiStream
public void updateAsciiStream(java.lang.String columnLabel, java.io.InputStream inputStream, long length) throws java.sql.SQLException
{inheritDoc}.- Specified by:
updateAsciiStream
in interfacejava.sql.ResultSet
- Overrides:
updateAsciiStream
in classSelectResultSet
- Throws:
java.sql.SQLException
-
updateBinaryStream
public void updateBinaryStream(int columnIndex, java.io.InputStream inputStream, int length) throws java.sql.SQLException
{inheritDoc}.- Specified by:
updateBinaryStream
in interfacejava.sql.ResultSet
- Overrides:
updateBinaryStream
in classSelectResultSet
- Throws:
java.sql.SQLException
-
updateBinaryStream
public void updateBinaryStream(int columnIndex, java.io.InputStream inputStream, long length) throws java.sql.SQLException
{inheritDoc}.- Specified by:
updateBinaryStream
in interfacejava.sql.ResultSet
- Overrides:
updateBinaryStream
in classSelectResultSet
- Throws:
java.sql.SQLException
-
updateBinaryStream
public void updateBinaryStream(java.lang.String columnLabel, java.io.InputStream inputStream, int length) throws java.sql.SQLException
{inheritDoc}.- Specified by:
updateBinaryStream
in interfacejava.sql.ResultSet
- Overrides:
updateBinaryStream
in classSelectResultSet
- Throws:
java.sql.SQLException
-
updateBinaryStream
public void updateBinaryStream(java.lang.String columnLabel, java.io.InputStream inputStream, long length) throws java.sql.SQLException
{inheritDoc}.- Specified by:
updateBinaryStream
in interfacejava.sql.ResultSet
- Overrides:
updateBinaryStream
in classSelectResultSet
- Throws:
java.sql.SQLException
-
updateBinaryStream
public void updateBinaryStream(int columnIndex, java.io.InputStream inputStream) throws java.sql.SQLException
{inheritDoc}.- Specified by:
updateBinaryStream
in interfacejava.sql.ResultSet
- Overrides:
updateBinaryStream
in classSelectResultSet
- Throws:
java.sql.SQLException
-
updateBinaryStream
public void updateBinaryStream(java.lang.String columnLabel, java.io.InputStream inputStream) throws java.sql.SQLException
{inheritDoc}.- Specified by:
updateBinaryStream
in interfacejava.sql.ResultSet
- Overrides:
updateBinaryStream
in classSelectResultSet
- Throws:
java.sql.SQLException
-
updateCharacterStream
public void updateCharacterStream(int columnIndex, java.io.Reader reader, int length) throws java.sql.SQLException
{inheritDoc}.- Specified by:
updateCharacterStream
in interfacejava.sql.ResultSet
- Overrides:
updateCharacterStream
in classSelectResultSet
- Throws:
java.sql.SQLException
-
updateCharacterStream
public void updateCharacterStream(int columnIndex, java.io.Reader value) throws java.sql.SQLException
{inheritDoc}.- Specified by:
updateCharacterStream
in interfacejava.sql.ResultSet
- Overrides:
updateCharacterStream
in classSelectResultSet
- Throws:
java.sql.SQLException
-
updateCharacterStream
public void updateCharacterStream(java.lang.String columnLabel, java.io.Reader reader, int length) throws java.sql.SQLException
{inheritDoc}.- Specified by:
updateCharacterStream
in interfacejava.sql.ResultSet
- Overrides:
updateCharacterStream
in classSelectResultSet
- Throws:
java.sql.SQLException
-
updateCharacterStream
public void updateCharacterStream(int columnIndex, java.io.Reader value, long length) throws java.sql.SQLException
{inheritDoc}.- Specified by:
updateCharacterStream
in interfacejava.sql.ResultSet
- Overrides:
updateCharacterStream
in classSelectResultSet
- Throws:
java.sql.SQLException
-
updateCharacterStream
public void updateCharacterStream(java.lang.String columnLabel, java.io.Reader reader, long length) throws java.sql.SQLException
{inheritDoc}.- Specified by:
updateCharacterStream
in interfacejava.sql.ResultSet
- Overrides:
updateCharacterStream
in classSelectResultSet
- Throws:
java.sql.SQLException
-
updateCharacterStream
public void updateCharacterStream(java.lang.String columnLabel, java.io.Reader reader) throws java.sql.SQLException
{inheritDoc}.- Specified by:
updateCharacterStream
in interfacejava.sql.ResultSet
- Overrides:
updateCharacterStream
in classSelectResultSet
- Throws:
java.sql.SQLException
-
updateInternalObject
private void updateInternalObject(int parameterIndex, java.lang.Object obj, int targetSqlType, long scaleOrLength) throws java.sql.SQLException
- Throws:
java.sql.SQLException
-
updateObject
public void updateObject(int columnIndex, java.lang.Object value, int scaleOrLength) throws java.sql.SQLException
{inheritDoc}.- Specified by:
updateObject
in interfacejava.sql.ResultSet
- Overrides:
updateObject
in classSelectResultSet
- Throws:
java.sql.SQLException
-
updateObject
public void updateObject(int columnIndex, java.lang.Object value) throws java.sql.SQLException
{inheritDoc}.- Specified by:
updateObject
in interfacejava.sql.ResultSet
- Overrides:
updateObject
in classSelectResultSet
- Throws:
java.sql.SQLException
-
updateObject
public void updateObject(java.lang.String columnLabel, java.lang.Object value, int scaleOrLength) throws java.sql.SQLException
{inheritDoc}.- Specified by:
updateObject
in interfacejava.sql.ResultSet
- Overrides:
updateObject
in classSelectResultSet
- Throws:
java.sql.SQLException
-
updateObject
public void updateObject(java.lang.String columnLabel, java.lang.Object value) throws java.sql.SQLException
{inheritDoc}.- Specified by:
updateObject
in interfacejava.sql.ResultSet
- Overrides:
updateObject
in classSelectResultSet
- Throws:
java.sql.SQLException
-
updateLong
public void updateLong(int columnIndex, long value) throws java.sql.SQLException
{inheritDoc}.- Specified by:
updateLong
in interfacejava.sql.ResultSet
- Overrides:
updateLong
in classSelectResultSet
- Throws:
java.sql.SQLException
-
updateLong
public void updateLong(java.lang.String columnLabel, long value) throws java.sql.SQLException
{inheritDoc}.- Specified by:
updateLong
in interfacejava.sql.ResultSet
- Overrides:
updateLong
in classSelectResultSet
- Throws:
java.sql.SQLException
-
updateRef
public void updateRef(int columnIndex, java.sql.Ref ref) throws java.sql.SQLException
{inheritDoc}.- Specified by:
updateRef
in interfacejava.sql.ResultSet
- Overrides:
updateRef
in classSelectResultSet
- Throws:
java.sql.SQLException
-
updateRef
public void updateRef(java.lang.String columnLabel, java.sql.Ref ref) throws java.sql.SQLException
{inheritDoc}.- Specified by:
updateRef
in interfacejava.sql.ResultSet
- Overrides:
updateRef
in classSelectResultSet
- Throws:
java.sql.SQLException
-
updateBlob
public void updateBlob(int columnIndex, java.sql.Blob blob) throws java.sql.SQLException
{inheritDoc}.- Specified by:
updateBlob
in interfacejava.sql.ResultSet
- Overrides:
updateBlob
in classSelectResultSet
- Throws:
java.sql.SQLException
-
updateBlob
public void updateBlob(java.lang.String columnLabel, java.sql.Blob blob) throws java.sql.SQLException
{inheritDoc}.- Specified by:
updateBlob
in interfacejava.sql.ResultSet
- Overrides:
updateBlob
in classSelectResultSet
- Throws:
java.sql.SQLException
-
updateBlob
public void updateBlob(int columnIndex, java.io.InputStream inputStream) throws java.sql.SQLException
{inheritDoc}.- Specified by:
updateBlob
in interfacejava.sql.ResultSet
- Overrides:
updateBlob
in classSelectResultSet
- Throws:
java.sql.SQLException
-
updateBlob
public void updateBlob(java.lang.String columnLabel, java.io.InputStream inputStream) throws java.sql.SQLException
{inheritDoc}.- Specified by:
updateBlob
in interfacejava.sql.ResultSet
- Overrides:
updateBlob
in classSelectResultSet
- Throws:
java.sql.SQLException
-
updateBlob
public void updateBlob(int columnIndex, java.io.InputStream inputStream, long length) throws java.sql.SQLException
{inheritDoc}.- Specified by:
updateBlob
in interfacejava.sql.ResultSet
- Overrides:
updateBlob
in classSelectResultSet
- Throws:
java.sql.SQLException
-
updateBlob
public void updateBlob(java.lang.String columnLabel, java.io.InputStream inputStream, long length) throws java.sql.SQLException
{inheritDoc}.- Specified by:
updateBlob
in interfacejava.sql.ResultSet
- Overrides:
updateBlob
in classSelectResultSet
- Throws:
java.sql.SQLException
-
updateClob
public void updateClob(int columnIndex, java.sql.Clob clob) throws java.sql.SQLException
{inheritDoc}.- Specified by:
updateClob
in interfacejava.sql.ResultSet
- Overrides:
updateClob
in classSelectResultSet
- Throws:
java.sql.SQLException
-
updateClob
public void updateClob(java.lang.String columnLabel, java.sql.Clob clob) throws java.sql.SQLException
{inheritDoc}.- Specified by:
updateClob
in interfacejava.sql.ResultSet
- Overrides:
updateClob
in classSelectResultSet
- Throws:
java.sql.SQLException
-
updateClob
public void updateClob(int columnIndex, java.io.Reader reader, long length) throws java.sql.SQLException
{inheritDoc}.- Specified by:
updateClob
in interfacejava.sql.ResultSet
- Overrides:
updateClob
in classSelectResultSet
- Throws:
java.sql.SQLException
-
updateClob
public void updateClob(java.lang.String columnLabel, java.io.Reader reader, long length) throws java.sql.SQLException
{inheritDoc}.- Specified by:
updateClob
in interfacejava.sql.ResultSet
- Overrides:
updateClob
in classSelectResultSet
- Throws:
java.sql.SQLException
-
updateClob
public void updateClob(int columnIndex, java.io.Reader reader) throws java.sql.SQLException
{inheritDoc}.- Specified by:
updateClob
in interfacejava.sql.ResultSet
- Overrides:
updateClob
in classSelectResultSet
- Throws:
java.sql.SQLException
-
updateClob
public void updateClob(java.lang.String columnLabel, java.io.Reader reader) throws java.sql.SQLException
{inheritDoc}.- Specified by:
updateClob
in interfacejava.sql.ResultSet
- Overrides:
updateClob
in classSelectResultSet
- Throws:
java.sql.SQLException
-
updateArray
public void updateArray(int columnIndex, java.sql.Array array) throws java.sql.SQLException
{inheritDoc}.- Specified by:
updateArray
in interfacejava.sql.ResultSet
- Overrides:
updateArray
in classSelectResultSet
- Throws:
java.sql.SQLException
-
updateArray
public void updateArray(java.lang.String columnLabel, java.sql.Array array) throws java.sql.SQLException
{inheritDoc}.- Specified by:
updateArray
in interfacejava.sql.ResultSet
- Overrides:
updateArray
in classSelectResultSet
- Throws:
java.sql.SQLException
-
updateRowId
public void updateRowId(int columnIndex, java.sql.RowId rowId) throws java.sql.SQLException
{inheritDoc}.- Specified by:
updateRowId
in interfacejava.sql.ResultSet
- Overrides:
updateRowId
in classSelectResultSet
- Throws:
java.sql.SQLException
-
updateRowId
public void updateRowId(java.lang.String columnLabel, java.sql.RowId rowId) throws java.sql.SQLException
{inheritDoc}.- Specified by:
updateRowId
in interfacejava.sql.ResultSet
- Overrides:
updateRowId
in classSelectResultSet
- Throws:
java.sql.SQLException
-
updateNString
public void updateNString(int columnIndex, java.lang.String nstring) throws java.sql.SQLException
{inheritDoc}.- Specified by:
updateNString
in interfacejava.sql.ResultSet
- Overrides:
updateNString
in classSelectResultSet
- Throws:
java.sql.SQLException
-
updateNString
public void updateNString(java.lang.String columnLabel, java.lang.String nstring) throws java.sql.SQLException
{inheritDoc}.- Specified by:
updateNString
in interfacejava.sql.ResultSet
- Overrides:
updateNString
in classSelectResultSet
- Throws:
java.sql.SQLException
-
updateNClob
public void updateNClob(int columnIndex, java.sql.NClob nclob) throws java.sql.SQLException
{inheritDoc}.- Specified by:
updateNClob
in interfacejava.sql.ResultSet
- Overrides:
updateNClob
in classSelectResultSet
- Throws:
java.sql.SQLException
-
updateNClob
public void updateNClob(java.lang.String columnLabel, java.sql.NClob nclob) throws java.sql.SQLException
{inheritDoc}.- Specified by:
updateNClob
in interfacejava.sql.ResultSet
- Overrides:
updateNClob
in classSelectResultSet
- Throws:
java.sql.SQLException
-
updateNClob
public void updateNClob(int columnIndex, java.io.Reader reader) throws java.sql.SQLException
{inheritDoc}.- Specified by:
updateNClob
in interfacejava.sql.ResultSet
- Overrides:
updateNClob
in classSelectResultSet
- Throws:
java.sql.SQLException
-
updateNClob
public void updateNClob(java.lang.String columnLabel, java.io.Reader reader) throws java.sql.SQLException
{inheritDoc}.- Specified by:
updateNClob
in interfacejava.sql.ResultSet
- Overrides:
updateNClob
in classSelectResultSet
- Throws:
java.sql.SQLException
-
updateNClob
public void updateNClob(int columnIndex, java.io.Reader reader, long length) throws java.sql.SQLException
{inheritDoc}.- Specified by:
updateNClob
in interfacejava.sql.ResultSet
- Overrides:
updateNClob
in classSelectResultSet
- Throws:
java.sql.SQLException
-
updateNClob
public void updateNClob(java.lang.String columnLabel, java.io.Reader reader, long length) throws java.sql.SQLException
{inheritDoc}.- Specified by:
updateNClob
in interfacejava.sql.ResultSet
- Overrides:
updateNClob
in classSelectResultSet
- Throws:
java.sql.SQLException
-
updateSQLXML
public void updateSQLXML(int columnIndex, java.sql.SQLXML xmlObject) throws java.sql.SQLException
{inheritDoc}.- Specified by:
updateSQLXML
in interfacejava.sql.ResultSet
- Overrides:
updateSQLXML
in classSelectResultSet
- Throws:
java.sql.SQLException
-
updateSQLXML
public void updateSQLXML(java.lang.String columnLabel, java.sql.SQLXML xmlObject) throws java.sql.SQLException
{inheritDoc}.- Specified by:
updateSQLXML
in interfacejava.sql.ResultSet
- Overrides:
updateSQLXML
in classSelectResultSet
- Throws:
java.sql.SQLException
-
updateNCharacterStream
public void updateNCharacterStream(int columnIndex, java.io.Reader value, long length) throws java.sql.SQLException
{inheritDoc}.- Specified by:
updateNCharacterStream
in interfacejava.sql.ResultSet
- Overrides:
updateNCharacterStream
in classSelectResultSet
- Throws:
java.sql.SQLException
-
updateNCharacterStream
public void updateNCharacterStream(java.lang.String columnLabel, java.io.Reader reader, long length) throws java.sql.SQLException
{inheritDoc}.- Specified by:
updateNCharacterStream
in interfacejava.sql.ResultSet
- Overrides:
updateNCharacterStream
in classSelectResultSet
- Throws:
java.sql.SQLException
-
updateNCharacterStream
public void updateNCharacterStream(int columnIndex, java.io.Reader reader) throws java.sql.SQLException
{inheritDoc}.- Specified by:
updateNCharacterStream
in interfacejava.sql.ResultSet
- Overrides:
updateNCharacterStream
in classSelectResultSet
- Throws:
java.sql.SQLException
-
updateNCharacterStream
public void updateNCharacterStream(java.lang.String columnLabel, java.io.Reader reader) throws java.sql.SQLException
{inheritDoc}.- Specified by:
updateNCharacterStream
in interfacejava.sql.ResultSet
- Overrides:
updateNCharacterStream
in classSelectResultSet
- Throws:
java.sql.SQLException
-
insertRow
public void insertRow() throws java.sql.SQLException
{inheritDoc}.- Specified by:
insertRow
in interfacejava.sql.ResultSet
- Overrides:
insertRow
in classSelectResultSet
- Throws:
java.sql.SQLException
-
updateRow
public void updateRow() throws java.sql.SQLException
{inheritDoc}.- Specified by:
updateRow
in interfacejava.sql.ResultSet
- Overrides:
updateRow
in classSelectResultSet
- Throws:
java.sql.SQLException
-
deleteRow
public void deleteRow() throws java.sql.SQLException
{inheritDoc}.- Specified by:
deleteRow
in interfacejava.sql.ResultSet
- Overrides:
deleteRow
in classSelectResultSet
- Throws:
java.sql.SQLException
-
prepareRefreshStmt
private void prepareRefreshStmt() throws java.sql.SQLException
- Throws:
java.sql.SQLException
-
refreshRawData
private byte[] refreshRawData() throws java.sql.SQLException
- Throws:
java.sql.SQLException
-
refreshRow
public void refreshRow() throws java.sql.SQLException
{inheritDoc}.- Specified by:
refreshRow
in interfacejava.sql.ResultSet
- Overrides:
refreshRow
in classSelectResultSet
- Throws:
java.sql.SQLException
-
cancelRowUpdates
public void cancelRowUpdates()
{inheritDoc}.- Specified by:
cancelRowUpdates
in interfacejava.sql.ResultSet
- Overrides:
cancelRowUpdates
in classSelectResultSet
-
moveToInsertRow
public void moveToInsertRow() throws java.sql.SQLException
{inheritDoc}.- Specified by:
moveToInsertRow
in interfacejava.sql.ResultSet
- Overrides:
moveToInsertRow
in classSelectResultSet
- Throws:
java.sql.SQLException
-
moveToCurrentRow
public void moveToCurrentRow()
{inheritDoc}.- Specified by:
moveToCurrentRow
in interfacejava.sql.ResultSet
- Overrides:
moveToCurrentRow
in classSelectResultSet
-
beforeFirst
public void beforeFirst() throws java.sql.SQLException
- Specified by:
beforeFirst
in interfacejava.sql.ResultSet
- Overrides:
beforeFirst
in classSelectResultSet
- Throws:
java.sql.SQLException
-
first
public boolean first() throws java.sql.SQLException
- Specified by:
first
in interfacejava.sql.ResultSet
- Overrides:
first
in classSelectResultSet
- Throws:
java.sql.SQLException
-
last
public boolean last() throws java.sql.SQLException
- Specified by:
last
in interfacejava.sql.ResultSet
- Overrides:
last
in classSelectResultSet
- Throws:
java.sql.SQLException
-
afterLast
public void afterLast() throws java.sql.SQLException
- Specified by:
afterLast
in interfacejava.sql.ResultSet
- Overrides:
afterLast
in classSelectResultSet
- Throws:
java.sql.SQLException
-
absolute
public boolean absolute(int row) throws java.sql.SQLException
- Specified by:
absolute
in interfacejava.sql.ResultSet
- Overrides:
absolute
in classSelectResultSet
- Throws:
java.sql.SQLException
-
relative
public boolean relative(int rows) throws java.sql.SQLException
- Specified by:
relative
in interfacejava.sql.ResultSet
- Overrides:
relative
in classSelectResultSet
- Throws:
java.sql.SQLException
-
next
public boolean next() throws java.sql.SQLException
- Specified by:
next
in interfacejava.sql.ResultSet
- Overrides:
next
in classSelectResultSet
- Throws:
java.sql.SQLException
-
previous
public boolean previous() throws java.sql.SQLException
- Specified by:
previous
in interfacejava.sql.ResultSet
- Overrides:
previous
in classSelectResultSet
- Throws:
java.sql.SQLException
-
-