Mybatis SqlSource解析
核心说明
以下为脑图转文字
主要模块
SqlSource
-
实现类
-
DynamicSqlSource
-
参数
- SqlNode rootSqlNode
-
-
StaticSqlSource
-
参数
- String sql
- List parameterMappings
-
-
RawSqlSource
-
参数
- SqlSource sqlSource
-
-
SqlNode
-
方法
- apply(DynamicContext dynamicContext)
-
实现类
-
StaticTextSqlNode
-
参数
- text
-
-
TextSqlNode
-
参数
- text
-
-
IfSqlNode
-
参数
- test
- SqlNode contents
- ExpressionEvaluator evaluator
-
-
MixedSqlNode
-
参数
-
-