Interface BindableQuery

All Superinterfaces:
Supplier<String>

public interface BindableQuery extends Supplier<String>
Interface declaring a query that supplies SQL and can bind parameters to a DatabaseClient.GenericExecuteSpec.
Author:
Mark Paluch
  • Method Summary

    Modifier and Type
    Method
    Description
    org.springframework.r2dbc.core.DatabaseClient.GenericExecuteSpec
    bind(org.springframework.r2dbc.core.DatabaseClient.GenericExecuteSpec bindSpec)
    Bind parameters to the query.

    Methods inherited from interface java.util.function.Supplier

    get
  • Method Details

    • bind

      org.springframework.r2dbc.core.DatabaseClient.GenericExecuteSpec bind(org.springframework.r2dbc.core.DatabaseClient.GenericExecuteSpec bindSpec)
      Bind parameters to the query.
      Parameters:
      bindSpec - must not be null.
      Returns:
      the bound query object.