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 booleancanBeInsertedprivate booleancanBeRefreshprivate booleancanBeUpdateprivate MariaDbConnectionconnectionprivate java.lang.Stringdatabaseprivate ClientSidePreparedStatementdeletePreparedStatementprivate java.lang.StringexceptionInsertMsgprivate java.lang.StringexceptionUpdateMsgprivate intnotInsertRowPointerprivate ParameterHolder[]parameterHoldersprivate java.sql.PreparedStatementrefreshPreparedStatementprivate intstateprivate static intSTATE_INSERTprivate static intSTATE_STANDARDprivate static intSTATE_UPDATEprivate static intSTATE_UPDATEDprivate java.lang.Stringtable-
Fields inherited from class org.mariadb.jdbc.internal.com.read.resultset.SelectResultSet
columnInformationLength, columnsInformation, noBackslashEscapes, options, row, 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 booleanabsolute(int row)voidafterLast()voidbeforeFirst()voidcancelRowUpdates(){inheritDoc}.private voidcannotInsertRow(java.lang.String reason)private voidcannotUpdateInsertRow(java.lang.String reason)private voidcheckIfUpdatable(Results results)private voidcheckUpdatable(int position)voidclose()Close resultSet.voiddeleteRow(){inheritDoc}.booleanfirst()intgetConcurrency()private UpdatableColumnDefinition[]getUpdatableColumns()voidinsertRow(){inheritDoc}.booleanlast()voidmoveToCurrentRow(){inheritDoc}.voidmoveToInsertRow(){inheritDoc}.booleannext()private voidprepareRefreshStmt()booleanprevious()private byte[]refreshRawData()voidrefreshRow(){inheritDoc}.booleanrelative(int rows)voidupdateArray(int columnIndex, java.sql.Array array){inheritDoc}.voidupdateArray(java.lang.String columnLabel, java.sql.Array array){inheritDoc}.voidupdateAsciiStream(int columnIndex, java.io.InputStream inputStream){inheritDoc}.voidupdateAsciiStream(int columnIndex, java.io.InputStream inputStream, int length){inheritDoc}.voidupdateAsciiStream(int columnIndex, java.io.InputStream inputStream, long length){inheritDoc}.voidupdateAsciiStream(java.lang.String columnLabel, java.io.InputStream inputStream){inheritDoc}.voidupdateAsciiStream(java.lang.String columnLabel, java.io.InputStream inputStream, int length){inheritDoc}.voidupdateAsciiStream(java.lang.String columnLabel, java.io.InputStream inputStream, long length){inheritDoc}.voidupdateBigDecimal(int columnIndex, java.math.BigDecimal value){inheritDoc}.voidupdateBigDecimal(java.lang.String columnLabel, java.math.BigDecimal value){inheritDoc}.voidupdateBinaryStream(int columnIndex, java.io.InputStream inputStream){inheritDoc}.voidupdateBinaryStream(int columnIndex, java.io.InputStream inputStream, int length){inheritDoc}.voidupdateBinaryStream(int columnIndex, java.io.InputStream inputStream, long length){inheritDoc}.voidupdateBinaryStream(java.lang.String columnLabel, java.io.InputStream inputStream){inheritDoc}.voidupdateBinaryStream(java.lang.String columnLabel, java.io.InputStream inputStream, int length){inheritDoc}.voidupdateBinaryStream(java.lang.String columnLabel, java.io.InputStream inputStream, long length){inheritDoc}.voidupdateBlob(int columnIndex, java.io.InputStream inputStream){inheritDoc}.voidupdateBlob(int columnIndex, java.io.InputStream inputStream, long length){inheritDoc}.voidupdateBlob(int columnIndex, java.sql.Blob blob){inheritDoc}.voidupdateBlob(java.lang.String columnLabel, java.io.InputStream inputStream){inheritDoc}.voidupdateBlob(java.lang.String columnLabel, java.io.InputStream inputStream, long length){inheritDoc}.voidupdateBlob(java.lang.String columnLabel, java.sql.Blob blob){inheritDoc}.voidupdateBoolean(int columnIndex, boolean bool){inheritDoc}.voidupdateBoolean(java.lang.String columnLabel, boolean value){inheritDoc}.voidupdateByte(int columnIndex, byte value){inheritDoc}.voidupdateByte(java.lang.String columnLabel, byte value){inheritDoc}.voidupdateBytes(int columnIndex, byte[] value){inheritDoc}.voidupdateBytes(java.lang.String columnLabel, byte[] value){inheritDoc}.voidupdateCharacterStream(int columnIndex, java.io.Reader value){inheritDoc}.voidupdateCharacterStream(int columnIndex, java.io.Reader reader, int length){inheritDoc}.voidupdateCharacterStream(int columnIndex, java.io.Reader value, long length){inheritDoc}.voidupdateCharacterStream(java.lang.String columnLabel, java.io.Reader reader){inheritDoc}.voidupdateCharacterStream(java.lang.String columnLabel, java.io.Reader reader, int length){inheritDoc}.voidupdateCharacterStream(java.lang.String columnLabel, java.io.Reader reader, long length){inheritDoc}.voidupdateClob(int columnIndex, java.io.Reader reader){inheritDoc}.voidupdateClob(int columnIndex, java.io.Reader reader, long length){inheritDoc}.voidupdateClob(int columnIndex, java.sql.Clob clob){inheritDoc}.voidupdateClob(java.lang.String columnLabel, java.io.Reader reader){inheritDoc}.voidupdateClob(java.lang.String columnLabel, java.io.Reader reader, long length){inheritDoc}.voidupdateClob(java.lang.String columnLabel, java.sql.Clob clob){inheritDoc}.voidupdateDate(int columnIndex, java.sql.Date date){inheritDoc}.voidupdateDate(java.lang.String columnLabel, java.sql.Date value){inheritDoc}.voidupdateDouble(int columnIndex, double value){inheritDoc}.voidupdateDouble(java.lang.String columnLabel, double value){inheritDoc}.voidupdateFloat(int columnIndex, float value){inheritDoc}.voidupdateFloat(java.lang.String columnLabel, float value){inheritDoc}.voidupdateInt(int columnIndex, int value){inheritDoc}.voidupdateInt(java.lang.String columnLabel, int value){inheritDoc}.private voidupdateInternalObject(int parameterIndex, java.lang.Object obj, int targetSqlType, long scaleOrLength)voidupdateLong(int columnIndex, long value){inheritDoc}.voidupdateLong(java.lang.String columnLabel, long value){inheritDoc}.voidupdateNCharacterStream(int columnIndex, java.io.Reader reader){inheritDoc}.voidupdateNCharacterStream(int columnIndex, java.io.Reader value, long length){inheritDoc}.voidupdateNCharacterStream(java.lang.String columnLabel, java.io.Reader reader){inheritDoc}.voidupdateNCharacterStream(java.lang.String columnLabel, java.io.Reader reader, long length){inheritDoc}.voidupdateNClob(int columnIndex, java.io.Reader reader){inheritDoc}.voidupdateNClob(int columnIndex, java.io.Reader reader, long length){inheritDoc}.voidupdateNClob(int columnIndex, java.sql.NClob nclob){inheritDoc}.voidupdateNClob(java.lang.String columnLabel, java.io.Reader reader){inheritDoc}.voidupdateNClob(java.lang.String columnLabel, java.io.Reader reader, long length){inheritDoc}.voidupdateNClob(java.lang.String columnLabel, java.sql.NClob nclob){inheritDoc}.voidupdateNString(int columnIndex, java.lang.String nstring){inheritDoc}.voidupdateNString(java.lang.String columnLabel, java.lang.String nstring){inheritDoc}.voidupdateNull(int columnIndex){inheritDoc}.voidupdateNull(java.lang.String columnLabel){inheritDoc}.voidupdateObject(int columnIndex, java.lang.Object value){inheritDoc}.voidupdateObject(int columnIndex, java.lang.Object value, int scaleOrLength){inheritDoc}.voidupdateObject(java.lang.String columnLabel, java.lang.Object value){inheritDoc}.voidupdateObject(java.lang.String columnLabel, java.lang.Object value, int scaleOrLength){inheritDoc}.voidupdateRef(int columnIndex, java.sql.Ref ref){inheritDoc}.voidupdateRef(java.lang.String columnLabel, java.sql.Ref ref){inheritDoc}.voidupdateRow(){inheritDoc}.voidupdateRowId(int columnIndex, java.sql.RowId rowId){inheritDoc}.voidupdateRowId(java.lang.String columnLabel, java.sql.RowId rowId){inheritDoc}.voidupdateShort(int columnIndex, short value){inheritDoc}.voidupdateShort(java.lang.String columnLabel, short value){inheritDoc}.voidupdateSQLXML(int columnIndex, java.sql.SQLXML xmlObject){inheritDoc}.voidupdateSQLXML(java.lang.String columnLabel, java.sql.SQLXML xmlObject){inheritDoc}.voidupdateString(int columnIndex, java.lang.String value){inheritDoc}.voidupdateString(java.lang.String columnLabel, java.lang.String value){inheritDoc}.voidupdateTime(int columnIndex, java.sql.Time time){inheritDoc}.voidupdateTime(java.lang.String columnLabel, java.sql.Time value){inheritDoc}.voidupdateTimestamp(int columnIndex, java.sql.Timestamp timeStamp){inheritDoc}.voidupdateTimestamp(java.lang.String columnLabel, java.sql.Timestamp value){inheritDoc}.-
Methods inherited from class org.mariadb.jdbc.internal.com.read.resultset.SelectResultSet
abort, addRowData, clearWarnings, 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
-
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:
getConcurrencyin interfacejava.sql.ResultSet- Overrides:
getConcurrencyin 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:
updateNullin interfacejava.sql.ResultSet- Overrides:
updateNullin classSelectResultSet- Throws:
java.sql.SQLException
-
updateNull
public void updateNull(java.lang.String columnLabel) throws java.sql.SQLException{inheritDoc}.- Specified by:
updateNullin interfacejava.sql.ResultSet- Overrides:
updateNullin classSelectResultSet- Throws:
java.sql.SQLException
-
updateBoolean
public void updateBoolean(int columnIndex, boolean bool) throws java.sql.SQLException{inheritDoc}.- Specified by:
updateBooleanin interfacejava.sql.ResultSet- Overrides:
updateBooleanin classSelectResultSet- Throws:
java.sql.SQLException
-
updateBoolean
public void updateBoolean(java.lang.String columnLabel, boolean value) throws java.sql.SQLException{inheritDoc}.- Specified by:
updateBooleanin interfacejava.sql.ResultSet- Overrides:
updateBooleanin classSelectResultSet- Throws:
java.sql.SQLException
-
updateByte
public void updateByte(int columnIndex, byte value) throws java.sql.SQLException{inheritDoc}.- Specified by:
updateBytein interfacejava.sql.ResultSet- Overrides:
updateBytein classSelectResultSet- Throws:
java.sql.SQLException
-
updateByte
public void updateByte(java.lang.String columnLabel, byte value) throws java.sql.SQLException{inheritDoc}.- Specified by:
updateBytein interfacejava.sql.ResultSet- Overrides:
updateBytein classSelectResultSet- Throws:
java.sql.SQLException
-
updateShort
public void updateShort(int columnIndex, short value) throws java.sql.SQLException{inheritDoc}.- Specified by:
updateShortin interfacejava.sql.ResultSet- Overrides:
updateShortin classSelectResultSet- Throws:
java.sql.SQLException
-
updateShort
public void updateShort(java.lang.String columnLabel, short value) throws java.sql.SQLException{inheritDoc}.- Specified by:
updateShortin interfacejava.sql.ResultSet- Overrides:
updateShortin classSelectResultSet- Throws:
java.sql.SQLException
-
updateInt
public void updateInt(int columnIndex, int value) throws java.sql.SQLException{inheritDoc}.- Specified by:
updateIntin interfacejava.sql.ResultSet- Overrides:
updateIntin classSelectResultSet- Throws:
java.sql.SQLException
-
updateInt
public void updateInt(java.lang.String columnLabel, int value) throws java.sql.SQLException{inheritDoc}.- Specified by:
updateIntin interfacejava.sql.ResultSet- Overrides:
updateIntin classSelectResultSet- Throws:
java.sql.SQLException
-
updateFloat
public void updateFloat(int columnIndex, float value) throws java.sql.SQLException{inheritDoc}.- Specified by:
updateFloatin interfacejava.sql.ResultSet- Overrides:
updateFloatin classSelectResultSet- Throws:
java.sql.SQLException
-
updateFloat
public void updateFloat(java.lang.String columnLabel, float value) throws java.sql.SQLException{inheritDoc}.- Specified by:
updateFloatin interfacejava.sql.ResultSet- Overrides:
updateFloatin classSelectResultSet- Throws:
java.sql.SQLException
-
updateDouble
public void updateDouble(int columnIndex, double value) throws java.sql.SQLException{inheritDoc}.- Specified by:
updateDoublein interfacejava.sql.ResultSet- Overrides:
updateDoublein classSelectResultSet- Throws:
java.sql.SQLException
-
updateDouble
public void updateDouble(java.lang.String columnLabel, double value) throws java.sql.SQLException{inheritDoc}.- Specified by:
updateDoublein interfacejava.sql.ResultSet- Overrides:
updateDoublein classSelectResultSet- Throws:
java.sql.SQLException
-
updateBigDecimal
public void updateBigDecimal(int columnIndex, java.math.BigDecimal value) throws java.sql.SQLException{inheritDoc}.- Specified by:
updateBigDecimalin interfacejava.sql.ResultSet- Overrides:
updateBigDecimalin classSelectResultSet- Throws:
java.sql.SQLException
-
updateBigDecimal
public void updateBigDecimal(java.lang.String columnLabel, java.math.BigDecimal value) throws java.sql.SQLException{inheritDoc}.- Specified by:
updateBigDecimalin interfacejava.sql.ResultSet- Overrides:
updateBigDecimalin classSelectResultSet- Throws:
java.sql.SQLException
-
updateString
public void updateString(int columnIndex, java.lang.String value) throws java.sql.SQLException{inheritDoc}.- Specified by:
updateStringin interfacejava.sql.ResultSet- Overrides:
updateStringin classSelectResultSet- Throws:
java.sql.SQLException
-
updateString
public void updateString(java.lang.String columnLabel, java.lang.String value) throws java.sql.SQLException{inheritDoc}.- Specified by:
updateStringin interfacejava.sql.ResultSet- Overrides:
updateStringin classSelectResultSet- Throws:
java.sql.SQLException
-
updateBytes
public void updateBytes(int columnIndex, byte[] value) throws java.sql.SQLException{inheritDoc}.- Specified by:
updateBytesin interfacejava.sql.ResultSet- Overrides:
updateBytesin classSelectResultSet- Throws:
java.sql.SQLException
-
updateBytes
public void updateBytes(java.lang.String columnLabel, byte[] value) throws java.sql.SQLException{inheritDoc}.- Specified by:
updateBytesin interfacejava.sql.ResultSet- Overrides:
updateBytesin classSelectResultSet- Throws:
java.sql.SQLException
-
updateDate
public void updateDate(int columnIndex, java.sql.Date date) throws java.sql.SQLException{inheritDoc}.- Specified by:
updateDatein interfacejava.sql.ResultSet- Overrides:
updateDatein classSelectResultSet- Throws:
java.sql.SQLException
-
updateDate
public void updateDate(java.lang.String columnLabel, java.sql.Date value) throws java.sql.SQLException{inheritDoc}.- Specified by:
updateDatein interfacejava.sql.ResultSet- Overrides:
updateDatein classSelectResultSet- Throws:
java.sql.SQLException
-
updateTime
public void updateTime(int columnIndex, java.sql.Time time) throws java.sql.SQLException{inheritDoc}.- Specified by:
updateTimein interfacejava.sql.ResultSet- Overrides:
updateTimein classSelectResultSet- Throws:
java.sql.SQLException
-
updateTime
public void updateTime(java.lang.String columnLabel, java.sql.Time value) throws java.sql.SQLException{inheritDoc}.- Specified by:
updateTimein interfacejava.sql.ResultSet- Overrides:
updateTimein classSelectResultSet- Throws:
java.sql.SQLException
-
updateTimestamp
public void updateTimestamp(int columnIndex, java.sql.Timestamp timeStamp) throws java.sql.SQLException{inheritDoc}.- Specified by:
updateTimestampin interfacejava.sql.ResultSet- Overrides:
updateTimestampin classSelectResultSet- Throws:
java.sql.SQLException
-
updateTimestamp
public void updateTimestamp(java.lang.String columnLabel, java.sql.Timestamp value) throws java.sql.SQLException{inheritDoc}.- Specified by:
updateTimestampin interfacejava.sql.ResultSet- Overrides:
updateTimestampin classSelectResultSet- Throws:
java.sql.SQLException
-
updateAsciiStream
public void updateAsciiStream(int columnIndex, java.io.InputStream inputStream) throws java.sql.SQLException{inheritDoc}.- Specified by:
updateAsciiStreamin interfacejava.sql.ResultSet- Overrides:
updateAsciiStreamin classSelectResultSet- Throws:
java.sql.SQLException
-
updateAsciiStream
public void updateAsciiStream(java.lang.String columnLabel, java.io.InputStream inputStream) throws java.sql.SQLException{inheritDoc}.- Specified by:
updateAsciiStreamin interfacejava.sql.ResultSet- Overrides:
updateAsciiStreamin classSelectResultSet- Throws:
java.sql.SQLException
-
updateAsciiStream
public void updateAsciiStream(int columnIndex, java.io.InputStream inputStream, int length) throws java.sql.SQLException{inheritDoc}.- Specified by:
updateAsciiStreamin interfacejava.sql.ResultSet- Overrides:
updateAsciiStreamin 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:
updateAsciiStreamin interfacejava.sql.ResultSet- Overrides:
updateAsciiStreamin classSelectResultSet- Throws:
java.sql.SQLException
-
updateAsciiStream
public void updateAsciiStream(int columnIndex, java.io.InputStream inputStream, long length) throws java.sql.SQLException{inheritDoc}.- Specified by:
updateAsciiStreamin interfacejava.sql.ResultSet- Overrides:
updateAsciiStreamin 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:
updateAsciiStreamin interfacejava.sql.ResultSet- Overrides:
updateAsciiStreamin classSelectResultSet- Throws:
java.sql.SQLException
-
updateBinaryStream
public void updateBinaryStream(int columnIndex, java.io.InputStream inputStream, int length) throws java.sql.SQLException{inheritDoc}.- Specified by:
updateBinaryStreamin interfacejava.sql.ResultSet- Overrides:
updateBinaryStreamin classSelectResultSet- Throws:
java.sql.SQLException
-
updateBinaryStream
public void updateBinaryStream(int columnIndex, java.io.InputStream inputStream, long length) throws java.sql.SQLException{inheritDoc}.- Specified by:
updateBinaryStreamin interfacejava.sql.ResultSet- Overrides:
updateBinaryStreamin 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:
updateBinaryStreamin interfacejava.sql.ResultSet- Overrides:
updateBinaryStreamin 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:
updateBinaryStreamin interfacejava.sql.ResultSet- Overrides:
updateBinaryStreamin classSelectResultSet- Throws:
java.sql.SQLException
-
updateBinaryStream
public void updateBinaryStream(int columnIndex, java.io.InputStream inputStream) throws java.sql.SQLException{inheritDoc}.- Specified by:
updateBinaryStreamin interfacejava.sql.ResultSet- Overrides:
updateBinaryStreamin classSelectResultSet- Throws:
java.sql.SQLException
-
updateBinaryStream
public void updateBinaryStream(java.lang.String columnLabel, java.io.InputStream inputStream) throws java.sql.SQLException{inheritDoc}.- Specified by:
updateBinaryStreamin interfacejava.sql.ResultSet- Overrides:
updateBinaryStreamin classSelectResultSet- Throws:
java.sql.SQLException
-
updateCharacterStream
public void updateCharacterStream(int columnIndex, java.io.Reader reader, int length) throws java.sql.SQLException{inheritDoc}.- Specified by:
updateCharacterStreamin interfacejava.sql.ResultSet- Overrides:
updateCharacterStreamin classSelectResultSet- Throws:
java.sql.SQLException
-
updateCharacterStream
public void updateCharacterStream(int columnIndex, java.io.Reader value) throws java.sql.SQLException{inheritDoc}.- Specified by:
updateCharacterStreamin interfacejava.sql.ResultSet- Overrides:
updateCharacterStreamin 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:
updateCharacterStreamin interfacejava.sql.ResultSet- Overrides:
updateCharacterStreamin classSelectResultSet- Throws:
java.sql.SQLException
-
updateCharacterStream
public void updateCharacterStream(int columnIndex, java.io.Reader value, long length) throws java.sql.SQLException{inheritDoc}.- Specified by:
updateCharacterStreamin interfacejava.sql.ResultSet- Overrides:
updateCharacterStreamin 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:
updateCharacterStreamin interfacejava.sql.ResultSet- Overrides:
updateCharacterStreamin classSelectResultSet- Throws:
java.sql.SQLException
-
updateCharacterStream
public void updateCharacterStream(java.lang.String columnLabel, java.io.Reader reader) throws java.sql.SQLException{inheritDoc}.- Specified by:
updateCharacterStreamin interfacejava.sql.ResultSet- Overrides:
updateCharacterStreamin 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:
updateObjectin interfacejava.sql.ResultSet- Overrides:
updateObjectin classSelectResultSet- Throws:
java.sql.SQLException
-
updateObject
public void updateObject(int columnIndex, java.lang.Object value) throws java.sql.SQLException{inheritDoc}.- Specified by:
updateObjectin interfacejava.sql.ResultSet- Overrides:
updateObjectin 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:
updateObjectin interfacejava.sql.ResultSet- Overrides:
updateObjectin classSelectResultSet- Throws:
java.sql.SQLException
-
updateObject
public void updateObject(java.lang.String columnLabel, java.lang.Object value) throws java.sql.SQLException{inheritDoc}.- Specified by:
updateObjectin interfacejava.sql.ResultSet- Overrides:
updateObjectin classSelectResultSet- Throws:
java.sql.SQLException
-
updateLong
public void updateLong(int columnIndex, long value) throws java.sql.SQLException{inheritDoc}.- Specified by:
updateLongin interfacejava.sql.ResultSet- Overrides:
updateLongin classSelectResultSet- Throws:
java.sql.SQLException
-
updateLong
public void updateLong(java.lang.String columnLabel, long value) throws java.sql.SQLException{inheritDoc}.- Specified by:
updateLongin interfacejava.sql.ResultSet- Overrides:
updateLongin classSelectResultSet- Throws:
java.sql.SQLException
-
updateRef
public void updateRef(int columnIndex, java.sql.Ref ref) throws java.sql.SQLException{inheritDoc}.- Specified by:
updateRefin interfacejava.sql.ResultSet- Overrides:
updateRefin classSelectResultSet- Throws:
java.sql.SQLException
-
updateRef
public void updateRef(java.lang.String columnLabel, java.sql.Ref ref) throws java.sql.SQLException{inheritDoc}.- Specified by:
updateRefin interfacejava.sql.ResultSet- Overrides:
updateRefin classSelectResultSet- Throws:
java.sql.SQLException
-
updateBlob
public void updateBlob(int columnIndex, java.sql.Blob blob) throws java.sql.SQLException{inheritDoc}.- Specified by:
updateBlobin interfacejava.sql.ResultSet- Overrides:
updateBlobin classSelectResultSet- Throws:
java.sql.SQLException
-
updateBlob
public void updateBlob(java.lang.String columnLabel, java.sql.Blob blob) throws java.sql.SQLException{inheritDoc}.- Specified by:
updateBlobin interfacejava.sql.ResultSet- Overrides:
updateBlobin classSelectResultSet- Throws:
java.sql.SQLException
-
updateBlob
public void updateBlob(int columnIndex, java.io.InputStream inputStream) throws java.sql.SQLException{inheritDoc}.- Specified by:
updateBlobin interfacejava.sql.ResultSet- Overrides:
updateBlobin classSelectResultSet- Throws:
java.sql.SQLException
-
updateBlob
public void updateBlob(java.lang.String columnLabel, java.io.InputStream inputStream) throws java.sql.SQLException{inheritDoc}.- Specified by:
updateBlobin interfacejava.sql.ResultSet- Overrides:
updateBlobin classSelectResultSet- Throws:
java.sql.SQLException
-
updateBlob
public void updateBlob(int columnIndex, java.io.InputStream inputStream, long length) throws java.sql.SQLException{inheritDoc}.- Specified by:
updateBlobin interfacejava.sql.ResultSet- Overrides:
updateBlobin 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:
updateBlobin interfacejava.sql.ResultSet- Overrides:
updateBlobin classSelectResultSet- Throws:
java.sql.SQLException
-
updateClob
public void updateClob(int columnIndex, java.sql.Clob clob) throws java.sql.SQLException{inheritDoc}.- Specified by:
updateClobin interfacejava.sql.ResultSet- Overrides:
updateClobin classSelectResultSet- Throws:
java.sql.SQLException
-
updateClob
public void updateClob(java.lang.String columnLabel, java.sql.Clob clob) throws java.sql.SQLException{inheritDoc}.- Specified by:
updateClobin interfacejava.sql.ResultSet- Overrides:
updateClobin classSelectResultSet- Throws:
java.sql.SQLException
-
updateClob
public void updateClob(int columnIndex, java.io.Reader reader, long length) throws java.sql.SQLException{inheritDoc}.- Specified by:
updateClobin interfacejava.sql.ResultSet- Overrides:
updateClobin 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:
updateClobin interfacejava.sql.ResultSet- Overrides:
updateClobin classSelectResultSet- Throws:
java.sql.SQLException
-
updateClob
public void updateClob(int columnIndex, java.io.Reader reader) throws java.sql.SQLException{inheritDoc}.- Specified by:
updateClobin interfacejava.sql.ResultSet- Overrides:
updateClobin classSelectResultSet- Throws:
java.sql.SQLException
-
updateClob
public void updateClob(java.lang.String columnLabel, java.io.Reader reader) throws java.sql.SQLException{inheritDoc}.- Specified by:
updateClobin interfacejava.sql.ResultSet- Overrides:
updateClobin classSelectResultSet- Throws:
java.sql.SQLException
-
updateArray
public void updateArray(int columnIndex, java.sql.Array array) throws java.sql.SQLException{inheritDoc}.- Specified by:
updateArrayin interfacejava.sql.ResultSet- Overrides:
updateArrayin classSelectResultSet- Throws:
java.sql.SQLException
-
updateArray
public void updateArray(java.lang.String columnLabel, java.sql.Array array) throws java.sql.SQLException{inheritDoc}.- Specified by:
updateArrayin interfacejava.sql.ResultSet- Overrides:
updateArrayin classSelectResultSet- Throws:
java.sql.SQLException
-
updateRowId
public void updateRowId(int columnIndex, java.sql.RowId rowId) throws java.sql.SQLException{inheritDoc}.- Specified by:
updateRowIdin interfacejava.sql.ResultSet- Overrides:
updateRowIdin classSelectResultSet- Throws:
java.sql.SQLException
-
updateRowId
public void updateRowId(java.lang.String columnLabel, java.sql.RowId rowId) throws java.sql.SQLException{inheritDoc}.- Specified by:
updateRowIdin interfacejava.sql.ResultSet- Overrides:
updateRowIdin classSelectResultSet- Throws:
java.sql.SQLException
-
updateNString
public void updateNString(int columnIndex, java.lang.String nstring) throws java.sql.SQLException{inheritDoc}.- Specified by:
updateNStringin interfacejava.sql.ResultSet- Overrides:
updateNStringin classSelectResultSet- Throws:
java.sql.SQLException
-
updateNString
public void updateNString(java.lang.String columnLabel, java.lang.String nstring) throws java.sql.SQLException{inheritDoc}.- Specified by:
updateNStringin interfacejava.sql.ResultSet- Overrides:
updateNStringin classSelectResultSet- Throws:
java.sql.SQLException
-
updateNClob
public void updateNClob(int columnIndex, java.sql.NClob nclob) throws java.sql.SQLException{inheritDoc}.- Specified by:
updateNClobin interfacejava.sql.ResultSet- Overrides:
updateNClobin classSelectResultSet- Throws:
java.sql.SQLException
-
updateNClob
public void updateNClob(java.lang.String columnLabel, java.sql.NClob nclob) throws java.sql.SQLException{inheritDoc}.- Specified by:
updateNClobin interfacejava.sql.ResultSet- Overrides:
updateNClobin classSelectResultSet- Throws:
java.sql.SQLException
-
updateNClob
public void updateNClob(int columnIndex, java.io.Reader reader) throws java.sql.SQLException{inheritDoc}.- Specified by:
updateNClobin interfacejava.sql.ResultSet- Overrides:
updateNClobin classSelectResultSet- Throws:
java.sql.SQLException
-
updateNClob
public void updateNClob(java.lang.String columnLabel, java.io.Reader reader) throws java.sql.SQLException{inheritDoc}.- Specified by:
updateNClobin interfacejava.sql.ResultSet- Overrides:
updateNClobin classSelectResultSet- Throws:
java.sql.SQLException
-
updateNClob
public void updateNClob(int columnIndex, java.io.Reader reader, long length) throws java.sql.SQLException{inheritDoc}.- Specified by:
updateNClobin interfacejava.sql.ResultSet- Overrides:
updateNClobin 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:
updateNClobin interfacejava.sql.ResultSet- Overrides:
updateNClobin classSelectResultSet- Throws:
java.sql.SQLException
-
updateSQLXML
public void updateSQLXML(int columnIndex, java.sql.SQLXML xmlObject) throws java.sql.SQLException{inheritDoc}.- Specified by:
updateSQLXMLin interfacejava.sql.ResultSet- Overrides:
updateSQLXMLin classSelectResultSet- Throws:
java.sql.SQLException
-
updateSQLXML
public void updateSQLXML(java.lang.String columnLabel, java.sql.SQLXML xmlObject) throws java.sql.SQLException{inheritDoc}.- Specified by:
updateSQLXMLin interfacejava.sql.ResultSet- Overrides:
updateSQLXMLin classSelectResultSet- Throws:
java.sql.SQLException
-
updateNCharacterStream
public void updateNCharacterStream(int columnIndex, java.io.Reader value, long length) throws java.sql.SQLException{inheritDoc}.- Specified by:
updateNCharacterStreamin interfacejava.sql.ResultSet- Overrides:
updateNCharacterStreamin 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:
updateNCharacterStreamin interfacejava.sql.ResultSet- Overrides:
updateNCharacterStreamin classSelectResultSet- Throws:
java.sql.SQLException
-
updateNCharacterStream
public void updateNCharacterStream(int columnIndex, java.io.Reader reader) throws java.sql.SQLException{inheritDoc}.- Specified by:
updateNCharacterStreamin interfacejava.sql.ResultSet- Overrides:
updateNCharacterStreamin classSelectResultSet- Throws:
java.sql.SQLException
-
updateNCharacterStream
public void updateNCharacterStream(java.lang.String columnLabel, java.io.Reader reader) throws java.sql.SQLException{inheritDoc}.- Specified by:
updateNCharacterStreamin interfacejava.sql.ResultSet- Overrides:
updateNCharacterStreamin classSelectResultSet- Throws:
java.sql.SQLException
-
insertRow
public void insertRow() throws java.sql.SQLException{inheritDoc}.- Specified by:
insertRowin interfacejava.sql.ResultSet- Overrides:
insertRowin classSelectResultSet- Throws:
java.sql.SQLException
-
updateRow
public void updateRow() throws java.sql.SQLException{inheritDoc}.- Specified by:
updateRowin interfacejava.sql.ResultSet- Overrides:
updateRowin classSelectResultSet- Throws:
java.sql.SQLException
-
deleteRow
public void deleteRow() throws java.sql.SQLException{inheritDoc}.- Specified by:
deleteRowin interfacejava.sql.ResultSet- Overrides:
deleteRowin 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:
refreshRowin interfacejava.sql.ResultSet- Overrides:
refreshRowin classSelectResultSet- Throws:
java.sql.SQLException
-
cancelRowUpdates
public void cancelRowUpdates()
{inheritDoc}.- Specified by:
cancelRowUpdatesin interfacejava.sql.ResultSet- Overrides:
cancelRowUpdatesin classSelectResultSet
-
moveToInsertRow
public void moveToInsertRow() throws java.sql.SQLException{inheritDoc}.- Specified by:
moveToInsertRowin interfacejava.sql.ResultSet- Overrides:
moveToInsertRowin classSelectResultSet- Throws:
java.sql.SQLException
-
moveToCurrentRow
public void moveToCurrentRow()
{inheritDoc}.- Specified by:
moveToCurrentRowin interfacejava.sql.ResultSet- Overrides:
moveToCurrentRowin classSelectResultSet
-
beforeFirst
public void beforeFirst() throws java.sql.SQLException- Specified by:
beforeFirstin interfacejava.sql.ResultSet- Overrides:
beforeFirstin classSelectResultSet- Throws:
java.sql.SQLException
-
first
public boolean first() throws java.sql.SQLException- Specified by:
firstin interfacejava.sql.ResultSet- Overrides:
firstin classSelectResultSet- Throws:
java.sql.SQLException
-
last
public boolean last() throws java.sql.SQLException- Specified by:
lastin interfacejava.sql.ResultSet- Overrides:
lastin classSelectResultSet- Throws:
java.sql.SQLException
-
afterLast
public void afterLast() throws java.sql.SQLException- Specified by:
afterLastin interfacejava.sql.ResultSet- Overrides:
afterLastin classSelectResultSet- Throws:
java.sql.SQLException
-
absolute
public boolean absolute(int row) throws java.sql.SQLException- Specified by:
absolutein interfacejava.sql.ResultSet- Overrides:
absolutein classSelectResultSet- Throws:
java.sql.SQLException
-
relative
public boolean relative(int rows) throws java.sql.SQLException- Specified by:
relativein interfacejava.sql.ResultSet- Overrides:
relativein classSelectResultSet- Throws:
java.sql.SQLException
-
next
public boolean next() throws java.sql.SQLException- Specified by:
nextin interfacejava.sql.ResultSet- Overrides:
nextin classSelectResultSet- Throws:
java.sql.SQLException
-
previous
public boolean previous() throws java.sql.SQLException- Specified by:
previousin interfacejava.sql.ResultSet- Overrides:
previousin classSelectResultSet- Throws:
java.sql.SQLException
-
close
public void close() throws java.sql.SQLExceptionDescription copied from class:SelectResultSetClose resultSet.- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfacejava.sql.ResultSet- Overrides:
closein classSelectResultSet- Throws:
java.sql.SQLException
-
-