org.apache.torque.criteria

## Interface PreparedStatementPart

- All Known Implementing Classes:
    CombinedPreparedStatementPart, NoReplacementsPreparedStatementPart, OnlyReplacementsPreparedStatementPart, PreparedStatementPartForSubselect, PreparedStatementPartImpl

      public interface PreparedStatementPart

  The rendered SQL for a part of a prepared statement, including replacements for ? placeholders.
  Version:
    $Id: PreparedStatementPart.java 1839288 2018-08-27 09:48:33Z tv $

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `List<Object>` | `getPreparedStatementReplacements()` Returns the list of prepared statement replacements.
    `String` | `getSqlAsString()` Returns the SQL of the part as String.

- - ### Method Detail

    - #### getSqlAsString

          String getSqlAsString()

      Returns the SQL of the part as String.
      Returns:
        the SQL, not null.

    - #### getPreparedStatementReplacements

          List<Object> getPreparedStatementReplacements()

      Returns the list of prepared statement replacements. The implementation may or may not return a list which is modifiable and which may or may not, in case of modification, change the internal state of the surrounding PreparedStatementPart.
      Returns:
        the list of prepared statement replacements, not null.

Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.