Class RawSql
java.lang.Object
com.ibatis.sqlmap.engine.mapping.sql.raw.RawSql
- All Implemented Interfaces:
Sql
A non-executable SQL container simply for communicating raw SQL around the framework.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
cleanup
(StatementScope statementScope) Cleanup.getParameterMap
(StatementScope statementScope, Object parameterObject) Gets the parameter map.getResultMap
(StatementScope statementScope, Object parameterObject) Gets the result map.getSql
(StatementScope statementScope, Object parameterObject) Gets the sql.
-
Constructor Details
-
RawSql
Instantiates a new raw sql.- Parameters:
sql
- the sql
-
-
Method Details
-
getSql
Description copied from interface:Sql
Gets the sql. -
getParameterMap
Description copied from interface:Sql
Gets the parameter map.- Specified by:
getParameterMap
in interfaceSql
- Parameters:
statementScope
- the statement scopeparameterObject
- the parameter object- Returns:
- the parameter map
-
getResultMap
Description copied from interface:Sql
Gets the result map.- Specified by:
getResultMap
in interfaceSql
- Parameters:
statementScope
- the statement scopeparameterObject
- the parameter object- Returns:
- the result map
-
cleanup
Description copied from interface:Sql
Cleanup.
-