Class RawSqlSource
- java.lang.Object
-
- org.apache.ibatis.scripting.defaults.RawSqlSource
-
- All Implemented Interfaces:
SqlSource
public class RawSqlSource extends java.lang.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, java.lang.String sql, java.lang.Class<?> parameterType)
RawSqlSource(Configuration configuration, SqlNode rootSqlNode, java.lang.Class<?> parameterType)
-
Method Summary
Modifier and Type Method Description BoundSql
getBoundSql(java.lang.Object parameterObject)
-
-
-
Constructor Detail
-
RawSqlSource
public RawSqlSource(Configuration configuration, SqlNode rootSqlNode, java.lang.Class<?> parameterType)
-
RawSqlSource
public RawSqlSource(Configuration configuration, java.lang.String sql, java.lang.Class<?> parameterType)
-
-
Method Detail
-
getBoundSql
public BoundSql getBoundSql(java.lang.Object parameterObject)
- Specified by:
getBoundSql
in interfaceSqlSource
-
-