public interface ProviderMethodResolver
This interface need to implements at an SQL provider class and it need to define the default constructor for creating a new instance.
Modifier and Type | Method and Description |
---|---|
default Method |
resolveMethod(ProviderContext context)
Resolve an SQL provider method.
|
default Method resolveMethod(ProviderContext context)
The default implementation return a method that matches following conditions.
CharSequence
(String
, StringBuilder
, etc...)BuilderException
.context
- a context for SQL providerBuilderException
- Throws when cannot resolve a target methodCopyright © 2009–2021 MyBatis.org. All rights reserved.