Package | Description |
---|---|
org.springframework.jdbc.support.rowset |
Provides a convenient holder for disconnected result sets.
|
Modifier and Type | Method and Description |
---|---|
boolean |
ResultSetWrappingSqlRowSet.absolute(int row) |
boolean |
SqlRowSet.absolute(int row)
Move the cursor to the given row number in the row set, just after the last row.
|
void |
ResultSetWrappingSqlRowSet.afterLast() |
void |
SqlRowSet.afterLast()
Move the cursor to the end of this row set.
|
void |
ResultSetWrappingSqlRowSet.beforeFirst() |
void |
SqlRowSet.beforeFirst()
Move the cursor to the front of this row set, just before the first row.
|
int |
ResultSetWrappingSqlRowSet.findColumn(String columnLabel) |
int |
SqlRowSet.findColumn(String columnLabel)
Map the given column label to its column index.
|
boolean |
ResultSetWrappingSqlRowSet.first() |
boolean |
SqlRowSet.first()
Move the cursor to the first row of this row set.
|
BigDecimal |
ResultSetWrappingSqlRowSet.getBigDecimal(int columnIndex) |
BigDecimal |
SqlRowSet.getBigDecimal(int columnIndex)
Retrieve the value of the indicated column in the current row as a BigDecimal object.
|
BigDecimal |
ResultSetWrappingSqlRowSet.getBigDecimal(String columnLabel) |
BigDecimal |
SqlRowSet.getBigDecimal(String columnLabel)
Retrieve the value of the indicated column in the current row as a BigDecimal object.
|
boolean |
ResultSetWrappingSqlRowSet.getBoolean(int columnIndex) |
boolean |
SqlRowSet.getBoolean(int columnIndex)
Retrieve the value of the indicated column in the current row as a boolean.
|
boolean |
ResultSetWrappingSqlRowSet.getBoolean(String columnLabel) |
boolean |
SqlRowSet.getBoolean(String columnLabel)
Retrieve the value of the indicated column in the current row as a boolean.
|
byte |
ResultSetWrappingSqlRowSet.getByte(int columnIndex) |
byte |
SqlRowSet.getByte(int columnIndex)
Retrieve the value of the indicated column in the current row as a byte.
|
byte |
ResultSetWrappingSqlRowSet.getByte(String columnLabel) |
byte |
SqlRowSet.getByte(String columnLabel)
Retrieve the value of the indicated column in the current row as a byte.
|
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 |
ResultSetWrappingSqlRowSet.getDate(int columnIndex) |
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,
Calendar cal) |
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(String columnLabel) |
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,
Calendar cal) |
Date |
SqlRowSet.getDate(String columnLabel,
Calendar cal)
Retrieve the value of the indicated column in the current row as a Date object.
|
double |
ResultSetWrappingSqlRowSet.getDouble(int columnIndex) |
double |
SqlRowSet.getDouble(int columnIndex)
Retrieve the value of the indicated column in the current row as a Double object.
|
double |
ResultSetWrappingSqlRowSet.getDouble(String columnLabel) |
double |
SqlRowSet.getDouble(String columnLabel)
Retrieve the value of the indicated column in the current row as a Double object.
|
float |
ResultSetWrappingSqlRowSet.getFloat(int columnIndex) |
float |
SqlRowSet.getFloat(int columnIndex)
Retrieve the value of the indicated column in the current row as a float.
|
float |
ResultSetWrappingSqlRowSet.getFloat(String columnLabel) |
float |
SqlRowSet.getFloat(String columnLabel)
Retrieve the value of the indicated column in the current row as a float.
|
int |
ResultSetWrappingSqlRowSet.getInt(int columnIndex) |
int |
SqlRowSet.getInt(int columnIndex)
Retrieve the value of the indicated column in the current row as an int.
|
int |
ResultSetWrappingSqlRowSet.getInt(String columnLabel) |
int |
SqlRowSet.getInt(String columnLabel)
Retrieve the value of the indicated column in the current row as an int.
|
long |
ResultSetWrappingSqlRowSet.getLong(int columnIndex) |
long |
SqlRowSet.getLong(int columnIndex)
Retrieve the value of the indicated column in the current row as a long.
|
long |
ResultSetWrappingSqlRowSet.getLong(String columnLabel) |
long |
SqlRowSet.getLong(String columnLabel)
Retrieve the value of the indicated column in the current row as a long.
|
String |
ResultSetWrappingSqlRowSet.getNString(int columnIndex) |
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(String columnLabel) |
String |
SqlRowSet.getNString(String columnLabel)
Retrieve the value of the indicated column in the current row as a String
(for NCHAR, NVARCHAR, LONGNVARCHAR columns).
|
Object |
ResultSetWrappingSqlRowSet.getObject(int columnIndex) |
Object |
SqlRowSet.getObject(int columnIndex)
Retrieve the value of the indicated column in the current row as an Object.
|
<T> T |
ResultSetWrappingSqlRowSet.getObject(int columnIndex,
Class<T> type) |
<T> T |
SqlRowSet.getObject(int columnIndex,
Class<T> type)
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(int columnIndex,
Map<String,Class<?>> map)
Retrieve the value of the indicated column in the current row as an Object.
|
Object |
ResultSetWrappingSqlRowSet.getObject(String columnLabel) |
Object |
SqlRowSet.getObject(String columnLabel)
Retrieve the value of the indicated column in the current row as an Object.
|
<T> T |
ResultSetWrappingSqlRowSet.getObject(String columnLabel,
Class<T> type) |
<T> T |
SqlRowSet.getObject(String columnLabel,
Class<T> type)
Retrieve the value of the indicated column in the current row as an Object.
|
Object |
ResultSetWrappingSqlRowSet.getObject(String columnLabel,
Map<String,Class<?>> map) |
Object |
SqlRowSet.getObject(String columnLabel,
Map<String,Class<?>> map)
Retrieve the value of the indicated column in the current row as an Object.
|
int |
ResultSetWrappingSqlRowSetMetaData.getPrecision(int column) |
int |
SqlRowSetMetaData.getPrecision(int columnIndex)
Retrieve the precision for the indicated column.
|
int |
ResultSetWrappingSqlRowSet.getRow() |
int |
SqlRowSet.getRow()
Retrieve the current row number.
|
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 |
ResultSetWrappingSqlRowSet.getShort(int columnIndex) |
short |
SqlRowSet.getShort(int columnIndex)
Retrieve the value of the indicated column in the current row as a short.
|
short |
ResultSetWrappingSqlRowSet.getShort(String columnLabel) |
short |
SqlRowSet.getShort(String columnLabel)
Retrieve the value of the indicated column in the current row as a short.
|
String |
ResultSetWrappingSqlRowSet.getString(int columnIndex) |
String |
SqlRowSet.getString(int columnIndex)
Retrieve the value of the indicated column in the current row as a String.
|
String |
ResultSetWrappingSqlRowSet.getString(String columnLabel) |
String |
SqlRowSet.getString(String columnLabel)
Retrieve the value of the indicated column in the current row as a String.
|
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 |
ResultSetWrappingSqlRowSet.getTime(int columnIndex) |
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,
Calendar cal) |
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(String columnLabel) |
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,
Calendar cal) |
Time |
SqlRowSet.getTime(String columnLabel,
Calendar cal)
Retrieve the value of the indicated column in the current row as a Time object.
|
Timestamp |
ResultSetWrappingSqlRowSet.getTimestamp(int columnIndex) |
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,
Calendar cal) |
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(String columnLabel) |
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,
Calendar cal) |
Timestamp |
SqlRowSet.getTimestamp(String columnLabel,
Calendar cal)
Retrieve the value of the indicated column in the current row as a Timestamp object.
|
boolean |
ResultSetWrappingSqlRowSet.isAfterLast() |
boolean |
SqlRowSet.isAfterLast()
Retrieve whether the cursor is after the last row of this row set.
|
boolean |
ResultSetWrappingSqlRowSet.isBeforeFirst() |
boolean |
SqlRowSet.isBeforeFirst()
Retrieve whether the cursor is before the first row of this row set.
|
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 |
ResultSetWrappingSqlRowSet.isFirst() |
boolean |
SqlRowSet.isFirst()
Retrieve whether the cursor is on the first row of this row set.
|
boolean |
ResultSetWrappingSqlRowSet.isLast() |
boolean |
SqlRowSet.isLast()
Retrieve whether the cursor is on the last row of this row set.
|
boolean |
ResultSetWrappingSqlRowSetMetaData.isSigned(int column) |
boolean |
SqlRowSetMetaData.isSigned(int columnIndex)
Indicate whether the designated column contains a signed number.
|
boolean |
ResultSetWrappingSqlRowSet.last() |
boolean |
SqlRowSet.last()
Move the cursor to the last row of this row set.
|
boolean |
ResultSetWrappingSqlRowSet.next() |
boolean |
SqlRowSet.next()
Move the cursor to the next row.
|
boolean |
ResultSetWrappingSqlRowSet.previous() |
boolean |
SqlRowSet.previous()
Move the cursor to the previous row.
|
boolean |
ResultSetWrappingSqlRowSet.relative(int rows) |
boolean |
SqlRowSet.relative(int rows)
Move the cursor a relative number of rows, either positive or negative.
|
boolean |
ResultSetWrappingSqlRowSet.wasNull() |
boolean |
SqlRowSet.wasNull()
Report whether the last column read had a value of SQL
NULL . |
Constructor and Description |
---|
ResultSetWrappingSqlRowSet(ResultSet resultSet)
Create a new ResultSetWrappingSqlRowSet for the given ResultSet.
|