public class MockResultSet
extends java.lang.Object
implements java.sql.ResultSet, java.lang.Cloneable
ResultSet.
Can be used to add simulated database entries.
You can add Java objects of any type. This
mock implementation does not care about SQL
data types. It tries to perform the necessary
type conversions for the Java objects (e.g. it will convert a
String "1" to int 1).
Please check out the documentation of ResultSet
for the description of the methods in this interface.
The additional methods are described here.| Constructor and Description |
|---|
MockResultSet(java.lang.String id) |
MockResultSet(java.lang.String id,
java.lang.String cursorName) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
absolute(int row) |
void |
addColumn()
Adds a column to the simulated database table.
|
void |
addColumn(java.util.List<java.lang.Object> values)
Adds a column to the simulated database table.
|
void |
addColumn(java.lang.Object[] values)
Adds a column to the simulated database table.
|
void |
addColumn(java.lang.String columnName)
Adds a column to the simulated database table.
|
void |
addColumn(java.lang.String columnName,
java.util.List<java.lang.Object> values)
Adds a column to the simulated database table.
|
void |
addColumn(java.lang.String columnName,
java.lang.Object[] values)
Adds a column to the simulated database table.
|
void |
addColumns(java.util.Set<java.lang.String> cols) |
void |
addRow(java.util.HashMap<java.lang.String,java.lang.Object> row) |
void |
addRow(java.util.List<java.lang.Object> values)
Adds a row to the simulated database table.
|
void |
addRow(java.lang.Object[] values)
Adds a row to the simulated database table.
|
void |
afterLast() |
void |
beforeFirst() |
void |
cancelRowUpdates() |
void |
clearWarnings() |
java.lang.Object |
clone()
Copies this
ResultSet. |
void |
close() |
void |
deleteRow() |
MockResultSet |
evaluate(java.lang.String sql,
MockParameterMap parameters)
This method returns instance with contents evaluated using given SQL query and parameters.
|
int |
findColumn(java.lang.String columnName) |
boolean |
first() |
java.sql.Array |
getArray(int columnIndex) |
java.sql.Array |
getArray(java.lang.String columnName) |
java.io.InputStream |
getAsciiStream(int columnIndex) |
java.io.InputStream |
getAsciiStream(java.lang.String columnName) |
java.math.BigDecimal |
getBigDecimal(int columnIndex) |
java.math.BigDecimal |
getBigDecimal(int columnIndex,
int scale)
Deprecated.
|
java.math.BigDecimal |
getBigDecimal(java.lang.String columnName) |
java.math.BigDecimal |
getBigDecimal(java.lang.String columnName,
int scale)
Deprecated.
|
java.io.InputStream |
getBinaryStream(int columnIndex) |
java.io.InputStream |
getBinaryStream(java.lang.String columnName) |
java.sql.Blob |
getBlob(int columnIndex) |
java.sql.Blob |
getBlob(java.lang.String columnName) |
boolean |
getBoolean(int columnIndex) |
boolean |
getBoolean(java.lang.String columnName) |
byte |
getByte(int columnIndex) |
byte |
getByte(java.lang.String columnName) |
byte[] |
getBytes(int columnIndex) |
byte[] |
getBytes(java.lang.String columnName) |
java.io.Reader |
getCharacterStream(int columnIndex) |
java.io.Reader |
getCharacterStream(java.lang.String columnName) |
java.sql.Clob |
getClob(int columnIndex) |
java.sql.Clob |
getClob(java.lang.String columnName) |
java.util.List<java.lang.Object> |
getColumn(int number)
Returns the column with the specified number.
|
java.util.List<java.lang.Object> |
getColumn(java.lang.String name)
Returns the column with the specified name.
|
int |
getColumnCount()
Returns the current number of columns.
|
int |
getConcurrency() |
java.lang.String |
getCursorName() |
java.sql.Date |
getDate(int columnIndex) |
java.sql.Date |
getDate(int columnIndex,
java.util.Calendar calendar) |
java.sql.Date |
getDate(java.lang.String columnName) |
java.sql.Date |
getDate(java.lang.String columnName,
java.util.Calendar calendar) |
double |
getDouble(int columnIndex) |
double |
getDouble(java.lang.String columnName) |
int |
getFetchDirection() |
int |
getFetchSize() |
float |
getFloat(int columnIndex) |
float |
getFloat(java.lang.String columnName) |
int |
getHoldability() |
java.lang.String |
getId()
Returns the id of this
ResultSet. |
int |
getInt(int columnIndex) |
int |
getInt(java.lang.String columnName) |
long |
getLong(int columnIndex) |
long |
getLong(java.lang.String columnName) |
java.sql.ResultSetMetaData |
getMetaData() |
java.io.Reader |
getNCharacterStream(int columnIndex) |
java.io.Reader |
getNCharacterStream(java.lang.String columnLabel) |
java.sql.NClob |
getNClob(int columnIndex) |
java.sql.NClob |
getNClob(java.lang.String columnName) |
java.lang.String |
getNString(int columnIndex) |
java.lang.String |
getNString(java.lang.String columnLabel) |
java.lang.Object |
getObject(int columnIndex) |
<T> T |
getObject(int columnIndex,
java.lang.Class<T> type) |
java.lang.Object |
getObject(int columnIndex,
java.util.Map<java.lang.String,java.lang.Class<?>> map) |
java.lang.Object |
getObject(java.lang.String columnName) |
<T> T |
getObject(java.lang.String columnLabel,
java.lang.Class<T> type) |
java.lang.Object |
getObject(java.lang.String colName,
java.util.Map<java.lang.String,java.lang.Class<?>> map) |
java.sql.Ref |
getRef(int columnIndex) |
java.sql.Ref |
getRef(java.lang.String columnName) |
int |
getRow() |
java.util.List<java.lang.Object> |
getRow(int number)
Returns the row with the specified number.
|
int |
getRowCount()
Returns the current number of rows.
|
java.sql.RowId |
getRowId(int columnIndex) |
java.sql.RowId |
getRowId(java.lang.String columnName) |
short |
getShort(int columnIndex) |
short |
getShort(java.lang.String columnName) |
java.sql.SQLXML |
getSQLXML(int columnIndex) |
java.sql.SQLXML |
getSQLXML(java.lang.String columnName) |
java.sql.Statement |
getStatement() |
java.lang.String |
getString(int columnIndex) |
java.lang.String |
getString(java.lang.String columnName) |
java.sql.Time |
getTime(int columnIndex) |
java.sql.Time |
getTime(int columnIndex,
java.util.Calendar calendar) |
java.sql.Time |
getTime(java.lang.String columnName) |
java.sql.Time |
getTime(java.lang.String columnName,
java.util.Calendar calendar) |
java.sql.Timestamp |
getTimestamp(int columnIndex) |
java.sql.Timestamp |
getTimestamp(int columnIndex,
java.util.Calendar calendar) |
java.sql.Timestamp |
getTimestamp(java.lang.String columnName) |
java.sql.Timestamp |
getTimestamp(java.lang.String columnName,
java.util.Calendar calendar) |
int |
getType() |
java.io.InputStream |
getUnicodeStream(int columnIndex)
Deprecated.
|
java.io.InputStream |
getUnicodeStream(java.lang.String columnName)
Deprecated.
|
java.net.URL |
getURL(int columnIndex) |
java.net.URL |
getURL(java.lang.String columnName) |
java.sql.SQLWarning |
getWarnings() |
void |
insertRow() |
boolean |
isAfterLast() |
boolean |
isBeforeFirst() |
boolean |
isClosed()
Returns if this
ResultSet is closed. |
boolean |
isColumnEqual(int number,
java.util.List<java.lang.Object> columnData)
Returns if the column with the specified number is
equal to the specified data.
|
boolean |
isColumnEqual(java.lang.String name,
java.util.List<java.lang.Object> columnData)
Returns if the column with the specified name is
equal to the specified data.
|
boolean |
isEqual(MockResultSet resultSet)
Returns if the specified
ResultSet is equal to
this ResultSet. |
boolean |
isFirst() |
boolean |
isLast() |
boolean |
isRowEqual(int number,
java.util.List<java.lang.Object> rowData)
Returns if the row with the specified number is
equal to the specified data.
|
boolean |
isWrapperFor(java.lang.Class<?> iface) |
boolean |
last() |
void |
moveToCurrentRow() |
void |
moveToInsertRow() |
boolean |
next() |
boolean |
previous() |
void |
refreshRow() |
boolean |
relative(int rows) |
boolean |
rowDeleted() |
boolean |
rowDeleted(int number)
Returns if the row with the specified number was deleted
The first row has the number 1.
|
boolean |
rowInserted() |
boolean |
rowInserted(int number)
Returns if the row with the specified number was inserted
The first row has the number 1.
|
boolean |
rowUpdated() |
boolean |
rowUpdated(int number)
Returns if the row with the specified number was updated
The first row has the number 1.
|
void |
setColumnsCaseSensitive(boolean columnsCaseSensitive)
Set if column names are case sensitive.
|
void |
setCursorName(java.lang.String cursorName)
Sets the cursor name.
|
void |
setDatabaseView(boolean databaseView)
The
MockResultSet keeps the data that's
stored in the simulated database and a copy of the data
that represents the current ResultSet data. |
void |
setFetchDirection(int fetchDirection) |
void |
setFetchSize(int fetchSize) |
void |
setResultSetConcurrency(int resultSetConcurrency)
Sets the result set concurrency.
|
void |
setResultSetHoldability(int resultSetHoldability)
Sets the result set holdability.
|
void |
setResultSetMetaData(java.sql.ResultSetMetaData resultSetMetaData)
Sets the
ResultSetMetaData for this ResultSet. |
void |
setResultSetType(int resultSetType)
Sets the result set type.
|
void |
setStatement(java.sql.Statement statement)
Sets the
Statement for this ResultSet. |
MockResultSet |
shallowCopy() |
java.lang.String |
toString() |
<T> T |
unwrap(java.lang.Class<T> iface) |
void |
updateArray(int columnIndex,
java.sql.Array array) |
void |
updateArray(java.lang.String columnName,
java.sql.Array array) |
void |
updateAsciiStream(int columnIndex,
java.io.InputStream stream) |
void |
updateAsciiStream(int columnIndex,
java.io.InputStream stream,
int length) |
void |
updateAsciiStream(int columnIndex,
java.io.InputStream stream,
long length) |
void |
updateAsciiStream(java.lang.String columnName,
java.io.InputStream stream) |
void |
updateAsciiStream(java.lang.String columnName,
java.io.InputStream stream,
int length) |
void |
updateAsciiStream(java.lang.String columnName,
java.io.InputStream stream,
long length) |
void |
updateBigDecimal(int columnIndex,
java.math.BigDecimal bigDecimal) |
void |
updateBigDecimal(java.lang.String columnName,
java.math.BigDecimal bigDecimal) |
void |
updateBinaryStream(int columnIndex,
java.io.InputStream stream) |
void |
updateBinaryStream(int columnIndex,
java.io.InputStream stream,
int length) |
void |
updateBinaryStream(int columnIndex,
java.io.InputStream stream,
long length) |
void |
updateBinaryStream(java.lang.String columnName,
java.io.InputStream stream) |
void |
updateBinaryStream(java.lang.String columnName,
java.io.InputStream stream,
int length) |
void |
updateBinaryStream(java.lang.String columnName,
java.io.InputStream stream,
long length) |
void |
updateBlob(int columnIndex,
java.sql.Blob blob) |
void |
updateBlob(int columnIndex,
java.io.InputStream stream) |
void |
updateBlob(int columnIndex,
java.io.InputStream stream,
long length) |
void |
updateBlob(java.lang.String columnName,
java.sql.Blob blob) |
void |
updateBlob(java.lang.String columnName,
java.io.InputStream stream) |
void |
updateBlob(java.lang.String columnName,
java.io.InputStream stream,
long length) |
void |
updateBoolean(int columnIndex,
boolean booleanValue) |
void |
updateBoolean(java.lang.String columnName,
boolean booleanValue) |
void |
updateByte(int columnIndex,
byte byteValue) |
void |
updateByte(java.lang.String columnName,
byte byteValue) |
void |
updateBytes(int columnIndex,
byte[] byteArray) |
void |
updateBytes(java.lang.String columnName,
byte[] byteArray) |
void |
updateCharacterStream(int columnIndex,
java.io.Reader reader) |
void |
updateCharacterStream(int columnIndex,
java.io.Reader reader,
int length) |
void |
updateCharacterStream(int columnIndex,
java.io.Reader reader,
long length) |
void |
updateCharacterStream(java.lang.String columnName,
java.io.Reader reader) |
void |
updateCharacterStream(java.lang.String columnName,
java.io.Reader reader,
int length) |
void |
updateCharacterStream(java.lang.String columnName,
java.io.Reader reader,
long length) |
void |
updateClob(int columnIndex,
java.sql.Clob clob) |
void |
updateClob(int columnIndex,
java.io.Reader reader) |
void |
updateClob(int columnIndex,
java.io.Reader reader,
long length) |
void |
updateClob(java.lang.String columnName,
java.sql.Clob clob) |
void |
updateClob(java.lang.String columnName,
java.io.Reader reader) |
void |
updateClob(java.lang.String columnName,
java.io.Reader reader,
long length) |
void |
updateDate(int columnIndex,
java.sql.Date date) |
void |
updateDate(java.lang.String columnName,
java.sql.Date date) |
void |
updateDouble(int columnIndex,
double doubleValue) |
void |
updateDouble(java.lang.String columnName,
double doubleValue) |
void |
updateFloat(int columnIndex,
float floatValue) |
void |
updateFloat(java.lang.String columnName,
float floatValue) |
void |
updateInt(int columnIndex,
int intValue) |
void |
updateInt(java.lang.String columnName,
int intValue) |
void |
updateLong(int columnIndex,
long longValue) |
void |
updateLong(java.lang.String columnName,
long longValue) |
void |
updateNCharacterStream(int columnIndex,
java.io.Reader reader) |
void |
updateNCharacterStream(int columnIndex,
java.io.Reader reader,
long length) |
void |
updateNCharacterStream(java.lang.String columnLabel,
java.io.Reader reader) |
void |
updateNCharacterStream(java.lang.String columnLabel,
java.io.Reader reader,
long length) |
void |
updateNClob(int columnIndex,
java.sql.NClob nClob) |
void |
updateNClob(int columnIndex,
java.io.Reader reader) |
void |
updateNClob(int columnIndex,
java.io.Reader reader,
long length) |
void |
updateNClob(java.lang.String columnName,
java.sql.NClob nClob) |
void |
updateNClob(java.lang.String columnName,
java.io.Reader reader) |
void |
updateNClob(java.lang.String columnName,
java.io.Reader reader,
long length) |
void |
updateNString(int columnIndex,
java.lang.String value) |
void |
updateNString(java.lang.String columnLabel,
java.lang.String value) |
void |
updateNull(int columnIndex) |
void |
updateNull(java.lang.String columnName) |
void |
updateObject(int columnIndex,
java.lang.Object value) |
void |
updateObject(int columnIndex,
java.lang.Object value,
int scale) |
void |
updateObject(java.lang.String columnName,
java.lang.Object value) |
void |
updateObject(java.lang.String columnName,
java.lang.Object value,
int scale) |
void |
updateRef(int columnIndex,
java.sql.Ref ref) |
void |
updateRef(java.lang.String columnName,
java.sql.Ref ref) |
void |
updateRow() |
void |
updateRowId(int columnIndex,
java.sql.RowId rowId) |
void |
updateRowId(java.lang.String columnName,
java.sql.RowId rowId) |
void |
updateShort(int columnIndex,
short shortValue) |
void |
updateShort(java.lang.String columnName,
short shortValue) |
void |
updateSQLXML(int columnIndex,
java.sql.SQLXML xmlObject) |
void |
updateSQLXML(java.lang.String columnName,
java.sql.SQLXML xmlObject) |
void |
updateString(int columnIndex,
java.lang.String value) |
void |
updateString(java.lang.String columnName,
java.lang.String value) |
void |
updateTime(int columnIndex,
java.sql.Time time) |
void |
updateTime(java.lang.String columnName,
java.sql.Time time) |
void |
updateTimestamp(int columnIndex,
java.sql.Timestamp timeStamp) |
void |
updateTimestamp(java.lang.String columnName,
java.sql.Timestamp timeStamp) |
boolean |
wasNull() |
public MockResultSet(java.lang.String id)
public MockResultSet(java.lang.String id,
java.lang.String cursorName)
public MockResultSet evaluate(java.lang.String sql, MockParameterMap parameters)
parameters - public void setColumnsCaseSensitive(boolean columnsCaseSensitive)
false. Please note, that switching this
attribute clears and resets the complete ResultSet.columnsCaseSensitive - are column names case sensitivepublic java.lang.Object clone()
ResultSet. The data of the
ResultSet is copied using the
ParameterUtil.copyParameter(java.lang.Object)
method.clone in class java.lang.ObjectResultSetpublic MockResultSet shallowCopy()
public java.lang.String getId()
ResultSet. Ids are used
to identify ResultSet objects in tests, because
they are usually cloned when executing statements, so
you cannot rely on the object identity.ResultSetpublic boolean isClosed()
ResultSet is closed.isClosed in interface java.sql.ResultSettrue if this ResultSet is closed,
false otherwisepublic void setResultSetMetaData(java.sql.ResultSetMetaData resultSetMetaData)
ResultSetMetaData for this ResultSet.
The specified object will be returned when calling getMetaData().
If no ResultSetMetaData is set, the method getMetaData()
will return an object of MockResultSetMetaData. The
MockResultSetMetaData returns default values for most
of its attributes (however the correct number of columns will be
returned). Usually you do not have to set the ResultSetMetaData.resultSetMetaData - the ResultSetMetaDatapublic void setStatement(java.sql.Statement statement)
Statement for this ResultSet.
The ResultSet takes the result set type, result
set concurrency and the fetch direction from the specified
Statement.statement - the statementpublic void setCursorName(java.lang.String cursorName)
ResultSet.cursorName - the cursor namepublic void setResultSetType(int resultSetType)
ResultSet, but in tests
it can make sense to change it.resultSetType - the result set typepublic void setResultSetConcurrency(int resultSetConcurrency)
ResultSet, but in tests
it can make sense to change it.resultSetConcurrency - the result set concurrencypublic void setResultSetHoldability(int resultSetHoldability)
ResultSet, but in tests
it can make sense to change it.resultSetHoldability - the result set holdabilitypublic void setDatabaseView(boolean databaseView)
MockResultSet keeps the data that's
stored in the simulated database and a copy of the data
that represents the current ResultSet data.
The update methods only update the
ResultSet data. This data will be persisted
when you call updateRow(). When you set databaseView
to true the get methods will return the
data in the database, otherwise the current ResultSet
data is returned.databaseView - false = get the data from the
ResultSet, true = get the data
from the database, default is falsepublic void addRow(java.lang.Object[] values)
addColumn methods) the missing columns will
be added automatically. Automatically created columns
will get the name ColumnX where X is
the column index.values - the row data as array, the array index
corresponds to the column index, i.e.
values[0] will be stored in the first column
and so onpublic void addRow(java.util.HashMap<java.lang.String,java.lang.Object> row)
throws java.lang.Exception
java.lang.Exceptionpublic void addRow(java.util.List<java.lang.Object> values)
addColumn methods) the missing columns will
be added automatically. Automatically created columns
will get the name ColumnX where X is
the column index.values - the row data as List, the index
in the List corresponds to the column
index, i.e. values.get(0) will be stored in the first
column and so onpublic void addColumn()
public void addColumn(java.lang.String columnName)
columnName - the column namepublic void addColumn(java.lang.Object[] values)
null
values.values - the column data as array, the array index
corresponds to the row index, i.e.
values[0] will be stored in the first row
and so onpublic void addColumns(java.util.Set<java.lang.String> cols)
throws java.lang.Exception
java.lang.Exceptionpublic void addColumn(java.util.List<java.lang.Object> values)
null
values.values - the column data as List, the index
in the List corresponds to the row
index, i.e. values.get(0) will be stored in the first
row and so onpublic void addColumn(java.lang.String columnName,
java.lang.Object[] values)
null
values.columnName - the column namevalues - the column data as array, the array index
corresponds to the row index, i.e.
values[0] will be stored in the first row
and so onpublic void addColumn(java.lang.String columnName,
java.util.List<java.lang.Object> values)
null
values.columnName - the column namevalues - the column data as List, the index
in the List corresponds to the row
index, i.e. values.get(0) will be stored in the first
row and so onpublic int getRowCount()
public int getColumnCount()
public boolean rowInserted(int number)
number - the number of the rowtrue if the row was inserted,
false otherwisepublic boolean rowDeleted(int number)
number - the number of the rowtrue if the row was deleted,
false otherwisepublic boolean rowUpdated(int number)
number - the number of the rowtrue if the row was updated,
false otherwisepublic boolean isRowEqual(int number,
java.util.List<java.lang.Object> rowData)
ParameterUtil.compareParameter(java.lang.Object, java.lang.Object).
The first row has the number 1. If the compared parameters are not of
the same type (and cannot be equal according to the
ParameterUtil.compareParameter(java.lang.Object, java.lang.Object) method) they
will be converted to a string with the toString() method before
comparison.number - the number of the rowrowData - the row datatrue if the row is equal to the specified data,
false otherwisepublic boolean isColumnEqual(int number,
java.util.List<java.lang.Object> columnData)
ParameterUtil.compareParameter(java.lang.Object, java.lang.Object).
The first column has the number 1. If the compared parameters are not of
the same type (and cannot be equal according to the
ParameterUtil.compareParameter(java.lang.Object, java.lang.Object) method) they
will be converted to a string with the toString() method before
comparison.number - the number of the columncolumnData - the column datatrue if the column is equal to the specified data,
false otherwisepublic boolean isColumnEqual(java.lang.String name,
java.util.List<java.lang.Object> columnData)
ParameterUtil.compareParameter(java.lang.Object, java.lang.Object).
The first column has the number 1. If the compared parameters are not of
the same type (and cannot be equal according to the
ParameterUtil.compareParameter(java.lang.Object, java.lang.Object) method) they
will be converted to a string with the toString() method before
comparison.name - the name of the columncolumnData - the column datatrue if the column is equal to the specified data,
false otherwisepublic boolean isEqual(MockResultSet resultSet)
ResultSet is equal to
this ResultSet. If the compared parameters are not of
the same type (and cannot be equal according to the
ParameterUtil.compareParameter(java.lang.Object, java.lang.Object) method) they
will be converted to a string with the toString() method before
comparison.true if the two ResultSet objects are equal,
false otherwisepublic java.util.List<java.lang.Object> getRow(int number)
null will
be returned. The result of this method depends
on the setting of databaseView.
See setDatabaseView(boolean).number - the number of the rowListpublic java.util.List<java.lang.Object> getColumn(int number)
null will
be returned.number - the number of the columnListpublic java.util.List<java.lang.Object> getColumn(java.lang.String name)
null will be returned.name - the name of the columnListpublic void close()
throws java.sql.SQLException
close in interface java.lang.AutoCloseableclose in interface java.sql.ResultSetjava.sql.SQLExceptionpublic boolean wasNull()
throws java.sql.SQLException
wasNull in interface java.sql.ResultSetjava.sql.SQLExceptionpublic java.lang.Object getObject(int columnIndex)
throws java.sql.SQLException
getObject in interface java.sql.ResultSetjava.sql.SQLExceptionpublic java.lang.Object getObject(java.lang.String columnName)
throws java.sql.SQLException
getObject in interface java.sql.ResultSetjava.sql.SQLExceptionpublic <T> T getObject(int columnIndex,
java.lang.Class<T> type)
throws java.sql.SQLException
getObject in interface java.sql.ResultSetjava.sql.SQLExceptionpublic <T> T getObject(java.lang.String columnLabel,
java.lang.Class<T> type)
throws java.sql.SQLException
getObject in interface java.sql.ResultSetjava.sql.SQLExceptionpublic java.lang.Object getObject(int columnIndex,
java.util.Map<java.lang.String,java.lang.Class<?>> map)
throws java.sql.SQLException
getObject in interface java.sql.ResultSetjava.sql.SQLExceptionpublic java.lang.Object getObject(java.lang.String colName,
java.util.Map<java.lang.String,java.lang.Class<?>> map)
throws java.sql.SQLException
getObject in interface java.sql.ResultSetjava.sql.SQLExceptionpublic java.lang.String getString(int columnIndex)
throws java.sql.SQLException
getString in interface java.sql.ResultSetjava.sql.SQLExceptionpublic java.lang.String getString(java.lang.String columnName)
throws java.sql.SQLException
getString in interface java.sql.ResultSetjava.sql.SQLExceptionpublic java.lang.String getNString(int columnIndex)
throws java.sql.SQLException
getNString in interface java.sql.ResultSetjava.sql.SQLExceptionpublic java.lang.String getNString(java.lang.String columnLabel)
throws java.sql.SQLException
getNString in interface java.sql.ResultSetjava.sql.SQLExceptionpublic boolean getBoolean(int columnIndex)
throws java.sql.SQLException
getBoolean in interface java.sql.ResultSetjava.sql.SQLExceptionpublic boolean getBoolean(java.lang.String columnName)
throws java.sql.SQLException
getBoolean in interface java.sql.ResultSetjava.sql.SQLExceptionpublic byte getByte(int columnIndex)
throws java.sql.SQLException
getByte in interface java.sql.ResultSetjava.sql.SQLExceptionpublic byte getByte(java.lang.String columnName)
throws java.sql.SQLException
getByte in interface java.sql.ResultSetjava.sql.SQLExceptionpublic short getShort(int columnIndex)
throws java.sql.SQLException
getShort in interface java.sql.ResultSetjava.sql.SQLExceptionpublic short getShort(java.lang.String columnName)
throws java.sql.SQLException
getShort in interface java.sql.ResultSetjava.sql.SQLExceptionpublic int getInt(int columnIndex)
throws java.sql.SQLException
getInt in interface java.sql.ResultSetjava.sql.SQLExceptionpublic int getInt(java.lang.String columnName)
throws java.sql.SQLException
getInt in interface java.sql.ResultSetjava.sql.SQLExceptionpublic long getLong(int columnIndex)
throws java.sql.SQLException
getLong in interface java.sql.ResultSetjava.sql.SQLExceptionpublic long getLong(java.lang.String columnName)
throws java.sql.SQLException
getLong in interface java.sql.ResultSetjava.sql.SQLExceptionpublic float getFloat(int columnIndex)
throws java.sql.SQLException
getFloat in interface java.sql.ResultSetjava.sql.SQLExceptionpublic float getFloat(java.lang.String columnName)
throws java.sql.SQLException
getFloat in interface java.sql.ResultSetjava.sql.SQLExceptionpublic double getDouble(int columnIndex)
throws java.sql.SQLException
getDouble in interface java.sql.ResultSetjava.sql.SQLExceptionpublic double getDouble(java.lang.String columnName)
throws java.sql.SQLException
getDouble in interface java.sql.ResultSetjava.sql.SQLException@Deprecated
public java.math.BigDecimal getBigDecimal(int columnIndex,
int scale)
throws java.sql.SQLException
getBigDecimal in interface java.sql.ResultSetjava.sql.SQLException@Deprecated
public java.math.BigDecimal getBigDecimal(java.lang.String columnName,
int scale)
throws java.sql.SQLException
getBigDecimal in interface java.sql.ResultSetjava.sql.SQLExceptionpublic java.math.BigDecimal getBigDecimal(int columnIndex)
throws java.sql.SQLException
getBigDecimal in interface java.sql.ResultSetjava.sql.SQLExceptionpublic java.math.BigDecimal getBigDecimal(java.lang.String columnName)
throws java.sql.SQLException
getBigDecimal in interface java.sql.ResultSetjava.sql.SQLExceptionpublic byte[] getBytes(int columnIndex)
throws java.sql.SQLException
getBytes in interface java.sql.ResultSetjava.sql.SQLExceptionpublic byte[] getBytes(java.lang.String columnName)
throws java.sql.SQLException
getBytes in interface java.sql.ResultSetjava.sql.SQLExceptionpublic java.sql.Date getDate(int columnIndex)
throws java.sql.SQLException
getDate in interface java.sql.ResultSetjava.sql.SQLExceptionpublic java.sql.Date getDate(java.lang.String columnName)
throws java.sql.SQLException
getDate in interface java.sql.ResultSetjava.sql.SQLExceptionpublic java.sql.Date getDate(int columnIndex,
java.util.Calendar calendar)
throws java.sql.SQLException
getDate in interface java.sql.ResultSetjava.sql.SQLExceptionpublic java.sql.Date getDate(java.lang.String columnName,
java.util.Calendar calendar)
throws java.sql.SQLException
getDate in interface java.sql.ResultSetjava.sql.SQLExceptionpublic java.sql.Time getTime(int columnIndex)
throws java.sql.SQLException
getTime in interface java.sql.ResultSetjava.sql.SQLExceptionpublic java.sql.Time getTime(java.lang.String columnName)
throws java.sql.SQLException
getTime in interface java.sql.ResultSetjava.sql.SQLExceptionpublic java.sql.Time getTime(int columnIndex,
java.util.Calendar calendar)
throws java.sql.SQLException
getTime in interface java.sql.ResultSetjava.sql.SQLExceptionpublic java.sql.Time getTime(java.lang.String columnName,
java.util.Calendar calendar)
throws java.sql.SQLException
getTime in interface java.sql.ResultSetjava.sql.SQLExceptionpublic java.sql.Timestamp getTimestamp(int columnIndex)
throws java.sql.SQLException
getTimestamp in interface java.sql.ResultSetjava.sql.SQLExceptionpublic java.sql.Timestamp getTimestamp(java.lang.String columnName)
throws java.sql.SQLException
getTimestamp in interface java.sql.ResultSetjava.sql.SQLExceptionpublic java.sql.Timestamp getTimestamp(int columnIndex,
java.util.Calendar calendar)
throws java.sql.SQLException
getTimestamp in interface java.sql.ResultSetjava.sql.SQLExceptionpublic java.sql.Timestamp getTimestamp(java.lang.String columnName,
java.util.Calendar calendar)
throws java.sql.SQLException
getTimestamp in interface java.sql.ResultSetjava.sql.SQLExceptionpublic java.net.URL getURL(int columnIndex)
throws java.sql.SQLException
getURL in interface java.sql.ResultSetjava.sql.SQLExceptionpublic java.net.URL getURL(java.lang.String columnName)
throws java.sql.SQLException
getURL in interface java.sql.ResultSetjava.sql.SQLExceptionpublic java.sql.Blob getBlob(int columnIndex)
throws java.sql.SQLException
getBlob in interface java.sql.ResultSetjava.sql.SQLExceptionpublic java.sql.Blob getBlob(java.lang.String columnName)
throws java.sql.SQLException
getBlob in interface java.sql.ResultSetjava.sql.SQLExceptionpublic java.sql.Clob getClob(int columnIndex)
throws java.sql.SQLException
getClob in interface java.sql.ResultSetjava.sql.SQLExceptionpublic java.sql.Clob getClob(java.lang.String columnName)
throws java.sql.SQLException
getClob in interface java.sql.ResultSetjava.sql.SQLExceptionpublic java.sql.NClob getNClob(int columnIndex)
throws java.sql.SQLException
getNClob in interface java.sql.ResultSetjava.sql.SQLExceptionpublic java.sql.NClob getNClob(java.lang.String columnName)
throws java.sql.SQLException
getNClob in interface java.sql.ResultSetjava.sql.SQLExceptionpublic java.sql.SQLXML getSQLXML(int columnIndex)
throws java.sql.SQLException
getSQLXML in interface java.sql.ResultSetjava.sql.SQLExceptionpublic java.sql.SQLXML getSQLXML(java.lang.String columnName)
throws java.sql.SQLException
getSQLXML in interface java.sql.ResultSetjava.sql.SQLExceptionpublic java.sql.Array getArray(int columnIndex)
throws java.sql.SQLException
getArray in interface java.sql.ResultSetjava.sql.SQLExceptionpublic java.sql.Array getArray(java.lang.String columnName)
throws java.sql.SQLException
getArray in interface java.sql.ResultSetjava.sql.SQLExceptionpublic java.sql.Ref getRef(int columnIndex)
throws java.sql.SQLException
getRef in interface java.sql.ResultSetjava.sql.SQLExceptionpublic java.sql.Ref getRef(java.lang.String columnName)
throws java.sql.SQLException
getRef in interface java.sql.ResultSetjava.sql.SQLExceptionpublic java.sql.RowId getRowId(int columnIndex)
throws java.sql.SQLException
getRowId in interface java.sql.ResultSetjava.sql.SQLExceptionpublic java.sql.RowId getRowId(java.lang.String columnName)
throws java.sql.SQLException
getRowId in interface java.sql.ResultSetjava.sql.SQLExceptionpublic java.io.InputStream getAsciiStream(int columnIndex)
throws java.sql.SQLException
getAsciiStream in interface java.sql.ResultSetjava.sql.SQLExceptionpublic java.io.InputStream getAsciiStream(java.lang.String columnName)
throws java.sql.SQLException
getAsciiStream in interface java.sql.ResultSetjava.sql.SQLExceptionpublic java.io.InputStream getBinaryStream(int columnIndex)
throws java.sql.SQLException
getBinaryStream in interface java.sql.ResultSetjava.sql.SQLExceptionpublic java.io.InputStream getBinaryStream(java.lang.String columnName)
throws java.sql.SQLException
getBinaryStream in interface java.sql.ResultSetjava.sql.SQLException@Deprecated
public java.io.InputStream getUnicodeStream(int columnIndex)
throws java.sql.SQLException
getUnicodeStream in interface java.sql.ResultSetjava.sql.SQLException@Deprecated
public java.io.InputStream getUnicodeStream(java.lang.String columnName)
throws java.sql.SQLException
getUnicodeStream in interface java.sql.ResultSetjava.sql.SQLExceptionpublic java.io.Reader getCharacterStream(int columnIndex)
throws java.sql.SQLException
getCharacterStream in interface java.sql.ResultSetjava.sql.SQLExceptionpublic java.io.Reader getCharacterStream(java.lang.String columnName)
throws java.sql.SQLException
getCharacterStream in interface java.sql.ResultSetjava.sql.SQLExceptionpublic java.io.Reader getNCharacterStream(int columnIndex)
throws java.sql.SQLException
getNCharacterStream in interface java.sql.ResultSetjava.sql.SQLExceptionpublic java.io.Reader getNCharacterStream(java.lang.String columnLabel)
throws java.sql.SQLException
getNCharacterStream in interface java.sql.ResultSetjava.sql.SQLExceptionpublic java.sql.SQLWarning getWarnings()
throws java.sql.SQLException
getWarnings in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void clearWarnings()
throws java.sql.SQLException
clearWarnings in interface java.sql.ResultSetjava.sql.SQLExceptionpublic java.lang.String getCursorName()
throws java.sql.SQLException
getCursorName in interface java.sql.ResultSetjava.sql.SQLExceptionpublic java.sql.ResultSetMetaData getMetaData()
throws java.sql.SQLException
getMetaData in interface java.sql.ResultSetjava.sql.SQLExceptionpublic java.sql.Statement getStatement()
throws java.sql.SQLException
getStatement in interface java.sql.ResultSetjava.sql.SQLExceptionpublic boolean isBeforeFirst()
throws java.sql.SQLException
isBeforeFirst in interface java.sql.ResultSetjava.sql.SQLExceptionpublic boolean isAfterLast()
throws java.sql.SQLException
isAfterLast in interface java.sql.ResultSetjava.sql.SQLExceptionpublic boolean isFirst()
throws java.sql.SQLException
isFirst in interface java.sql.ResultSetjava.sql.SQLExceptionpublic boolean isLast()
throws java.sql.SQLException
isLast in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void beforeFirst()
throws java.sql.SQLException
beforeFirst in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void afterLast()
throws java.sql.SQLException
afterLast in interface java.sql.ResultSetjava.sql.SQLExceptionpublic boolean next()
throws java.sql.SQLException
next in interface java.sql.ResultSetjava.sql.SQLExceptionpublic boolean first()
throws java.sql.SQLException
first in interface java.sql.ResultSetjava.sql.SQLExceptionpublic boolean last()
throws java.sql.SQLException
last in interface java.sql.ResultSetjava.sql.SQLExceptionpublic boolean absolute(int row)
throws java.sql.SQLException
absolute in interface java.sql.ResultSetjava.sql.SQLExceptionpublic boolean relative(int rows)
throws java.sql.SQLException
relative in interface java.sql.ResultSetjava.sql.SQLExceptionpublic int getRow()
throws java.sql.SQLException
getRow in interface java.sql.ResultSetjava.sql.SQLExceptionpublic boolean previous()
throws java.sql.SQLException
previous in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void setFetchDirection(int fetchDirection)
throws java.sql.SQLException
setFetchDirection in interface java.sql.ResultSetjava.sql.SQLExceptionpublic int getFetchDirection()
throws java.sql.SQLException
getFetchDirection in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void setFetchSize(int fetchSize)
throws java.sql.SQLException
setFetchSize in interface java.sql.ResultSetjava.sql.SQLExceptionpublic int getFetchSize()
throws java.sql.SQLException
getFetchSize in interface java.sql.ResultSetjava.sql.SQLExceptionpublic int getType()
throws java.sql.SQLException
getType in interface java.sql.ResultSetjava.sql.SQLExceptionpublic int getConcurrency()
throws java.sql.SQLException
getConcurrency in interface java.sql.ResultSetjava.sql.SQLExceptionpublic int getHoldability()
throws java.sql.SQLException
getHoldability in interface java.sql.ResultSetjava.sql.SQLExceptionpublic int findColumn(java.lang.String columnName)
throws java.sql.SQLException
findColumn in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateObject(int columnIndex,
java.lang.Object value)
throws java.sql.SQLException
updateObject in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateObject(int columnIndex,
java.lang.Object value,
int scale)
throws java.sql.SQLException
updateObject in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateObject(java.lang.String columnName,
java.lang.Object value,
int scale)
throws java.sql.SQLException
updateObject in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateObject(java.lang.String columnName,
java.lang.Object value)
throws java.sql.SQLException
updateObject in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateString(int columnIndex,
java.lang.String value)
throws java.sql.SQLException
updateString in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateString(java.lang.String columnName,
java.lang.String value)
throws java.sql.SQLException
updateString in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateNString(int columnIndex,
java.lang.String value)
throws java.sql.SQLException
updateNString in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateNString(java.lang.String columnLabel,
java.lang.String value)
throws java.sql.SQLException
updateNString in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateNull(int columnIndex)
throws java.sql.SQLException
updateNull in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateNull(java.lang.String columnName)
throws java.sql.SQLException
updateNull in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateBoolean(int columnIndex,
boolean booleanValue)
throws java.sql.SQLException
updateBoolean in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateBoolean(java.lang.String columnName,
boolean booleanValue)
throws java.sql.SQLException
updateBoolean in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateByte(int columnIndex,
byte byteValue)
throws java.sql.SQLException
updateByte in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateByte(java.lang.String columnName,
byte byteValue)
throws java.sql.SQLException
updateByte in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateShort(int columnIndex,
short shortValue)
throws java.sql.SQLException
updateShort in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateShort(java.lang.String columnName,
short shortValue)
throws java.sql.SQLException
updateShort in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateInt(int columnIndex,
int intValue)
throws java.sql.SQLException
updateInt in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateInt(java.lang.String columnName,
int intValue)
throws java.sql.SQLException
updateInt in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateLong(int columnIndex,
long longValue)
throws java.sql.SQLException
updateLong in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateLong(java.lang.String columnName,
long longValue)
throws java.sql.SQLException
updateLong in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateFloat(int columnIndex,
float floatValue)
throws java.sql.SQLException
updateFloat in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateFloat(java.lang.String columnName,
float floatValue)
throws java.sql.SQLException
updateFloat in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateDouble(int columnIndex,
double doubleValue)
throws java.sql.SQLException
updateDouble in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateDouble(java.lang.String columnName,
double doubleValue)
throws java.sql.SQLException
updateDouble in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateBigDecimal(int columnIndex,
java.math.BigDecimal bigDecimal)
throws java.sql.SQLException
updateBigDecimal in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateBigDecimal(java.lang.String columnName,
java.math.BigDecimal bigDecimal)
throws java.sql.SQLException
updateBigDecimal in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateBytes(int columnIndex,
byte[] byteArray)
throws java.sql.SQLException
updateBytes in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateBytes(java.lang.String columnName,
byte[] byteArray)
throws java.sql.SQLException
updateBytes in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateDate(int columnIndex,
java.sql.Date date)
throws java.sql.SQLException
updateDate in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateDate(java.lang.String columnName,
java.sql.Date date)
throws java.sql.SQLException
updateDate in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateTime(int columnIndex,
java.sql.Time time)
throws java.sql.SQLException
updateTime in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateTime(java.lang.String columnName,
java.sql.Time time)
throws java.sql.SQLException
updateTime in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateTimestamp(int columnIndex,
java.sql.Timestamp timeStamp)
throws java.sql.SQLException
updateTimestamp in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateTimestamp(java.lang.String columnName,
java.sql.Timestamp timeStamp)
throws java.sql.SQLException
updateTimestamp in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateAsciiStream(int columnIndex,
java.io.InputStream stream,
int length)
throws java.sql.SQLException
updateAsciiStream in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateAsciiStream(java.lang.String columnName,
java.io.InputStream stream,
int length)
throws java.sql.SQLException
updateAsciiStream in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateAsciiStream(int columnIndex,
java.io.InputStream stream,
long length)
throws java.sql.SQLException
updateAsciiStream in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateAsciiStream(java.lang.String columnName,
java.io.InputStream stream,
long length)
throws java.sql.SQLException
updateAsciiStream in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateAsciiStream(int columnIndex,
java.io.InputStream stream)
throws java.sql.SQLException
updateAsciiStream in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateAsciiStream(java.lang.String columnName,
java.io.InputStream stream)
throws java.sql.SQLException
updateAsciiStream in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateBinaryStream(int columnIndex,
java.io.InputStream stream,
int length)
throws java.sql.SQLException
updateBinaryStream in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateBinaryStream(java.lang.String columnName,
java.io.InputStream stream,
int length)
throws java.sql.SQLException
updateBinaryStream in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateBinaryStream(int columnIndex,
java.io.InputStream stream,
long length)
throws java.sql.SQLException
updateBinaryStream in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateBinaryStream(java.lang.String columnName,
java.io.InputStream stream,
long length)
throws java.sql.SQLException
updateBinaryStream in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateBinaryStream(int columnIndex,
java.io.InputStream stream)
throws java.sql.SQLException
updateBinaryStream in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateBinaryStream(java.lang.String columnName,
java.io.InputStream stream)
throws java.sql.SQLException
updateBinaryStream in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateCharacterStream(int columnIndex,
java.io.Reader reader,
int length)
throws java.sql.SQLException
updateCharacterStream in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateCharacterStream(java.lang.String columnName,
java.io.Reader reader,
int length)
throws java.sql.SQLException
updateCharacterStream in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateCharacterStream(int columnIndex,
java.io.Reader reader,
long length)
throws java.sql.SQLException
updateCharacterStream in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateCharacterStream(java.lang.String columnName,
java.io.Reader reader,
long length)
throws java.sql.SQLException
updateCharacterStream in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateCharacterStream(int columnIndex,
java.io.Reader reader)
throws java.sql.SQLException
updateCharacterStream in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateCharacterStream(java.lang.String columnName,
java.io.Reader reader)
throws java.sql.SQLException
updateCharacterStream in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateNCharacterStream(int columnIndex,
java.io.Reader reader)
throws java.sql.SQLException
updateNCharacterStream in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateNCharacterStream(java.lang.String columnLabel,
java.io.Reader reader)
throws java.sql.SQLException
updateNCharacterStream in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateNCharacterStream(int columnIndex,
java.io.Reader reader,
long length)
throws java.sql.SQLException
updateNCharacterStream in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateNCharacterStream(java.lang.String columnLabel,
java.io.Reader reader,
long length)
throws java.sql.SQLException
updateNCharacterStream in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateRef(int columnIndex,
java.sql.Ref ref)
throws java.sql.SQLException
updateRef in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateRef(java.lang.String columnName,
java.sql.Ref ref)
throws java.sql.SQLException
updateRef in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateRowId(int columnIndex,
java.sql.RowId rowId)
throws java.sql.SQLException
updateRowId in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateRowId(java.lang.String columnName,
java.sql.RowId rowId)
throws java.sql.SQLException
updateRowId in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateBlob(int columnIndex,
java.sql.Blob blob)
throws java.sql.SQLException
updateBlob in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateBlob(java.lang.String columnName,
java.sql.Blob blob)
throws java.sql.SQLException
updateBlob in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateBlob(int columnIndex,
java.io.InputStream stream,
long length)
throws java.sql.SQLException
updateBlob in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateBlob(java.lang.String columnName,
java.io.InputStream stream,
long length)
throws java.sql.SQLException
updateBlob in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateBlob(int columnIndex,
java.io.InputStream stream)
throws java.sql.SQLException
updateBlob in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateBlob(java.lang.String columnName,
java.io.InputStream stream)
throws java.sql.SQLException
updateBlob in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateClob(int columnIndex,
java.sql.Clob clob)
throws java.sql.SQLException
updateClob in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateClob(java.lang.String columnName,
java.sql.Clob clob)
throws java.sql.SQLException
updateClob in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateClob(int columnIndex,
java.io.Reader reader,
long length)
throws java.sql.SQLException
updateClob in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateClob(java.lang.String columnName,
java.io.Reader reader,
long length)
throws java.sql.SQLException
updateClob in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateClob(int columnIndex,
java.io.Reader reader)
throws java.sql.SQLException
updateClob in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateClob(java.lang.String columnName,
java.io.Reader reader)
throws java.sql.SQLException
updateClob in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateNClob(int columnIndex,
java.sql.NClob nClob)
throws java.sql.SQLException
updateNClob in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateNClob(java.lang.String columnName,
java.sql.NClob nClob)
throws java.sql.SQLException
updateNClob in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateNClob(int columnIndex,
java.io.Reader reader,
long length)
throws java.sql.SQLException
updateNClob in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateNClob(java.lang.String columnName,
java.io.Reader reader,
long length)
throws java.sql.SQLException
updateNClob in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateNClob(int columnIndex,
java.io.Reader reader)
throws java.sql.SQLException
updateNClob in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateNClob(java.lang.String columnName,
java.io.Reader reader)
throws java.sql.SQLException
updateNClob in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateSQLXML(int columnIndex,
java.sql.SQLXML xmlObject)
throws java.sql.SQLException
updateSQLXML in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateSQLXML(java.lang.String columnName,
java.sql.SQLXML xmlObject)
throws java.sql.SQLException
updateSQLXML in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateArray(int columnIndex,
java.sql.Array array)
throws java.sql.SQLException
updateArray in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateArray(java.lang.String columnName,
java.sql.Array array)
throws java.sql.SQLException
updateArray in interface java.sql.ResultSetjava.sql.SQLExceptionpublic boolean rowUpdated()
throws java.sql.SQLException
rowUpdated in interface java.sql.ResultSetjava.sql.SQLExceptionpublic boolean rowInserted()
throws java.sql.SQLException
rowInserted in interface java.sql.ResultSetjava.sql.SQLExceptionpublic boolean rowDeleted()
throws java.sql.SQLException
rowDeleted in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void insertRow()
throws java.sql.SQLException
insertRow in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void updateRow()
throws java.sql.SQLException
updateRow in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void deleteRow()
throws java.sql.SQLException
deleteRow in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void refreshRow()
throws java.sql.SQLException
refreshRow in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void cancelRowUpdates()
throws java.sql.SQLException
cancelRowUpdates in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void moveToInsertRow()
throws java.sql.SQLException
moveToInsertRow in interface java.sql.ResultSetjava.sql.SQLExceptionpublic void moveToCurrentRow()
throws java.sql.SQLException
moveToCurrentRow in interface java.sql.ResultSetjava.sql.SQLExceptionpublic boolean isWrapperFor(java.lang.Class<?> iface)
throws java.sql.SQLException
isWrapperFor in interface java.sql.Wrapperjava.sql.SQLExceptionpublic <T> T unwrap(java.lang.Class<T> iface)
throws java.sql.SQLException
unwrap in interface java.sql.Wrapperjava.sql.SQLExceptionpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2003-2018. All Rights Reserved.