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(java.lang.String columnLabel) |
int |
SqlRowSet.findColumn(java.lang.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.
|
java.math.BigDecimal |
ResultSetWrappingSqlRowSet.getBigDecimal(int columnIndex) |
java.math.BigDecimal |
SqlRowSet.getBigDecimal(int columnIndex)
Retrieve the value of the indicated column in the current row as a BigDecimal object.
|
java.math.BigDecimal |
ResultSetWrappingSqlRowSet.getBigDecimal(java.lang.String columnLabel) |
java.math.BigDecimal |
SqlRowSet.getBigDecimal(java.lang.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(java.lang.String columnLabel) |
boolean |
SqlRowSet.getBoolean(java.lang.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(java.lang.String columnLabel) |
byte |
SqlRowSet.getByte(java.lang.String columnLabel)
Retrieve the value of the indicated column in the current row as a byte.
|
java.lang.String |
ResultSetWrappingSqlRowSetMetaData.getCatalogName(int column) |
java.lang.String |
SqlRowSetMetaData.getCatalogName(int columnIndex)
Retrieve the catalog name of the table that served as the source for the
specified column.
|
java.lang.String |
ResultSetWrappingSqlRowSetMetaData.getColumnClassName(int column) |
java.lang.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.
|
java.lang.String |
ResultSetWrappingSqlRowSetMetaData.getColumnLabel(int column) |
java.lang.String |
SqlRowSetMetaData.getColumnLabel(int columnIndex)
Retrieve the suggested column title for the column specified.
|
java.lang.String |
ResultSetWrappingSqlRowSetMetaData.getColumnName(int column) |
java.lang.String |
SqlRowSetMetaData.getColumnName(int columnIndex)
Retrieve the column name for the indicated column.
|
java.lang.String[] |
ResultSetWrappingSqlRowSetMetaData.getColumnNames() |
java.lang.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.
|
java.lang.String |
ResultSetWrappingSqlRowSetMetaData.getColumnTypeName(int column) |
java.lang.String |
SqlRowSetMetaData.getColumnTypeName(int columnIndex)
Retrieve the DBMS-specific type name for the indicated column.
|
java.sql.Date |
ResultSetWrappingSqlRowSet.getDate(int columnIndex) |
java.sql.Date |
SqlRowSet.getDate(int columnIndex)
Retrieve the value of the indicated column in the current row as a Date object.
|
java.sql.Date |
ResultSetWrappingSqlRowSet.getDate(int columnIndex,
java.util.Calendar cal) |
java.sql.Date |
SqlRowSet.getDate(int columnIndex,
java.util.Calendar cal)
Retrieve the value of the indicated column in the current row as a Date object.
|
java.sql.Date |
ResultSetWrappingSqlRowSet.getDate(java.lang.String columnLabel) |
java.sql.Date |
SqlRowSet.getDate(java.lang.String columnLabel)
Retrieve the value of the indicated column in the current row as a Date object.
|
java.sql.Date |
ResultSetWrappingSqlRowSet.getDate(java.lang.String columnLabel,
java.util.Calendar cal) |
java.sql.Date |
SqlRowSet.getDate(java.lang.String columnLabel,
java.util.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(java.lang.String columnLabel) |
double |
SqlRowSet.getDouble(java.lang.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(java.lang.String columnLabel) |
float |
SqlRowSet.getFloat(java.lang.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(java.lang.String columnLabel) |
int |
SqlRowSet.getInt(java.lang.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(java.lang.String columnLabel) |
long |
SqlRowSet.getLong(java.lang.String columnLabel)
Retrieve the value of the indicated column in the current row as a long.
|
java.lang.String |
ResultSetWrappingSqlRowSet.getNString(int columnIndex) |
java.lang.String |
SqlRowSet.getNString(int columnIndex)
Retrieve the value of the indicated column in the current row as a String
(for NCHAR, NVARCHAR, LONGNVARCHAR columns).
|
java.lang.String |
ResultSetWrappingSqlRowSet.getNString(java.lang.String columnLabel) |
java.lang.String |
SqlRowSet.getNString(java.lang.String columnLabel)
Retrieve the value of the indicated column in the current row as a String
(for NCHAR, NVARCHAR, LONGNVARCHAR columns).
|
java.lang.Object |
ResultSetWrappingSqlRowSet.getObject(int columnIndex) |
java.lang.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,
java.lang.Class<T> type) |
<T> T |
SqlRowSet.getObject(int columnIndex,
java.lang.Class<T> type)
Retrieve the value of the indicated column in the current row as an Object.
|
java.lang.Object |
ResultSetWrappingSqlRowSet.getObject(int columnIndex,
java.util.Map<java.lang.String,java.lang.Class<?>> map) |
java.lang.Object |
SqlRowSet.getObject(int columnIndex,
java.util.Map<java.lang.String,java.lang.Class<?>> map)
Retrieve the value of the indicated column in the current row as an Object.
|
java.lang.Object |
ResultSetWrappingSqlRowSet.getObject(java.lang.String columnLabel) |
java.lang.Object |
SqlRowSet.getObject(java.lang.String columnLabel)
Retrieve the value of the indicated column in the current row as an Object.
|
<T> T |
ResultSetWrappingSqlRowSet.getObject(java.lang.String columnLabel,
java.lang.Class<T> type) |
<T> T |
SqlRowSet.getObject(java.lang.String columnLabel,
java.lang.Class<T> type)
Retrieve the value of the indicated column in the current row as an Object.
|
java.lang.Object |
ResultSetWrappingSqlRowSet.getObject(java.lang.String columnLabel,
java.util.Map<java.lang.String,java.lang.Class<?>> map) |
java.lang.Object |
SqlRowSet.getObject(java.lang.String columnLabel,
java.util.Map<java.lang.String,java.lang.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.
|
java.lang.String |
ResultSetWrappingSqlRowSetMetaData.getSchemaName(int column) |
java.lang.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(java.lang.String columnLabel) |
short |
SqlRowSet.getShort(java.lang.String columnLabel)
Retrieve the value of the indicated column in the current row as a short.
|
java.lang.String |
ResultSetWrappingSqlRowSet.getString(int columnIndex) |
java.lang.String |
SqlRowSet.getString(int columnIndex)
Retrieve the value of the indicated column in the current row as a String.
|
java.lang.String |
ResultSetWrappingSqlRowSet.getString(java.lang.String columnLabel) |
java.lang.String |
SqlRowSet.getString(java.lang.String columnLabel)
Retrieve the value of the indicated column in the current row as a String.
|
java.lang.String |
ResultSetWrappingSqlRowSetMetaData.getTableName(int column) |
java.lang.String |
SqlRowSetMetaData.getTableName(int columnIndex)
Retrieve the name of the table that served as the source for the
specified column.
|
java.sql.Time |
ResultSetWrappingSqlRowSet.getTime(int columnIndex) |
java.sql.Time |
SqlRowSet.getTime(int columnIndex)
Retrieve the value of the indicated column in the current row as a Time object.
|
java.sql.Time |
ResultSetWrappingSqlRowSet.getTime(int columnIndex,
java.util.Calendar cal) |
java.sql.Time |
SqlRowSet.getTime(int columnIndex,
java.util.Calendar cal)
Retrieve the value of the indicated column in the current row as a Time object.
|
java.sql.Time |
ResultSetWrappingSqlRowSet.getTime(java.lang.String columnLabel) |
java.sql.Time |
SqlRowSet.getTime(java.lang.String columnLabel)
Retrieve the value of the indicated column in the current row as a Time object.
|
java.sql.Time |
ResultSetWrappingSqlRowSet.getTime(java.lang.String columnLabel,
java.util.Calendar cal) |
java.sql.Time |
SqlRowSet.getTime(java.lang.String columnLabel,
java.util.Calendar cal)
Retrieve the value of the indicated column in the current row as a Time object.
|
java.sql.Timestamp |
ResultSetWrappingSqlRowSet.getTimestamp(int columnIndex) |
java.sql.Timestamp |
SqlRowSet.getTimestamp(int columnIndex)
Retrieve the value of the indicated column in the current row as a Timestamp object.
|
java.sql.Timestamp |
ResultSetWrappingSqlRowSet.getTimestamp(int columnIndex,
java.util.Calendar cal) |
java.sql.Timestamp |
SqlRowSet.getTimestamp(int columnIndex,
java.util.Calendar cal)
Retrieve the value of the indicated column in the current row as a Timestamp object.
|
java.sql.Timestamp |
ResultSetWrappingSqlRowSet.getTimestamp(java.lang.String columnLabel) |
java.sql.Timestamp |
SqlRowSet.getTimestamp(java.lang.String columnLabel)
Retrieve the value of the indicated column in the current row as a Timestamp object.
|
java.sql.Timestamp |
ResultSetWrappingSqlRowSet.getTimestamp(java.lang.String columnLabel,
java.util.Calendar cal) |
java.sql.Timestamp |
SqlRowSet.getTimestamp(java.lang.String columnLabel,
java.util.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(java.sql.ResultSet resultSet)
Create a new ResultSetWrappingSqlRowSet for the given ResultSet.
|