Class RawSqlSource
- java.lang.Object
-
- org.apache.ibatis.scripting.defaults.RawSqlSource
-
- All Implemented Interfaces:
SqlSource
public class RawSqlSource extends Object implements SqlSource
Static SqlSource. It is faster thanDynamicSqlSource
because mappings are calculated during startup.- Since:
- 3.2.0
- Author:
- Eduardo Macarron
-
-
Constructor Summary
Constructors Constructor Description RawSqlSource(Configuration configuration, String sql, Class<?> parameterType)
RawSqlSource(Configuration configuration, SqlNode rootSqlNode, Class<?> parameterType)
-
-
-
Constructor Detail
-
RawSqlSource
public RawSqlSource(Configuration configuration, SqlNode rootSqlNode, Class<?> parameterType)
-
RawSqlSource
public RawSqlSource(Configuration configuration, String sql, Class<?> parameterType)
-
-
Method Detail
-
getBoundSql
public BoundSql getBoundSql(Object parameterObject)
- Specified by:
getBoundSql
in interfaceSqlSource
-
-