Interface JdbcClient.ResultQuerySpec
- Enclosing interface:
JdbcClient
public static interface JdbcClient.ResultQuerySpec
A specification for simple result queries.
- Since:
- 6.1
- Author:
- Juergen Hoeller, Sam Brannen
-
Method Summary
Modifier and TypeMethodDescriptionRetrieve the result as a list of rows, retaining the order from the original database result.Retrieve a single value result, if available, as anOptionalhandle.rowSet()Retrieve the result as a row set.Retrieve a single column result, retaining the order from the original database result.Retrieve a single row result.default ObjectRetrieve a single value result.
-
Method Details
-
rowSet
SqlRowSet rowSet()Retrieve the result as a row set.- Returns:
- a detached row set representation of the original database result
-
listOfRows
-
singleRow
-
singleColumn
-
singleValue
Retrieve a single value result.Note: As of 6.2, this will enforce non-null result values as originally designed (just accidentally not enforced before). (never
null)- See Also:
-
optionalValue
-