com.holonplatform.datastore.jdbc.composer.expression

## Interface SQLStatement

- All Superinterfaces:
    com.holonplatform.core.Expression
  All Known Subinterfaces:
    SQLQuery

      public interface SQLStatement
      extends com.holonplatform.core.Expression

  SQL statement expression, with statement parameters support.
  Since:
    5.1.0

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from interface com.holonplatform.core.Expression

      `com.holonplatform.core.Expression.ExpressionResolverFunction<E extends com.holonplatform.core.Expression,R extends com.holonplatform.core.Expression>, com.holonplatform.core.Expression.InvalidExpressionException`

  - ### Method Summary

    All Methods Static Methods Instance Methods Abstract Methods Default Methods
    Modifier and Type | Method and Description
    --- | ---
    `static SQLStatement` | `create(String sql, SQLParameter... parameters)` Create a new `SQLStatement`.
    `SQLParameter<?>[]` | `getParameters()` Get the optional statement parameters.
    `String` | `getSql()` Get the statement SQL.

    - ### Methods inherited from interface com.holonplatform.core.Expression

      `validate`

- - ### Method Detail

    - #### getSql

          String getSql()

      Get the statement SQL.
      Returns:
        the statement SQL (not null)

    - #### getParameters

          SQLParameter<?>[] getParameters()

      Get the optional statement parameters.
      Returns:
        the statement parameters, an empty array if none

    - #### create

          static SQLStatement create(String sql,
                                     SQLParameter... parameters)

      Create a new `SQLStatement`.
      Parameters:
        `sql` - SQL statement (not null)
        `parameters` - Optional statement parameters
      Returns:
        A new `SQLStatement`

Copyright © 2019 The Holon Platform. All rights reserved.