public class UpdatableResultSet extends SelectResultSet
Modifier and Type | Field and 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 |
columnInformationLength, columnsInformation, noBackslashEscapes, options, timeZone, TINYINT1_IS_BIT, YEAR_IS_DATE_TYPE
Constructor and Description |
---|
UpdatableResultSet(ColumnInformation[] columnsInformation,
Results results,
Protocol protocol,
PacketInputStream reader,
boolean callableResult,
boolean eofDeprecated)
Constructor.
|
Modifier and Type | Method and 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 UpdatableColumnInformation[] |
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.sql.Blob blob)
{inheritDoc}.
|
void |
updateBlob(int columnIndex,
java.io.InputStream inputStream)
{inheritDoc}.
|
void |
updateBlob(int columnIndex,
java.io.InputStream inputStream,
long length)
{inheritDoc}.
|
void |
updateBlob(java.lang.String columnLabel,
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 |
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.sql.Clob clob)
{inheritDoc}.
|
void |
updateClob(int columnIndex,
java.io.Reader reader)
{inheritDoc}.
|
void |
updateClob(int columnIndex,
java.io.Reader reader,
long length)
{inheritDoc}.
|
void |
updateClob(java.lang.String columnLabel,
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 |
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.sql.NClob nclob)
{inheritDoc}.
|
void |
updateNClob(int columnIndex,
java.io.Reader reader)
{inheritDoc}.
|
void |
updateNClob(int columnIndex,
java.io.Reader reader,
long length)
{inheritDoc}.
|
void |
updateNClob(java.lang.String columnLabel,
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 |
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}.
|
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, setReturnTableAlias, setRowPointer, setStatement, unwrap, updateRowData, wasNull
private static final int STATE_STANDARD
private static final int STATE_UPDATE
private static final int STATE_UPDATED
private static final int STATE_INSERT
private java.lang.String database
private java.lang.String table
private boolean canBeUpdate
private boolean canBeInserted
private boolean canBeRefresh
private int notInsertRowPointer
private java.lang.String exceptionUpdateMsg
private java.lang.String exceptionInsertMsg
private int state
private ParameterHolder[] parameterHolders
private MariaDbConnection connection
private java.sql.PreparedStatement refreshPreparedStatement
private ClientSidePreparedStatement insertPreparedStatement
private ClientSidePreparedStatement deletePreparedStatement
public UpdatableResultSet(ColumnInformation[] columnsInformation, Results results, Protocol protocol, PacketInputStream reader, boolean callableResult, boolean eofDeprecated) throws java.io.IOException, java.sql.SQLException
columnsInformation
- column informationresults
- resultsprotocol
- current protocolreader
- stream fetchercallableResult
- is it from a callableStatement ?eofDeprecated
- is EOF deprecatedjava.io.IOException
- if any connection error occurjava.sql.SQLException
- if any connection error occurpublic int getConcurrency()
getConcurrency
in interface java.sql.ResultSet
getConcurrency
in class SelectResultSet
private void checkIfUpdatable(Results results) throws java.sql.SQLException
java.sql.SQLException
private UpdatableColumnInformation[] getUpdatableColumns()
private void cannotUpdateInsertRow(java.lang.String reason)
private void cannotInsertRow(java.lang.String reason)
private void checkUpdatable(int position) throws java.sql.SQLException
java.sql.SQLException
public void updateNull(int columnIndex) throws java.sql.SQLException
updateNull
in interface java.sql.ResultSet
updateNull
in class SelectResultSet
java.sql.SQLException
public void updateNull(java.lang.String columnLabel) throws java.sql.SQLException
updateNull
in interface java.sql.ResultSet
updateNull
in class SelectResultSet
java.sql.SQLException
public void updateBoolean(int columnIndex, boolean bool) throws java.sql.SQLException
updateBoolean
in interface java.sql.ResultSet
updateBoolean
in class SelectResultSet
java.sql.SQLException
public void updateBoolean(java.lang.String columnLabel, boolean value) throws java.sql.SQLException
updateBoolean
in interface java.sql.ResultSet
updateBoolean
in class SelectResultSet
java.sql.SQLException
public void updateByte(int columnIndex, byte value) throws java.sql.SQLException
updateByte
in interface java.sql.ResultSet
updateByte
in class SelectResultSet
java.sql.SQLException
public void updateByte(java.lang.String columnLabel, byte value) throws java.sql.SQLException
updateByte
in interface java.sql.ResultSet
updateByte
in class SelectResultSet
java.sql.SQLException
public void updateShort(int columnIndex, short value) throws java.sql.SQLException
updateShort
in interface java.sql.ResultSet
updateShort
in class SelectResultSet
java.sql.SQLException
public void updateShort(java.lang.String columnLabel, short value) throws java.sql.SQLException
updateShort
in interface java.sql.ResultSet
updateShort
in class SelectResultSet
java.sql.SQLException
public void updateInt(int columnIndex, int value) throws java.sql.SQLException
updateInt
in interface java.sql.ResultSet
updateInt
in class SelectResultSet
java.sql.SQLException
public void updateInt(java.lang.String columnLabel, int value) throws java.sql.SQLException
updateInt
in interface java.sql.ResultSet
updateInt
in class SelectResultSet
java.sql.SQLException
public void updateFloat(int columnIndex, float value) throws java.sql.SQLException
updateFloat
in interface java.sql.ResultSet
updateFloat
in class SelectResultSet
java.sql.SQLException
public void updateFloat(java.lang.String columnLabel, float value) throws java.sql.SQLException
updateFloat
in interface java.sql.ResultSet
updateFloat
in class SelectResultSet
java.sql.SQLException
public void updateDouble(int columnIndex, double value) throws java.sql.SQLException
updateDouble
in interface java.sql.ResultSet
updateDouble
in class SelectResultSet
java.sql.SQLException
public void updateDouble(java.lang.String columnLabel, double value) throws java.sql.SQLException
updateDouble
in interface java.sql.ResultSet
updateDouble
in class SelectResultSet
java.sql.SQLException
public void updateBigDecimal(int columnIndex, java.math.BigDecimal value) throws java.sql.SQLException
updateBigDecimal
in interface java.sql.ResultSet
updateBigDecimal
in class SelectResultSet
java.sql.SQLException
public void updateBigDecimal(java.lang.String columnLabel, java.math.BigDecimal value) throws java.sql.SQLException
updateBigDecimal
in interface java.sql.ResultSet
updateBigDecimal
in class SelectResultSet
java.sql.SQLException
public void updateString(int columnIndex, java.lang.String value) throws java.sql.SQLException
updateString
in interface java.sql.ResultSet
updateString
in class SelectResultSet
java.sql.SQLException
public void updateString(java.lang.String columnLabel, java.lang.String value) throws java.sql.SQLException
updateString
in interface java.sql.ResultSet
updateString
in class SelectResultSet
java.sql.SQLException
public void updateBytes(int columnIndex, byte[] value) throws java.sql.SQLException
updateBytes
in interface java.sql.ResultSet
updateBytes
in class SelectResultSet
java.sql.SQLException
public void updateBytes(java.lang.String columnLabel, byte[] value) throws java.sql.SQLException
updateBytes
in interface java.sql.ResultSet
updateBytes
in class SelectResultSet
java.sql.SQLException
public void updateDate(int columnIndex, java.sql.Date date) throws java.sql.SQLException
updateDate
in interface java.sql.ResultSet
updateDate
in class SelectResultSet
java.sql.SQLException
public void updateDate(java.lang.String columnLabel, java.sql.Date value) throws java.sql.SQLException
updateDate
in interface java.sql.ResultSet
updateDate
in class SelectResultSet
java.sql.SQLException
public void updateTime(int columnIndex, java.sql.Time time) throws java.sql.SQLException
updateTime
in interface java.sql.ResultSet
updateTime
in class SelectResultSet
java.sql.SQLException
public void updateTime(java.lang.String columnLabel, java.sql.Time value) throws java.sql.SQLException
updateTime
in interface java.sql.ResultSet
updateTime
in class SelectResultSet
java.sql.SQLException
public void updateTimestamp(int columnIndex, java.sql.Timestamp timeStamp) throws java.sql.SQLException
updateTimestamp
in interface java.sql.ResultSet
updateTimestamp
in class SelectResultSet
java.sql.SQLException
public void updateTimestamp(java.lang.String columnLabel, java.sql.Timestamp value) throws java.sql.SQLException
updateTimestamp
in interface java.sql.ResultSet
updateTimestamp
in class SelectResultSet
java.sql.SQLException
public void updateAsciiStream(int columnIndex, java.io.InputStream inputStream) throws java.sql.SQLException
updateAsciiStream
in interface java.sql.ResultSet
updateAsciiStream
in class SelectResultSet
java.sql.SQLException
public void updateAsciiStream(java.lang.String columnLabel, java.io.InputStream inputStream) throws java.sql.SQLException
updateAsciiStream
in interface java.sql.ResultSet
updateAsciiStream
in class SelectResultSet
java.sql.SQLException
public void updateAsciiStream(int columnIndex, java.io.InputStream inputStream, int length) throws java.sql.SQLException
updateAsciiStream
in interface java.sql.ResultSet
updateAsciiStream
in class SelectResultSet
java.sql.SQLException
public void updateAsciiStream(java.lang.String columnLabel, java.io.InputStream inputStream, int length) throws java.sql.SQLException
updateAsciiStream
in interface java.sql.ResultSet
updateAsciiStream
in class SelectResultSet
java.sql.SQLException
public void updateAsciiStream(int columnIndex, java.io.InputStream inputStream, long length) throws java.sql.SQLException
updateAsciiStream
in interface java.sql.ResultSet
updateAsciiStream
in class SelectResultSet
java.sql.SQLException
public void updateAsciiStream(java.lang.String columnLabel, java.io.InputStream inputStream, long length) throws java.sql.SQLException
updateAsciiStream
in interface java.sql.ResultSet
updateAsciiStream
in class SelectResultSet
java.sql.SQLException
public void updateBinaryStream(int columnIndex, java.io.InputStream inputStream, int length) throws java.sql.SQLException
updateBinaryStream
in interface java.sql.ResultSet
updateBinaryStream
in class SelectResultSet
java.sql.SQLException
public void updateBinaryStream(int columnIndex, java.io.InputStream inputStream, long length) throws java.sql.SQLException
updateBinaryStream
in interface java.sql.ResultSet
updateBinaryStream
in class SelectResultSet
java.sql.SQLException
public void updateBinaryStream(java.lang.String columnLabel, java.io.InputStream inputStream, int length) throws java.sql.SQLException
updateBinaryStream
in interface java.sql.ResultSet
updateBinaryStream
in class SelectResultSet
java.sql.SQLException
public void updateBinaryStream(java.lang.String columnLabel, java.io.InputStream inputStream, long length) throws java.sql.SQLException
updateBinaryStream
in interface java.sql.ResultSet
updateBinaryStream
in class SelectResultSet
java.sql.SQLException
public void updateBinaryStream(int columnIndex, java.io.InputStream inputStream) throws java.sql.SQLException
updateBinaryStream
in interface java.sql.ResultSet
updateBinaryStream
in class SelectResultSet
java.sql.SQLException
public void updateBinaryStream(java.lang.String columnLabel, java.io.InputStream inputStream) throws java.sql.SQLException
updateBinaryStream
in interface java.sql.ResultSet
updateBinaryStream
in class SelectResultSet
java.sql.SQLException
public void updateCharacterStream(int columnIndex, java.io.Reader reader, int length) throws java.sql.SQLException
updateCharacterStream
in interface java.sql.ResultSet
updateCharacterStream
in class SelectResultSet
java.sql.SQLException
public void updateCharacterStream(int columnIndex, java.io.Reader value) throws java.sql.SQLException
updateCharacterStream
in interface java.sql.ResultSet
updateCharacterStream
in class SelectResultSet
java.sql.SQLException
public void updateCharacterStream(java.lang.String columnLabel, java.io.Reader reader, int length) throws java.sql.SQLException
updateCharacterStream
in interface java.sql.ResultSet
updateCharacterStream
in class SelectResultSet
java.sql.SQLException
public void updateCharacterStream(int columnIndex, java.io.Reader value, long length) throws java.sql.SQLException
updateCharacterStream
in interface java.sql.ResultSet
updateCharacterStream
in class SelectResultSet
java.sql.SQLException
public void updateCharacterStream(java.lang.String columnLabel, java.io.Reader reader, long length) throws java.sql.SQLException
updateCharacterStream
in interface java.sql.ResultSet
updateCharacterStream
in class SelectResultSet
java.sql.SQLException
public void updateCharacterStream(java.lang.String columnLabel, java.io.Reader reader) throws java.sql.SQLException
updateCharacterStream
in interface java.sql.ResultSet
updateCharacterStream
in class SelectResultSet
java.sql.SQLException
private void updateInternalObject(int parameterIndex, java.lang.Object obj, int targetSqlType, long scaleOrLength) throws java.sql.SQLException
java.sql.SQLException
public void updateObject(int columnIndex, java.lang.Object value, int scaleOrLength) throws java.sql.SQLException
updateObject
in interface java.sql.ResultSet
updateObject
in class SelectResultSet
java.sql.SQLException
public void updateObject(int columnIndex, java.lang.Object value) throws java.sql.SQLException
updateObject
in interface java.sql.ResultSet
updateObject
in class SelectResultSet
java.sql.SQLException
public void updateObject(java.lang.String columnLabel, java.lang.Object value, int scaleOrLength) throws java.sql.SQLException
updateObject
in interface java.sql.ResultSet
updateObject
in class SelectResultSet
java.sql.SQLException
public void updateObject(java.lang.String columnLabel, java.lang.Object value) throws java.sql.SQLException
updateObject
in interface java.sql.ResultSet
updateObject
in class SelectResultSet
java.sql.SQLException
public void updateLong(int columnIndex, long value) throws java.sql.SQLException
updateLong
in interface java.sql.ResultSet
updateLong
in class SelectResultSet
java.sql.SQLException
public void updateLong(java.lang.String columnLabel, long value) throws java.sql.SQLException
updateLong
in interface java.sql.ResultSet
updateLong
in class SelectResultSet
java.sql.SQLException
public void updateRef(int columnIndex, java.sql.Ref ref) throws java.sql.SQLException
updateRef
in interface java.sql.ResultSet
updateRef
in class SelectResultSet
java.sql.SQLException
public void updateRef(java.lang.String columnLabel, java.sql.Ref ref) throws java.sql.SQLException
updateRef
in interface java.sql.ResultSet
updateRef
in class SelectResultSet
java.sql.SQLException
public void updateBlob(int columnIndex, java.sql.Blob blob) throws java.sql.SQLException
updateBlob
in interface java.sql.ResultSet
updateBlob
in class SelectResultSet
java.sql.SQLException
public void updateBlob(java.lang.String columnLabel, java.sql.Blob blob) throws java.sql.SQLException
updateBlob
in interface java.sql.ResultSet
updateBlob
in class SelectResultSet
java.sql.SQLException
public void updateBlob(int columnIndex, java.io.InputStream inputStream) throws java.sql.SQLException
updateBlob
in interface java.sql.ResultSet
updateBlob
in class SelectResultSet
java.sql.SQLException
public void updateBlob(java.lang.String columnLabel, java.io.InputStream inputStream) throws java.sql.SQLException
updateBlob
in interface java.sql.ResultSet
updateBlob
in class SelectResultSet
java.sql.SQLException
public void updateBlob(int columnIndex, java.io.InputStream inputStream, long length) throws java.sql.SQLException
updateBlob
in interface java.sql.ResultSet
updateBlob
in class SelectResultSet
java.sql.SQLException
public void updateBlob(java.lang.String columnLabel, java.io.InputStream inputStream, long length) throws java.sql.SQLException
updateBlob
in interface java.sql.ResultSet
updateBlob
in class SelectResultSet
java.sql.SQLException
public void updateClob(int columnIndex, java.sql.Clob clob) throws java.sql.SQLException
updateClob
in interface java.sql.ResultSet
updateClob
in class SelectResultSet
java.sql.SQLException
public void updateClob(java.lang.String columnLabel, java.sql.Clob clob) throws java.sql.SQLException
updateClob
in interface java.sql.ResultSet
updateClob
in class SelectResultSet
java.sql.SQLException
public void updateClob(int columnIndex, java.io.Reader reader, long length) throws java.sql.SQLException
updateClob
in interface java.sql.ResultSet
updateClob
in class SelectResultSet
java.sql.SQLException
public void updateClob(java.lang.String columnLabel, java.io.Reader reader, long length) throws java.sql.SQLException
updateClob
in interface java.sql.ResultSet
updateClob
in class SelectResultSet
java.sql.SQLException
public void updateClob(int columnIndex, java.io.Reader reader) throws java.sql.SQLException
updateClob
in interface java.sql.ResultSet
updateClob
in class SelectResultSet
java.sql.SQLException
public void updateClob(java.lang.String columnLabel, java.io.Reader reader) throws java.sql.SQLException
updateClob
in interface java.sql.ResultSet
updateClob
in class SelectResultSet
java.sql.SQLException
public void updateArray(int columnIndex, java.sql.Array array) throws java.sql.SQLException
updateArray
in interface java.sql.ResultSet
updateArray
in class SelectResultSet
java.sql.SQLException
public void updateArray(java.lang.String columnLabel, java.sql.Array array) throws java.sql.SQLException
updateArray
in interface java.sql.ResultSet
updateArray
in class SelectResultSet
java.sql.SQLException
public void updateRowId(int columnIndex, java.sql.RowId rowId) throws java.sql.SQLException
updateRowId
in interface java.sql.ResultSet
updateRowId
in class SelectResultSet
java.sql.SQLException
public void updateRowId(java.lang.String columnLabel, java.sql.RowId rowId) throws java.sql.SQLException
updateRowId
in interface java.sql.ResultSet
updateRowId
in class SelectResultSet
java.sql.SQLException
public void updateNString(int columnIndex, java.lang.String nstring) throws java.sql.SQLException
updateNString
in interface java.sql.ResultSet
updateNString
in class SelectResultSet
java.sql.SQLException
public void updateNString(java.lang.String columnLabel, java.lang.String nstring) throws java.sql.SQLException
updateNString
in interface java.sql.ResultSet
updateNString
in class SelectResultSet
java.sql.SQLException
public void updateNClob(int columnIndex, java.sql.NClob nclob) throws java.sql.SQLException
updateNClob
in interface java.sql.ResultSet
updateNClob
in class SelectResultSet
java.sql.SQLException
public void updateNClob(java.lang.String columnLabel, java.sql.NClob nclob) throws java.sql.SQLException
updateNClob
in interface java.sql.ResultSet
updateNClob
in class SelectResultSet
java.sql.SQLException
public void updateNClob(int columnIndex, java.io.Reader reader) throws java.sql.SQLException
updateNClob
in interface java.sql.ResultSet
updateNClob
in class SelectResultSet
java.sql.SQLException
public void updateNClob(java.lang.String columnLabel, java.io.Reader reader) throws java.sql.SQLException
updateNClob
in interface java.sql.ResultSet
updateNClob
in class SelectResultSet
java.sql.SQLException
public void updateNClob(int columnIndex, java.io.Reader reader, long length) throws java.sql.SQLException
updateNClob
in interface java.sql.ResultSet
updateNClob
in class SelectResultSet
java.sql.SQLException
public void updateNClob(java.lang.String columnLabel, java.io.Reader reader, long length) throws java.sql.SQLException
updateNClob
in interface java.sql.ResultSet
updateNClob
in class SelectResultSet
java.sql.SQLException
public void updateSQLXML(int columnIndex, java.sql.SQLXML xmlObject) throws java.sql.SQLException
updateSQLXML
in interface java.sql.ResultSet
updateSQLXML
in class SelectResultSet
java.sql.SQLException
public void updateSQLXML(java.lang.String columnLabel, java.sql.SQLXML xmlObject) throws java.sql.SQLException
updateSQLXML
in interface java.sql.ResultSet
updateSQLXML
in class SelectResultSet
java.sql.SQLException
public void updateNCharacterStream(int columnIndex, java.io.Reader value, long length) throws java.sql.SQLException
updateNCharacterStream
in interface java.sql.ResultSet
updateNCharacterStream
in class SelectResultSet
java.sql.SQLException
public void updateNCharacterStream(java.lang.String columnLabel, java.io.Reader reader, long length) throws java.sql.SQLException
updateNCharacterStream
in interface java.sql.ResultSet
updateNCharacterStream
in class SelectResultSet
java.sql.SQLException
public void updateNCharacterStream(int columnIndex, java.io.Reader reader) throws java.sql.SQLException
updateNCharacterStream
in interface java.sql.ResultSet
updateNCharacterStream
in class SelectResultSet
java.sql.SQLException
public void updateNCharacterStream(java.lang.String columnLabel, java.io.Reader reader) throws java.sql.SQLException
updateNCharacterStream
in interface java.sql.ResultSet
updateNCharacterStream
in class SelectResultSet
java.sql.SQLException
public void insertRow() throws java.sql.SQLException
insertRow
in interface java.sql.ResultSet
insertRow
in class SelectResultSet
java.sql.SQLException
public void updateRow() throws java.sql.SQLException
updateRow
in interface java.sql.ResultSet
updateRow
in class SelectResultSet
java.sql.SQLException
public void deleteRow() throws java.sql.SQLException
deleteRow
in interface java.sql.ResultSet
deleteRow
in class SelectResultSet
java.sql.SQLException
private void prepareRefreshStmt() throws java.sql.SQLException
java.sql.SQLException
private byte[] refreshRawData() throws java.sql.SQLException
java.sql.SQLException
public void refreshRow() throws java.sql.SQLException
refreshRow
in interface java.sql.ResultSet
refreshRow
in class SelectResultSet
java.sql.SQLException
public void cancelRowUpdates()
cancelRowUpdates
in interface java.sql.ResultSet
cancelRowUpdates
in class SelectResultSet
public void moveToInsertRow() throws java.sql.SQLException
moveToInsertRow
in interface java.sql.ResultSet
moveToInsertRow
in class SelectResultSet
java.sql.SQLException
public void moveToCurrentRow()
moveToCurrentRow
in interface java.sql.ResultSet
moveToCurrentRow
in class SelectResultSet
public void beforeFirst() throws java.sql.SQLException
beforeFirst
in interface java.sql.ResultSet
beforeFirst
in class SelectResultSet
java.sql.SQLException
public boolean first() throws java.sql.SQLException
first
in interface java.sql.ResultSet
first
in class SelectResultSet
java.sql.SQLException
public boolean last() throws java.sql.SQLException
last
in interface java.sql.ResultSet
last
in class SelectResultSet
java.sql.SQLException
public void afterLast() throws java.sql.SQLException
afterLast
in interface java.sql.ResultSet
afterLast
in class SelectResultSet
java.sql.SQLException
public boolean absolute(int row) throws java.sql.SQLException
absolute
in interface java.sql.ResultSet
absolute
in class SelectResultSet
java.sql.SQLException
public boolean relative(int rows) throws java.sql.SQLException
relative
in interface java.sql.ResultSet
relative
in class SelectResultSet
java.sql.SQLException
public boolean next() throws java.sql.SQLException
next
in interface java.sql.ResultSet
next
in class SelectResultSet
java.sql.SQLException
public boolean previous() throws java.sql.SQLException
previous
in interface java.sql.ResultSet
previous
in class SelectResultSet
java.sql.SQLException