Package org.apache.ibatis.mapping
Class BoundSql
- java.lang.Object
- 
- org.apache.ibatis.mapping.BoundSql
 
- 
 public class BoundSql extends Object An actual SQL String got from anSqlSourceafter having processed any dynamic content. The SQL may have SQL placeholders "?" and a list (ordered) of a parameter mappings with the additional information for each parameter (at least the property name of the input object to read the value from).Can also have additional parameters that are created by the dynamic language (for loops, bind...). - Author:
- Clinton Begin
 
- 
- 
Constructor SummaryConstructors Constructor Description BoundSql(Configuration configuration, String sql, List<ParameterMapping> parameterMappings, Object parameterObject)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectgetAdditionalParameter(String name)List<ParameterMapping>getParameterMappings()ObjectgetParameterObject()StringgetSql()booleanhasAdditionalParameter(String name)voidsetAdditionalParameter(String name, Object value)
 
- 
- 
- 
Constructor Detail- 
BoundSqlpublic BoundSql(Configuration configuration, String sql, List<ParameterMapping> parameterMappings, Object parameterObject) 
 
- 
 - 
Method Detail- 
getSqlpublic String getSql() 
 - 
getParameterMappingspublic List<ParameterMapping> getParameterMappings() 
 - 
getParameterObjectpublic Object getParameterObject() 
 - 
hasAdditionalParameterpublic boolean hasAdditionalParameter(String name) 
 
- 
 
-