Module org.seasar.doma.core
Class OptionalSingleResultCallback<TARGET>
java.lang.Object
org.seasar.doma.internal.jdbc.command.OptionalSingleResultCallback<TARGET>
- All Implemented Interfaces:
IterationCallback<TARGET,Optional<TARGET>>
public class OptionalSingleResultCallback<TARGET>
extends Object
implements IterationCallback<TARGET,Optional<TARGET>>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the default value.iterate(TARGET target, IterationContext context) Invoked from aResultSetiteration process.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.seasar.doma.jdbc.IterationCallback
postIterate
-
Field Details
-
mapper
-
-
Constructor Details
-
OptionalSingleResultCallback
public OptionalSingleResultCallback() -
OptionalSingleResultCallback
-
-
Method Details
-
defaultResult
Description copied from interface:IterationCallbackReturns the default value.- Specified by:
defaultResultin interfaceIterationCallback<TARGET,Optional<TARGET>> - Returns:
- the default value
-
iterate
Description copied from interface:IterationCallbackInvoked from aResultSetiteration process.
-