Interface R2dbcSchemaHandler
-
public interface R2dbcSchemaHandler
The schema handler for R2DBC.- Since:
- 3.9.0
- Author:
- Denis Stepanov
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.reactivestreams.Publisher<java.lang.Void>
createSchema(io.r2dbc.spi.Connection connection, Dialect dialect, java.lang.String name)
Creates a new schema.org.reactivestreams.Publisher<java.lang.Void>
useSchema(io.r2dbc.spi.Connection connection, Dialect dialect, java.lang.String name)
Uses the given schema..
-
-
-
Method Detail
-
createSchema
org.reactivestreams.Publisher<java.lang.Void> createSchema(io.r2dbc.spi.Connection connection, Dialect dialect, java.lang.String name)
Creates a new schema.- Parameters:
connection
- The R2DBC connectiondialect
- The dialectname
- The schema name- Returns:
- The publisher
-
useSchema
org.reactivestreams.Publisher<java.lang.Void> useSchema(io.r2dbc.spi.Connection connection, Dialect dialect, java.lang.String name)
Uses the given schema..- Parameters:
connection
- The R2DBC connectiondialect
- The dialectname
- The schema name- Returns:
- The publisher
-
-