Package | Description |
---|---|
org.springframework.jdbc.support.rowset |
Provides a convenient holder for disconnected result sets.
|
Modifier and Type | Method and Description |
---|---|
boolean |
SqlRowSet.absolute(int row)
Move the cursor to the given row number in the row set, just after the last row.
|
boolean |
ResultSetWrappingSqlRowSet.absolute(int row) |
void |
SqlRowSet.afterLast()
Move the cursor to the end of this row set.
|
void |
ResultSetWrappingSqlRowSet.afterLast() |
void |
SqlRowSet.beforeFirst()
Move the cursor to the front of this row set, just before the first row.
|
void |
ResultSetWrappingSqlRowSet.beforeFirst() |
int |
SqlRowSet.findColumn(String columnLabel)
Map the given column label to its column index.
|
int |
ResultSetWrappingSqlRowSet.findColumn(String columnLabel) |
boolean |
SqlRowSet.first()
Move the cursor to the first row of this row set.
|
boolean |
ResultSetWrappingSqlRowSet.first() |
BigDecimal |
SqlRowSet.getBigDecimal(int columnIndex)
Retrieve the value of the indicated column in the current row as a BigDecimal object.
|
BigDecimal |
ResultSetWrappingSqlRowSet.getBigDecimal(int columnIndex) |
BigDecimal |
SqlRowSet.getBigDecimal(String columnLabel)
Retrieve the value of the indicated column in the current row as a BigDecimal object.
|
BigDecimal |
ResultSetWrappingSqlRowSet.getBigDecimal(String columnLabel) |
boolean |
SqlRowSet.getBoolean(int columnIndex)
Retrieve the value of the indicated column in the current row as a boolean.
|
boolean |
ResultSetWrappingSqlRowSet.getBoolean(int columnIndex) |
boolean |
SqlRowSet.getBoolean(String columnLabel)
Retrieve the value of the indicated column in the current row as a boolean.
|
boolean |
ResultSetWrappingSqlRowSet.getBoolean(String columnLabel) |
byte |
SqlRowSet.getByte(int columnIndex)
Retrieve the value of the indicated column in the current row as a byte.
|
byte |
ResultSetWrappingSqlRowSet.getByte(int columnIndex) |
byte |
SqlRowSet.getByte(String columnLabel)
Retrieve the value of the indicated column in the current row as a byte.
|
byte |
ResultSetWrappingSqlRowSet.getByte(String columnLabel) |
String |
ResultSetWrappingSqlRowSetMetaData.getCatalogName(int column) |
String |
SqlRowSetMetaData.getCatalogName(int columnIndex)
Retrieve the catalog name of the table that served as the source for the
specified column.
|
String |
ResultSetWrappingSqlRowSetMetaData.getColumnClassName(int column) |
String |
SqlRowSetMetaData.getColumnClassName(int columnIndex)
Retrieve the fully qualified class that the specified column will be mapped to.
|
int |
ResultSetWrappingSqlRowSetMetaData.getColumnCount() |
int |
SqlRowSetMetaData.getColumnCount()
Retrieve the number of columns in the RowSet.
|
int |
ResultSetWrappingSqlRowSetMetaData.getColumnDisplaySize(int column) |
int |
SqlRowSetMetaData.getColumnDisplaySize(int columnIndex)
Retrieve the maximum width of the designated column.
|
String |
ResultSetWrappingSqlRowSetMetaData.getColumnLabel(int column) |
String |
SqlRowSetMetaData.getColumnLabel(int columnIndex)
Retrieve the suggested column title for the column specified.
|
String |
ResultSetWrappingSqlRowSetMetaData.getColumnName(int column) |
String |
SqlRowSetMetaData.getColumnName(int columnIndex)
Retrieve the column name for the indicated column.
|
String[] |
ResultSetWrappingSqlRowSetMetaData.getColumnNames() |
String[] |
SqlRowSetMetaData.getColumnNames()
Return the column names of the table that the result set represents.
|
int |
ResultSetWrappingSqlRowSetMetaData.getColumnType(int column) |
int |
SqlRowSetMetaData.getColumnType(int columnIndex)
Retrieve the SQL type code for the indicated column.
|
String |
ResultSetWrappingSqlRowSetMetaData.getColumnTypeName(int column) |
String |
SqlRowSetMetaData.getColumnTypeName(int columnIndex)
Retrieve the DBMS-specific type name for the indicated column.
|
Date |
SqlRowSet.getDate(int columnIndex)
Retrieve the value of the indicated column in the current row as a Date object.
|
Date |
ResultSetWrappingSqlRowSet.getDate(int columnIndex) |
Date |
SqlRowSet.getDate(int columnIndex,
Calendar cal)
Retrieve the value of the indicated column in the current row as a Date object.
|
Date |
ResultSetWrappingSqlRowSet.getDate(int columnIndex,
Calendar cal) |
Date |
SqlRowSet.getDate(String columnLabel)
Retrieve the value of the indicated column in the current row as a Date object.
|
Date |
ResultSetWrappingSqlRowSet.getDate(String columnLabel) |
Date |
SqlRowSet.getDate(String columnLabel,
Calendar cal)
Retrieve the value of the indicated column in the current row as a Date object.
|
Date |
ResultSetWrappingSqlRowSet.getDate(String columnLabel,
Calendar cal) |
double |
SqlRowSet.getDouble(int columnIndex)
Retrieve the value of the indicated column in the current row as a Double object.
|
double |
ResultSetWrappingSqlRowSet.getDouble(int columnIndex) |
double |
SqlRowSet.getDouble(String columnLabel)
Retrieve the value of the indicated column in the current row as a Double object.
|
double |
ResultSetWrappingSqlRowSet.getDouble(String columnLabel) |
float |
SqlRowSet.getFloat(int columnIndex)
Retrieve the value of the indicated column in the current row as a float.
|
float |
ResultSetWrappingSqlRowSet.getFloat(int columnIndex) |
float |
SqlRowSet.getFloat(String columnLabel)
Retrieve the value of the indicated column in the current row as a float.
|
float |
ResultSetWrappingSqlRowSet.getFloat(String columnLabel) |
int |
SqlRowSet.getInt(int columnIndex)
Retrieve the value of the indicated column in the current row as an int.
|
int |
ResultSetWrappingSqlRowSet.getInt(int columnIndex) |
int |
SqlRowSet.getInt(String columnLabel)
Retrieve the value of the indicated column in the current row as an int.
|
int |
ResultSetWrappingSqlRowSet.getInt(String columnLabel) |
long |
SqlRowSet.getLong(int columnIndex)
Retrieve the value of the indicated column in the current row as a long.
|
long |
ResultSetWrappingSqlRowSet.getLong(int columnIndex) |
long |
SqlRowSet.getLong(String columnLabel)
Retrieve the value of the indicated column in the current row as a long.
|
long |
ResultSetWrappingSqlRowSet.getLong(String columnLabel) |
String |
SqlRowSet.getNString(int columnIndex)
Retrieve the value of the indicated column in the current row as a String
(for NCHAR, NVARCHAR, LONGNVARCHAR columns).
|
String |
ResultSetWrappingSqlRowSet.getNString(int columnIndex) |
String |
SqlRowSet.getNString(String columnLabel)
Retrieve the value of the indicated column in the current row as a String
(for NCHAR, NVARCHAR, LONGNVARCHAR columns).
|
String |
ResultSetWrappingSqlRowSet.getNString(String columnLabel) |
Object |
SqlRowSet.getObject(int columnIndex)
Retrieve the value of the indicated column in the current row as an Object.
|
Object |
ResultSetWrappingSqlRowSet.getObject(int columnIndex) |
<T> T |
SqlRowSet.getObject(int columnIndex,
Class<T> type)
Retrieve the value of the indicated column in the current row as an Object.
|
<T> T |
ResultSetWrappingSqlRowSet.getObject(int columnIndex,
Class<T> type) |
Object |
SqlRowSet.getObject(int columnIndex,
Map<String,Class<?>> map)
Retrieve the value of the indicated column in the current row as an Object.
|
Object |
ResultSetWrappingSqlRowSet.getObject(int columnIndex,
Map<String,Class<?>> map) |
Object |
SqlRowSet.getObject(String columnLabel)
Retrieve the value of the indicated column in the current row as an Object.
|
Object |
ResultSetWrappingSqlRowSet.getObject(String columnLabel) |
<T> T |
SqlRowSet.getObject(String columnLabel,
Class<T> type)
Retrieve the value of the indicated column in the current row as an Object.
|
<T> T |
ResultSetWrappingSqlRowSet.getObject(String columnLabel,
Class<T> type) |
Object |
SqlRowSet.getObject(String columnLabel,
Map<String,Class<?>> map)
Retrieve the value of the indicated column in the current row as an Object.
|
Object |
ResultSetWrappingSqlRowSet.getObject(String columnLabel,
Map<String,Class<?>> map) |
int |
ResultSetWrappingSqlRowSetMetaData.getPrecision(int column) |
int |
SqlRowSetMetaData.getPrecision(int columnIndex)
Retrieve the precision for the indicated column.
|
int |
SqlRowSet.getRow()
Retrieve the current row number.
|
int |
ResultSetWrappingSqlRowSet.getRow() |
int |
ResultSetWrappingSqlRowSetMetaData.getScale(int column) |
int |
SqlRowSetMetaData.getScale(int columnIndex)
Retrieve the scale of the indicated column.
|
String |
ResultSetWrappingSqlRowSetMetaData.getSchemaName(int column) |
String |
SqlRowSetMetaData.getSchemaName(int columnIndex)
Retrieve the schema name of the table that served as the source for the
specified column.
|
short |
SqlRowSet.getShort(int columnIndex)
Retrieve the value of the indicated column in the current row as a short.
|
short |
ResultSetWrappingSqlRowSet.getShort(int columnIndex) |
short |
SqlRowSet.getShort(String columnLabel)
Retrieve the value of the indicated column in the current row as a short.
|
short |
ResultSetWrappingSqlRowSet.getShort(String columnLabel) |
String |
SqlRowSet.getString(int columnIndex)
Retrieve the value of the indicated column in the current row as a String.
|
String |
ResultSetWrappingSqlRowSet.getString(int columnIndex) |
String |
SqlRowSet.getString(String columnLabel)
Retrieve the value of the indicated column in the current row as a String.
|
String |
ResultSetWrappingSqlRowSet.getString(String columnLabel) |
String |
ResultSetWrappingSqlRowSetMetaData.getTableName(int column) |
String |
SqlRowSetMetaData.getTableName(int columnIndex)
Retrieve the name of the table that served as the source for the
specified column.
|
Time |
SqlRowSet.getTime(int columnIndex)
Retrieve the value of the indicated column in the current row as a Time object.
|
Time |
ResultSetWrappingSqlRowSet.getTime(int columnIndex) |
Time |
SqlRowSet.getTime(int columnIndex,
Calendar cal)
Retrieve the value of the indicated column in the current row as a Time object.
|
Time |
ResultSetWrappingSqlRowSet.getTime(int columnIndex,
Calendar cal) |
Time |
SqlRowSet.getTime(String columnLabel)
Retrieve the value of the indicated column in the current row as a Time object.
|
Time |
ResultSetWrappingSqlRowSet.getTime(String columnLabel) |
Time |
SqlRowSet.getTime(String columnLabel,
Calendar cal)
Retrieve the value of the indicated column in the current row as a Time object.
|
Time |
ResultSetWrappingSqlRowSet.getTime(String columnLabel,
Calendar cal) |
Timestamp |
SqlRowSet.getTimestamp(int columnIndex)
Retrieve the value of the indicated column in the current row as a Timestamp object.
|
Timestamp |
ResultSetWrappingSqlRowSet.getTimestamp(int columnIndex) |
Timestamp |
SqlRowSet.getTimestamp(int columnIndex,
Calendar cal)
Retrieve the value of the indicated column in the current row as a Timestamp object.
|
Timestamp |
ResultSetWrappingSqlRowSet.getTimestamp(int columnIndex,
Calendar cal) |
Timestamp |
SqlRowSet.getTimestamp(String columnLabel)
Retrieve the value of the indicated column in the current row as a Timestamp object.
|
Timestamp |
ResultSetWrappingSqlRowSet.getTimestamp(String columnLabel) |
Timestamp |
SqlRowSet.getTimestamp(String columnLabel,
Calendar cal)
Retrieve the value of the indicated column in the current row as a Timestamp object.
|
Timestamp |
ResultSetWrappingSqlRowSet.getTimestamp(String columnLabel,
Calendar cal) |
boolean |
SqlRowSet.isAfterLast()
Retrieve whether the cursor is after the last row of this row set.
|
boolean |
ResultSetWrappingSqlRowSet.isAfterLast() |
boolean |
SqlRowSet.isBeforeFirst()
Retrieve whether the cursor is before the first row of this row set.
|
boolean |
ResultSetWrappingSqlRowSet.isBeforeFirst() |
boolean |
ResultSetWrappingSqlRowSetMetaData.isCaseSensitive(int column) |
boolean |
SqlRowSetMetaData.isCaseSensitive(int columnIndex)
Indicate whether the case of the designated column is significant.
|
boolean |
ResultSetWrappingSqlRowSetMetaData.isCurrency(int column) |
boolean |
SqlRowSetMetaData.isCurrency(int columnIndex)
Indicate whether the designated column contains a currency value.
|
boolean |
SqlRowSet.isFirst()
Retrieve whether the cursor is on the first row of this row set.
|
boolean |
ResultSetWrappingSqlRowSet.isFirst() |
boolean |
SqlRowSet.isLast()
Retrieve whether the cursor is on the last row of this row set.
|
boolean |
ResultSetWrappingSqlRowSet.isLast() |
boolean |
ResultSetWrappingSqlRowSetMetaData.isSigned(int column) |
boolean |
SqlRowSetMetaData.isSigned(int columnIndex)
Indicate whether the designated column contains a signed number.
|
boolean |
SqlRowSet.last()
Move the cursor to the last row of this row set.
|
boolean |
ResultSetWrappingSqlRowSet.last() |
boolean |
SqlRowSet.next()
Move the cursor to the next row.
|
boolean |
ResultSetWrappingSqlRowSet.next() |
boolean |
SqlRowSet.previous()
Move the cursor to the previous row.
|
boolean |
ResultSetWrappingSqlRowSet.previous() |
boolean |
SqlRowSet.relative(int rows)
Move the cursor a relative number of rows, either positive or negative.
|
boolean |
ResultSetWrappingSqlRowSet.relative(int rows) |
boolean |
SqlRowSet.wasNull()
Report whether the last column read had a value of SQL
NULL . |
boolean |
ResultSetWrappingSqlRowSet.wasNull() |
Constructor and Description |
---|
ResultSetWrappingSqlRowSet(ResultSet resultSet)
Create a new
ResultSetWrappingSqlRowSet for the given ResultSet . |