public class UpdatableResult extends CompleteResult
BEFORE_FIRST_POSclosed, context, data, dataSize, exceptionFactory, loaded, maxRows, metadataList, outputParameter, reader, resultSetType, row, rowPointer, statementCLOSE_CURSORS_AT_COMMIT, CONCUR_READ_ONLY, CONCUR_UPDATABLE, FETCH_FORWARD, FETCH_REVERSE, FETCH_UNKNOWN, HOLD_CURSORS_OVER_COMMIT, TYPE_FORWARD_ONLY, TYPE_SCROLL_INSENSITIVE, TYPE_SCROLL_SENSITIVE| Constructor and Description |
|---|
UpdatableResult(Statement stmt,
boolean binaryProtocol,
long maxRows,
ColumnDefinitionPacket[] metadataList,
PacketReader reader,
Context context,
int resultSetType,
boolean closeOnCompletion,
boolean traceEnable) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
absolute(int row) |
void |
afterLast() |
void |
beforeFirst() |
void |
cancelRowUpdates() |
void |
deleteRow() |
boolean |
first() |
int |
getConcurrency() |
void |
insertRow() |
boolean |
last() |
void |
moveToCurrentRow() |
void |
moveToInsertRow() |
boolean |
next() |
boolean |
previous() |
void |
refreshRow() |
boolean |
relative(int rows) |
boolean |
rowDeleted() |
boolean |
rowInserted() |
boolean |
rowUpdated() |
void |
updateAsciiStream(int columnIndex,
InputStream x) |
void |
updateAsciiStream(int columnIndex,
InputStream x,
int length) |
void |
updateAsciiStream(int columnIndex,
InputStream x,
long length) |
void |
updateAsciiStream(String columnLabel,
InputStream x) |
void |
updateAsciiStream(String columnLabel,
InputStream x,
int length) |
void |
updateAsciiStream(String columnLabel,
InputStream x,
long length) |
void |
updateBigDecimal(int columnIndex,
BigDecimal x) |
void |
updateBigDecimal(String columnLabel,
BigDecimal x) |
void |
updateBinaryStream(int columnIndex,
InputStream x) |
void |
updateBinaryStream(int columnIndex,
InputStream x,
int length) |
void |
updateBinaryStream(int columnIndex,
InputStream x,
long length) |
void |
updateBinaryStream(String columnLabel,
InputStream x) |
void |
updateBinaryStream(String columnLabel,
InputStream x,
int length) |
void |
updateBinaryStream(String columnLabel,
InputStream x,
long length) |
void |
updateBlob(int columnIndex,
Blob x) |
void |
updateBlob(int columnIndex,
InputStream x) |
void |
updateBlob(int columnIndex,
InputStream x,
long length) |
void |
updateBlob(String columnLabel,
Blob x) |
void |
updateBlob(String columnLabel,
InputStream inputStream) |
void |
updateBlob(String columnLabel,
InputStream inputStream,
long length) |
void |
updateBoolean(int columnIndex,
boolean x) |
void |
updateBoolean(String columnLabel,
boolean x) |
void |
updateByte(int columnIndex,
byte x) |
void |
updateByte(String columnLabel,
byte x) |
void |
updateBytes(int columnIndex,
byte[] x) |
void |
updateBytes(String columnLabel,
byte[] x) |
void |
updateCharacterStream(int columnIndex,
Reader x) |
void |
updateCharacterStream(int columnIndex,
Reader x,
int length) |
void |
updateCharacterStream(int columnIndex,
Reader x,
long length) |
void |
updateCharacterStream(String columnLabel,
Reader reader) |
void |
updateCharacterStream(String columnLabel,
Reader reader,
int length) |
void |
updateCharacterStream(String columnLabel,
Reader reader,
long length) |
void |
updateClob(int columnIndex,
Clob x) |
void |
updateClob(int columnIndex,
Reader x) |
void |
updateClob(int columnIndex,
Reader x,
long length) |
void |
updateClob(String columnLabel,
Clob x) |
void |
updateClob(String columnLabel,
Reader reader) |
void |
updateClob(String columnLabel,
Reader reader,
long length) |
void |
updateDate(int columnIndex,
Date x) |
void |
updateDate(String columnLabel,
Date x) |
void |
updateDouble(int columnIndex,
double x) |
void |
updateDouble(String columnLabel,
double x) |
void |
updateFloat(int columnIndex,
float x) |
void |
updateFloat(String columnLabel,
float x) |
void |
updateInt(int columnIndex,
int x) |
void |
updateInt(String columnLabel,
int x) |
void |
updateLong(int columnIndex,
long x) |
void |
updateLong(String columnLabel,
long x) |
void |
updateNCharacterStream(int columnIndex,
Reader x) |
void |
updateNCharacterStream(int columnIndex,
Reader x,
long length) |
void |
updateNCharacterStream(String columnLabel,
Reader reader) |
void |
updateNCharacterStream(String columnLabel,
Reader reader,
long length) |
void |
updateNClob(int columnIndex,
NClob nClob) |
void |
updateNClob(int columnIndex,
Reader reader) |
void |
updateNClob(int columnIndex,
Reader reader,
long length) |
void |
updateNClob(String columnLabel,
NClob nClob) |
void |
updateNClob(String columnLabel,
Reader reader) |
void |
updateNClob(String columnLabel,
Reader reader,
long length) |
void |
updateNString(int columnIndex,
String nString) |
void |
updateNString(String columnLabel,
String nString) |
void |
updateNull(int columnIndex) |
void |
updateNull(String columnLabel) |
void |
updateObject(int columnIndex,
Object x) |
void |
updateObject(int columnIndex,
Object x,
int scaleOrLength) |
void |
updateObject(int columnIndex,
Object x,
SQLType targetSqlType) |
void |
updateObject(int columnIndex,
Object x,
SQLType targetSqlType,
int scaleOrLength) |
void |
updateObject(String columnLabel,
Object x) |
void |
updateObject(String columnLabel,
Object x,
int scaleOrLength) |
void |
updateObject(String columnLabel,
Object x,
SQLType targetSqlType) |
void |
updateObject(String columnLabel,
Object x,
SQLType targetSqlType,
int scaleOrLength) |
void |
updateRow() |
void |
updateShort(int columnIndex,
short x) |
void |
updateShort(String columnLabel,
short x) |
void |
updateString(int columnIndex,
String x) |
void |
updateString(String columnLabel,
String x) |
void |
updateTime(int columnIndex,
Time x) |
void |
updateTime(String columnLabel,
Time x) |
void |
updateTimestamp(int columnIndex,
Timestamp x) |
void |
updateTimestamp(String columnLabel,
Timestamp x) |
closeFromStmtClose, createResultSet, createResultSet, fetchRemaining, getFetchSize, getRow, isAfterLast, isFirst, isLast, setFetchSize, streamingabort, addRowData, checkClose, checkNotForwardOnly, clearWarnings, close, findColumn, getArray, getArray, getAsciiStream, getAsciiStream, getBigDecimal, getBigDecimal, getBigDecimal, getBigDecimal, getBigInteger, getBigInteger, getBinaryStream, getBinaryStream, getBlob, getBlob, getBoolean, getBoolean, getByte, getByte, getBytes, getBytes, getCharacterStream, getCharacterStream, getClob, getClob, getCurrentRowData, getCursorName, getDate, getDate, getDate, getDate, getDouble, getDouble, getFetchDirection, getFloat, getFloat, getHoldability, getInt, getInt, getLong, getLong, getMetaData, getNCharacterStream, getNCharacterStream, getNClob, getNClob, getNString, getNString, getObject, getObject, getObject, getObject, getObject, getObject, getRef, getRef, getRowId, getRowId, getShort, getShort, getSQLXML, getSQLXML, getStatement, getString, getString, getTime, getTime, getTime, getTime, getTimestamp, getTimestamp, getTimestamp, getTimestamp, getType, getUnicodeStream, getUnicodeStream, getURL, getURL, getWarnings, isBeforeFirst, isClosed, isOutputParameter, isWrapperFor, loaded, readNext, setFetchDirection, setStatement, skipRemaining, unwrap, updateArray, updateArray, updateRef, updateRef, updateRowData, updateRowId, updateRowId, updateSQLXML, updateSQLXML, useAliasAsName, wasNullpublic UpdatableResult(Statement stmt, boolean binaryProtocol, long maxRows, ColumnDefinitionPacket[] metadataList, PacketReader reader, Context context, int resultSetType, boolean closeOnCompletion, boolean traceEnable) throws IOException, SQLException
IOExceptionSQLExceptionpublic boolean rowUpdated()
rowUpdated in interface ResultSetrowUpdated in class Resultpublic boolean rowInserted()
rowInserted in interface ResultSetrowInserted in class Resultpublic boolean rowDeleted()
rowDeleted in interface ResultSetrowDeleted in class Resultpublic void updateNull(int columnIndex)
throws SQLException
updateNull in interface ResultSetupdateNull in class ResultSQLExceptionpublic void updateBoolean(int columnIndex,
boolean x)
throws SQLException
updateBoolean in interface ResultSetupdateBoolean in class ResultSQLExceptionpublic void updateByte(int columnIndex,
byte x)
throws SQLException
updateByte in interface ResultSetupdateByte in class ResultSQLExceptionpublic void updateShort(int columnIndex,
short x)
throws SQLException
updateShort in interface ResultSetupdateShort in class ResultSQLExceptionpublic void updateInt(int columnIndex,
int x)
throws SQLException
updateInt in interface ResultSetupdateInt in class ResultSQLExceptionpublic void updateLong(int columnIndex,
long x)
throws SQLException
updateLong in interface ResultSetupdateLong in class ResultSQLExceptionpublic void updateFloat(int columnIndex,
float x)
throws SQLException
updateFloat in interface ResultSetupdateFloat in class ResultSQLExceptionpublic void updateDouble(int columnIndex,
double x)
throws SQLException
updateDouble in interface ResultSetupdateDouble in class ResultSQLExceptionpublic void updateBigDecimal(int columnIndex,
BigDecimal x)
throws SQLException
updateBigDecimal in interface ResultSetupdateBigDecimal in class ResultSQLExceptionpublic void updateString(int columnIndex,
String x)
throws SQLException
updateString in interface ResultSetupdateString in class ResultSQLExceptionpublic void updateBytes(int columnIndex,
byte[] x)
throws SQLException
updateBytes in interface ResultSetupdateBytes in class ResultSQLExceptionpublic void updateDate(int columnIndex,
Date x)
throws SQLException
updateDate in interface ResultSetupdateDate in class ResultSQLExceptionpublic void updateTime(int columnIndex,
Time x)
throws SQLException
updateTime in interface ResultSetupdateTime in class ResultSQLExceptionpublic void updateTimestamp(int columnIndex,
Timestamp x)
throws SQLException
updateTimestamp in interface ResultSetupdateTimestamp in class ResultSQLExceptionpublic void updateAsciiStream(int columnIndex,
InputStream x,
int length)
throws SQLException
updateAsciiStream in interface ResultSetupdateAsciiStream in class ResultSQLExceptionpublic void updateBinaryStream(int columnIndex,
InputStream x,
int length)
throws SQLException
updateBinaryStream in interface ResultSetupdateBinaryStream in class ResultSQLExceptionpublic void updateCharacterStream(int columnIndex,
Reader x,
int length)
throws SQLException
updateCharacterStream in interface ResultSetupdateCharacterStream in class ResultSQLExceptionpublic void updateObject(int columnIndex,
Object x,
int scaleOrLength)
throws SQLException
updateObject in interface ResultSetupdateObject in class ResultSQLExceptionpublic void updateObject(int columnIndex,
Object x)
throws SQLException
updateObject in interface ResultSetupdateObject in class ResultSQLExceptionpublic void updateNull(String columnLabel) throws SQLException
updateNull in interface ResultSetupdateNull in class ResultSQLExceptionpublic void updateBoolean(String columnLabel, boolean x) throws SQLException
updateBoolean in interface ResultSetupdateBoolean in class ResultSQLExceptionpublic void updateByte(String columnLabel, byte x) throws SQLException
updateByte in interface ResultSetupdateByte in class ResultSQLExceptionpublic void updateShort(String columnLabel, short x) throws SQLException
updateShort in interface ResultSetupdateShort in class ResultSQLExceptionpublic void updateInt(String columnLabel, int x) throws SQLException
updateInt in interface ResultSetupdateInt in class ResultSQLExceptionpublic void updateLong(String columnLabel, long x) throws SQLException
updateLong in interface ResultSetupdateLong in class ResultSQLExceptionpublic void updateFloat(String columnLabel, float x) throws SQLException
updateFloat in interface ResultSetupdateFloat in class ResultSQLExceptionpublic void updateDouble(String columnLabel, double x) throws SQLException
updateDouble in interface ResultSetupdateDouble in class ResultSQLExceptionpublic void updateBigDecimal(String columnLabel, BigDecimal x) throws SQLException
updateBigDecimal in interface ResultSetupdateBigDecimal in class ResultSQLExceptionpublic void updateString(String columnLabel, String x) throws SQLException
updateString in interface ResultSetupdateString in class ResultSQLExceptionpublic void updateBytes(String columnLabel, byte[] x) throws SQLException
updateBytes in interface ResultSetupdateBytes in class ResultSQLExceptionpublic void updateDate(String columnLabel, Date x) throws SQLException
updateDate in interface ResultSetupdateDate in class ResultSQLExceptionpublic void updateTime(String columnLabel, Time x) throws SQLException
updateTime in interface ResultSetupdateTime in class ResultSQLExceptionpublic void updateTimestamp(String columnLabel, Timestamp x) throws SQLException
updateTimestamp in interface ResultSetupdateTimestamp in class ResultSQLExceptionpublic void updateAsciiStream(String columnLabel, InputStream x, int length) throws SQLException
updateAsciiStream in interface ResultSetupdateAsciiStream in class ResultSQLExceptionpublic void updateBinaryStream(String columnLabel, InputStream x, int length) throws SQLException
updateBinaryStream in interface ResultSetupdateBinaryStream in class ResultSQLExceptionpublic void updateCharacterStream(String columnLabel, Reader reader, int length) throws SQLException
updateCharacterStream in interface ResultSetupdateCharacterStream in class ResultSQLExceptionpublic void updateObject(String columnLabel, Object x, int scaleOrLength) throws SQLException
updateObject in interface ResultSetupdateObject in class ResultSQLExceptionpublic void updateObject(String columnLabel, Object x) throws SQLException
updateObject in interface ResultSetupdateObject in class ResultSQLExceptionpublic void insertRow()
throws SQLException
insertRow in interface ResultSetinsertRow in class ResultSQLExceptionpublic void updateRow()
throws SQLException
updateRow in interface ResultSetupdateRow in class ResultSQLExceptionpublic void deleteRow()
throws SQLException
deleteRow in interface ResultSetdeleteRow in class ResultSQLExceptionpublic void refreshRow()
throws SQLException
refreshRow in interface ResultSetrefreshRow in class ResultSQLExceptionpublic void cancelRowUpdates()
cancelRowUpdates in interface ResultSetcancelRowUpdates in class Resultpublic void moveToInsertRow()
throws SQLException
moveToInsertRow in interface ResultSetmoveToInsertRow in class ResultSQLExceptionpublic void moveToCurrentRow()
moveToCurrentRow in interface ResultSetmoveToCurrentRow in class Resultpublic void updateBlob(int columnIndex,
Blob x)
throws SQLException
updateBlob in interface ResultSetupdateBlob in class ResultSQLExceptionpublic void updateBlob(String columnLabel, Blob x) throws SQLException
updateBlob in interface ResultSetupdateBlob in class ResultSQLExceptionpublic void updateClob(int columnIndex,
Clob x)
throws SQLException
updateClob in interface ResultSetupdateClob in class ResultSQLExceptionpublic void updateClob(String columnLabel, Clob x) throws SQLException
updateClob in interface ResultSetupdateClob in class ResultSQLExceptionpublic void updateNString(int columnIndex,
String nString)
throws SQLException
updateNString in interface ResultSetupdateNString in class ResultSQLExceptionpublic void updateNString(String columnLabel, String nString) throws SQLException
updateNString in interface ResultSetupdateNString in class ResultSQLExceptionpublic void updateNClob(int columnIndex,
NClob nClob)
throws SQLException
updateNClob in interface ResultSetupdateNClob in class ResultSQLExceptionpublic void updateNClob(String columnLabel, NClob nClob) throws SQLException
updateNClob in interface ResultSetupdateNClob in class ResultSQLExceptionpublic void updateNCharacterStream(int columnIndex,
Reader x,
long length)
throws SQLException
updateNCharacterStream in interface ResultSetupdateNCharacterStream in class ResultSQLExceptionpublic void updateNCharacterStream(String columnLabel, Reader reader, long length) throws SQLException
updateNCharacterStream in interface ResultSetupdateNCharacterStream in class ResultSQLExceptionpublic void updateAsciiStream(int columnIndex,
InputStream x,
long length)
throws SQLException
updateAsciiStream in interface ResultSetupdateAsciiStream in class ResultSQLExceptionpublic void updateBinaryStream(int columnIndex,
InputStream x,
long length)
throws SQLException
updateBinaryStream in interface ResultSetupdateBinaryStream in class ResultSQLExceptionpublic void updateCharacterStream(int columnIndex,
Reader x,
long length)
throws SQLException
updateCharacterStream in interface ResultSetupdateCharacterStream in class ResultSQLExceptionpublic void updateAsciiStream(String columnLabel, InputStream x, long length) throws SQLException
updateAsciiStream in interface ResultSetupdateAsciiStream in class ResultSQLExceptionpublic void updateBinaryStream(String columnLabel, InputStream x, long length) throws SQLException
updateBinaryStream in interface ResultSetupdateBinaryStream in class ResultSQLExceptionpublic void updateCharacterStream(String columnLabel, Reader reader, long length) throws SQLException
updateCharacterStream in interface ResultSetupdateCharacterStream in class ResultSQLExceptionpublic void updateBlob(int columnIndex,
InputStream x,
long length)
throws SQLException
updateBlob in interface ResultSetupdateBlob in class ResultSQLExceptionpublic void updateBlob(String columnLabel, InputStream inputStream, long length) throws SQLException
updateBlob in interface ResultSetupdateBlob in class ResultSQLExceptionpublic void updateClob(int columnIndex,
Reader x,
long length)
throws SQLException
updateClob in interface ResultSetupdateClob in class ResultSQLExceptionpublic void updateClob(String columnLabel, Reader reader, long length) throws SQLException
updateClob in interface ResultSetupdateClob in class ResultSQLExceptionpublic void updateNClob(int columnIndex,
Reader reader,
long length)
throws SQLException
updateNClob in interface ResultSetupdateNClob in class ResultSQLExceptionpublic void updateNClob(String columnLabel, Reader reader, long length) throws SQLException
updateNClob in interface ResultSetupdateNClob in class ResultSQLExceptionpublic void updateNCharacterStream(int columnIndex,
Reader x)
throws SQLException
updateNCharacterStream in interface ResultSetupdateNCharacterStream in class ResultSQLExceptionpublic void updateNCharacterStream(String columnLabel, Reader reader) throws SQLException
updateNCharacterStream in interface ResultSetupdateNCharacterStream in class ResultSQLExceptionpublic void updateAsciiStream(int columnIndex,
InputStream x)
throws SQLException
updateAsciiStream in interface ResultSetupdateAsciiStream in class ResultSQLExceptionpublic void updateBinaryStream(int columnIndex,
InputStream x)
throws SQLException
updateBinaryStream in interface ResultSetupdateBinaryStream in class ResultSQLExceptionpublic void updateCharacterStream(int columnIndex,
Reader x)
throws SQLException
updateCharacterStream in interface ResultSetupdateCharacterStream in class ResultSQLExceptionpublic void updateAsciiStream(String columnLabel, InputStream x) throws SQLException
updateAsciiStream in interface ResultSetupdateAsciiStream in class ResultSQLExceptionpublic void updateBinaryStream(String columnLabel, InputStream x) throws SQLException
updateBinaryStream in interface ResultSetupdateBinaryStream in class ResultSQLExceptionpublic void updateCharacterStream(String columnLabel, Reader reader) throws SQLException
updateCharacterStream in interface ResultSetupdateCharacterStream in class ResultSQLExceptionpublic void updateBlob(int columnIndex,
InputStream x)
throws SQLException
updateBlob in interface ResultSetupdateBlob in class ResultSQLExceptionpublic void updateBlob(String columnLabel, InputStream inputStream) throws SQLException
updateBlob in interface ResultSetupdateBlob in class ResultSQLExceptionpublic void updateClob(int columnIndex,
Reader x)
throws SQLException
updateClob in interface ResultSetupdateClob in class ResultSQLExceptionpublic void updateClob(String columnLabel, Reader reader) throws SQLException
updateClob in interface ResultSetupdateClob in class ResultSQLExceptionpublic void updateNClob(int columnIndex,
Reader reader)
throws SQLException
updateNClob in interface ResultSetupdateNClob in class ResultSQLExceptionpublic void updateNClob(String columnLabel, Reader reader) throws SQLException
updateNClob in interface ResultSetupdateNClob in class ResultSQLExceptionpublic void updateObject(int columnIndex,
Object x,
SQLType targetSqlType,
int scaleOrLength)
throws SQLException
updateObject in interface ResultSetupdateObject in class ResultSQLExceptionpublic void updateObject(String columnLabel, Object x, SQLType targetSqlType, int scaleOrLength) throws SQLException
updateObject in interface ResultSetupdateObject in class ResultSQLExceptionpublic void updateObject(int columnIndex,
Object x,
SQLType targetSqlType)
throws SQLException
updateObject in interface ResultSetupdateObject in class ResultSQLExceptionpublic void updateObject(String columnLabel, Object x, SQLType targetSqlType) throws SQLException
updateObject in interface ResultSetupdateObject in class ResultSQLExceptionpublic int getConcurrency()
getConcurrency in interface ResultSetgetConcurrency in class Resultpublic void beforeFirst()
throws SQLException
beforeFirst in interface ResultSetbeforeFirst in class CompleteResultSQLExceptionpublic boolean first()
throws SQLException
first in interface ResultSetfirst in class CompleteResultSQLExceptionpublic boolean last()
throws SQLException
last in interface ResultSetlast in class CompleteResultSQLExceptionpublic void afterLast()
throws SQLException
afterLast in interface ResultSetafterLast in class CompleteResultSQLExceptionpublic boolean absolute(int row)
throws SQLException
absolute in interface ResultSetabsolute in class CompleteResultSQLExceptionpublic boolean relative(int rows)
throws SQLException
relative in interface ResultSetrelative in class CompleteResultSQLExceptionpublic boolean next()
throws SQLException
next in interface ResultSetnext in class CompleteResultSQLExceptionpublic boolean previous()
throws SQLException
previous in interface ResultSetprevious in class CompleteResultSQLExceptionCopyright © 2022 SingleStore. All rights reserved.