org.springframework.jdbc.support.rowset.SqlRowSet |
Known Indirect Subclasses |
Mirror interface for javax.sql.RowSet
, representing
disconnected java.sql.ResultSet
data.
The main difference to the standard JDBC RowSet is that an SQLException
is never thrown here. This allows a SqlRowSet to be used without having
to deal with checked exceptions. A SqlRowSet will throw Spring's
org.springframework.jdbc.InvalidResultSetAccessException
instead (when appropriate).
Note: This interface extends the java.io.Serializable
marker interface. Implementations, which typically hold disconnected data,
are encouraged to be actually serializable (as far as possible).
ResultSet
InvalidResultSetAccessException
queryForRowSet(String)
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Moves the cursor to the given row number in the RowSet, just after the last row.
| |||||||||||
Moves the cursor to the end of this RowSet.
| |||||||||||
Moves the cursor to the front of this RowSet, just before the first row.
| |||||||||||
Maps the given column label to its column index.
| |||||||||||
Moves the cursor to the first row of this RowSet.
| |||||||||||
Retrieves the value of the indicated column in the current row as
an BigDecimal object.
| |||||||||||
Retrieves the value of the indicated column in the current row as
an BigDecimal object.
| |||||||||||
Retrieves the value of the indicated column in the current row as
a boolean.
| |||||||||||
Retrieves the value of the indicated column in the current row as
a boolean.
| |||||||||||
Retrieves the value of the indicated column in the current row as
a byte.
| |||||||||||
Retrieves the value of the indicated column in the current row as
a byte.
| |||||||||||
Retrieves the value of the indicated column in the current row as
a Date object.
| |||||||||||
Retrieves the value of the indicated column in the current row as
a Date object.
| |||||||||||
Retrieves the value of the indicated column in the current row as
a Date object.
| |||||||||||
Retrieves the value of the indicated column in the current row as
a Date object.
| |||||||||||
Retrieves the value of the indicated column in the current row as
a Double object.
| |||||||||||
Retrieves the value of the indicated column in the current row as
a Double object.
| |||||||||||
Retrieves the value of the indicated column in the current row as
a float.
| |||||||||||
Retrieves the value of the indicated column in the current row as
a float.
| |||||||||||
Retrieves the value of the indicated column in the current row as
an int.
| |||||||||||
Retrieves the value of the indicated column in the current row as
an int.
| |||||||||||
Retrieves the value of the indicated column in the current row as
a long.
| |||||||||||
Retrieves the value of the indicated column in the current row as
a long.
| |||||||||||
Retrieves the meta data (number, types and properties for the columns)
of this row set.
| |||||||||||
Retrieves the value of the indicated column in the current row as
an Object.
| |||||||||||
Retrieves the value of the indicated column in the current row as
an Object.
| |||||||||||
Retrieves the value of the indicated column in the current row as
an Object.
| |||||||||||
Retrieves the value of the indicated column in the current row as
an Object.
| |||||||||||
Retrieves the current row number.
| |||||||||||
Retrieves the value of the indicated column in the current row as
a short.
| |||||||||||
Retrieves the value of the indicated column in the current row as
a short.
| |||||||||||
Retrieves the value of the indicated column in the current row as
a String.
| |||||||||||
Retrieves the value of the indicated column in the current row as
a String.
| |||||||||||
Retrieves the value of the indicated column in the current row as
a Time object.
| |||||||||||
Retrieves the value of the indicated column in the current row as
a Time object.
| |||||||||||
Retrieves the value of the indicated column in the current row as
a Time object.
| |||||||||||
Retrieves the value of the indicated column in the current row as
a Time object.
| |||||||||||
Retrieves the value of the indicated column in the current row as
a Timestamp object.
| |||||||||||
Retrieves the value of the indicated column in the current row as
a Timestamp object.
| |||||||||||
Retrieves the value of the indicated column in the current row as
a Timestamp object.
| |||||||||||
Retrieves the value of the indicated column in the current row as
a Timestamp object.
| |||||||||||
Retrieves whether the cursor is after the last row of this RowSet.
| |||||||||||
Retrieves whether the cursor is after the first row of this RowSet.
| |||||||||||
Retrieves whether the cursor is on the first row of this RowSet.
| |||||||||||
Retrieves whether the cursor is on the last row of this RowSet.
| |||||||||||
Moves the cursor to the last row of this RowSet.
| |||||||||||
Moves the cursor to the next row.
| |||||||||||
Moves the cursor to the previous row.
| |||||||||||
Moves the cursor a relative number f rows, either positive or negative.
| |||||||||||
Reports whether the last column read had a value of SQL
NULL . |
Moves the cursor to the given row number in the RowSet, just after the last row.
row | the number of the row where the cursor should move |
---|
Moves the cursor to the end of this RowSet.
Moves the cursor to the front of this RowSet, just before the first row.
Maps the given column label to its column index.
columnLabel | the name of the column |
---|
Moves the cursor to the first row of this RowSet.
Retrieves the value of the indicated column in the current row as an BigDecimal object.
columnIndex | the column index |
---|
Retrieves the value of the indicated column in the current row as an BigDecimal object.
columnLabel | the column label |
---|
Retrieves the value of the indicated column in the current row as a boolean.
columnIndex | the column index |
---|
Retrieves the value of the indicated column in the current row as a boolean.
columnLabel | the column label |
---|
Retrieves the value of the indicated column in the current row as a byte.
columnLabel | the column label |
---|
Retrieves the value of the indicated column in the current row as a byte.
columnIndex | the column index |
---|
Retrieves the value of the indicated column in the current row as a Date object.
columnIndex | the column index |
---|---|
cal | the Calendar to use in constructing the Date |
Retrieves the value of the indicated column in the current row as a Date object.
columnIndex | the column index |
---|
Retrieves the value of the indicated column in the current row as a Date object.
columnLabel | the column label |
---|---|
cal | the Calendar to use in constructing the Date |
Retrieves the value of the indicated column in the current row as a Date object.
columnLabel | the column label |
---|
Retrieves the value of the indicated column in the current row as a Double object.
columnLabel | the column label |
---|
Retrieves the value of the indicated column in the current row as a Double object.
columnIndex | the column index |
---|
Retrieves the value of the indicated column in the current row as a float.
columnIndex | the column index |
---|
Retrieves the value of the indicated column in the current row as a float.
columnLabel | the column label |
---|
Retrieves the value of the indicated column in the current row as an int.
columnLabel | the column label |
---|
Retrieves the value of the indicated column in the current row as an int.
columnIndex | the column index |
---|
Retrieves the value of the indicated column in the current row as a long.
columnLabel | the column label |
---|
Retrieves the value of the indicated column in the current row as a long.
columnIndex | the column index |
---|
Retrieves the meta data (number, types and properties for the columns) of this row set.
Retrieves the value of the indicated column in the current row as an Object.
columnIndex | the column index |
---|---|
map | a Map object containing the mapping from SQL types to Java types |
Retrieves the value of the indicated column in the current row as an Object.
columnLabel | the column label |
---|
Retrieves the value of the indicated column in the current row as an Object.
columnLabel | the column label |
---|---|
map | a Map object containing the mapping from SQL types to Java types |
Retrieves the value of the indicated column in the current row as an Object.
columnIndex | the column index |
---|
Retrieves the current row number.
Retrieves the value of the indicated column in the current row as a short.
columnIndex | the column index |
---|
Retrieves the value of the indicated column in the current row as a short.
columnLabel | the column label |
---|
Retrieves the value of the indicated column in the current row as a String.
columnIndex | the column index |
---|
Retrieves the value of the indicated column in the current row as a String.
columnLabel | the column label |
---|
Retrieves the value of the indicated column in the current row as a Time object.
columnLabel | the column label |
---|
Retrieves the value of the indicated column in the current row as a Time object.
columnIndex | the column index |
---|---|
cal | the Calendar to use in constructing the Date |
Retrieves the value of the indicated column in the current row as a Time object.
columnIndex | the column index |
---|
Retrieves the value of the indicated column in the current row as a Time object.
columnLabel | the column label |
---|---|
cal | the Calendar to use in constructing the Date |
Retrieves the value of the indicated column in the current row as a Timestamp object.
columnLabel | the column label |
---|
Retrieves the value of the indicated column in the current row as a Timestamp object.
columnLabel | the column label |
---|---|
cal | the Calendar to use in constructing the Date |
Retrieves the value of the indicated column in the current row as a Timestamp object.
columnIndex | the column index |
---|---|
cal | the Calendar to use in constructing the Date |
Retrieves the value of the indicated column in the current row as a Timestamp object.
columnIndex | the column index |
---|
Retrieves whether the cursor is after the last row of this RowSet.
Retrieves whether the cursor is after the first row of this RowSet.
Retrieves whether the cursor is on the first row of this RowSet.
Retrieves whether the cursor is on the last row of this RowSet.
Moves the cursor to the last row of this RowSet.
Moves the cursor to the next row.
Moves the cursor to the previous row.
Moves the cursor a relative number f rows, either positive or negative.
Reports whether the last column read had a value of SQL NULL
.
Note that you must first call one of the getter methods and then call
the wasNull
method.
NULL
,
false otherwise