java.lang.Object
com.ibatis.sqlmap.engine.mapping.sql.stat.StaticSql
All Implemented Interfaces:
Sql

public class StaticSql extends Object implements Sql
The Class StaticSql.
  • Constructor Details

    • StaticSql

      public StaticSql(String sqlStatement)
      Instantiates a new static sql.
      Parameters:
      sqlStatement - the sql statement
  • Method Details

    • getSql

      public String getSql(StatementScope statementScope, Object parameterObject)
      Description copied from interface: Sql
      Gets the sql.
      Specified by:
      getSql in interface Sql
      Parameters:
      statementScope - the statement scope
      parameterObject - the parameter object
      Returns:
      the sql
    • getParameterMap

      public ParameterMap getParameterMap(StatementScope statementScope, Object parameterObject)
      Description copied from interface: Sql
      Gets the parameter map.
      Specified by:
      getParameterMap in interface Sql
      Parameters:
      statementScope - the statement scope
      parameterObject - the parameter object
      Returns:
      the parameter map
    • getResultMap

      public ResultMap getResultMap(StatementScope statementScope, Object parameterObject)
      Description copied from interface: Sql
      Gets the result map.
      Specified by:
      getResultMap in interface Sql
      Parameters:
      statementScope - the statement scope
      parameterObject - the parameter object
      Returns:
      the result map
    • cleanup

      public void cleanup(StatementScope statementScope)
      Description copied from interface: Sql
      Cleanup.
      Specified by:
      cleanup in interface Sql
      Parameters:
      statementScope - the statement scope