Package cz.cvut.kbss.jopa.model
Class NonEntityQueryResultLoader<T>
java.lang.Object
cz.cvut.kbss.jopa.model.NonEntityQueryResultLoader<T>
- Type Parameters:
T- Result type
- All Implemented Interfaces:
QueryResultLoader<T>
Query result loader for a non-entity result type.
The loader takes the result row and attempts to load the first binding as an instance of the specified class.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionloadResult(ResultRow resultRow) Loads the result from the given result row.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface cz.cvut.kbss.jopa.model.QueryResultLoader
loadLastPending
-
Constructor Details
-
NonEntityQueryResultLoader
-
-
Method Details
-
loadResult
Description copied from interface:QueryResultLoaderLoads the result from the given result row.- Specified by:
loadResultin interfaceQueryResultLoader<T>- Parameters:
resultRow- Result row to load from- Returns:
- Loaded value, if present
-