Package cz.cvut.kbss.jopa.model
Interface QueryResultLoader<T>
- Type Parameters:
T
- Type of the result
- All Known Implementing Classes:
BaseEntityQueryResultLoader
,NonEntityQueryResultLoader
public interface QueryResultLoader<T>
Loads result from a query result row.
-
Method Summary
Modifier and TypeMethodDescriptionIf the loader performs any aggregation, use this to method to get the last pending result.loadResult
(ResultRow resultRow) Loads the result from the given result row.
-
Method Details
-
loadResult
Loads the result from the given result row.- Parameters:
resultRow
- Result row to load from- Returns:
- Loaded value, if present
-
loadLastPending
If the loader performs any aggregation, use this to method to get the last pending result.- Returns:
- Last pending value
-