Interface R2dbcSchemaHandler


public interface R2dbcSchemaHandler
The schema handler for R2DBC.
Since:
3.9.0
Author:
Denis Stepanov
  • Method Summary

    Modifier and Type
    Method
    Description
    org.reactivestreams.Publisher<Void>
    createSchema(io.r2dbc.spi.Connection connection, Dialect dialect, String name)
    Creates a new schema.
    org.reactivestreams.Publisher<Void>
    useSchema(io.r2dbc.spi.Connection connection, Dialect dialect, String name)
    Uses the given schema.
  • Method Details

    • createSchema

      org.reactivestreams.Publisher<Void> createSchema(io.r2dbc.spi.Connection connection, Dialect dialect, String name)
      Creates a new schema.
      Parameters:
      connection - The R2DBC connection
      dialect - The dialect
      name - The schema name
      Returns:
      The publisher
    • useSchema

      org.reactivestreams.Publisher<Void> useSchema(io.r2dbc.spi.Connection connection, Dialect dialect, String name)
      Uses the given schema.
      Parameters:
      connection - The R2DBC connection
      dialect - The dialect
      name - The schema name
      Returns:
      The publisher