Class CustomParameterBinder.BindingResult
java.lang.Object
com.pyranid.CustomParameterBinder.BindingResult
- Enclosing interface:
CustomParameterBinder
Result of a custom parameter binding attempt.
Use handled() to indicate a successfully-bound value or fallback() to indicate "didn't bind; fall back to the registered PreparedStatementBinder behavior".
- Since:
- 3.0.0
- Author:
- Mark Allen
-
Method Summary
Modifier and TypeMethodDescriptionfallback()Indicates that this mapper did not bind a custom value and prefers to fall back to the behavior of the registeredPreparedStatementBinder.handled()Indicates that this mapper successfully bound a custom value.
-
Method Details
-
handled
Indicates that this mapper successfully bound a custom value.- Returns:
- a result which indicates that this binder successfully bound a custom value
-
fallback
Indicates that this mapper did not bind a custom value and prefers to fall back to the behavior of the registeredPreparedStatementBinder.- Returns:
- a result which indicates that this binder did not bind a custom value
-