- Type Parameters:
T
- The type of the scalar values
- Enclosing interface:
SqlQuery
public static interface SqlQuery.TypeQuery<T>
Query mapping to single scalar values.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Find streaming the result effectively consuming a row at a time.findList()
Return the list of values.findOne()
Return the single value.Return the single value that is optional.usingTransaction
(Transaction transaction) Execute the query using the given transaction.
-
Method Details
-
usingTransaction
Execute the query using the given transaction. -
findOne
Return the single value. -
findOneOrEmpty
Return the single value that is optional. -
findList
Return the list of values. -
findEach
Find streaming the result effectively consuming a row at a time.
-