Class SimpleDynamicSql
java.lang.Object
com.ibatis.sqlmap.engine.mapping.sql.simple.SimpleDynamicSql
- All Implemented Interfaces:
Sql
The Class SimpleDynamicSql.
-
Constructor Summary
ConstructorsConstructorDescriptionSimpleDynamicSql
(SqlMapExecutorDelegate delegate, String sqlStatement) Instantiates a new simple dynamic sql. -
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.static boolean
isSimpleDynamicSql
(String sql) Checks if is simple dynamic sql.
-
Constructor Details
-
SimpleDynamicSql
Instantiates a new simple dynamic sql.- Parameters:
delegate
- the delegatesqlStatement
- the sql statement
-
-
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. -
isSimpleDynamicSql
Checks if is simple dynamic sql.- Parameters:
sql
- the sql- Returns:
- true, if is simple dynamic sql
-