Interface UnsafeSqlOperations


public interface UnsafeSqlOperations

SQL unsafe or experimental operations.

The methods exposed in this inferface should be considered as unstable and should be used with care. Implementations might not fully support this interface which can also change over time.

Since:
1.4
Author:
Jeremy Kuhn
  • Method Summary

    Modifier and Type
    Method
    Description
    <T> org.reactivestreams.Publisher<T>
    batchQueries(Function<SqlOperations,org.reactivestreams.Publisher<org.reactivestreams.Publisher<T>>> function)
    Executes multiple queries in a batch.
  • Method Details

    • batchQueries

      <T> org.reactivestreams.Publisher<T> batchQueries(Function<SqlOperations,org.reactivestreams.Publisher<org.reactivestreams.Publisher<T>>> function)

      Executes multiple queries in a batch.

      The specified function shall return queries publishers created from the SQL operations argument, these queries are then pipelined, defering the flush of queries over the network.

      Type Parameters:
      T - the type of results
      Parameters:
      function - a function returning queries to execute in a batch
      Returns:
      a publisher of results