Class ReactivePostgresSessionSchemaPopulator
- java.lang.Object
-
- net.andreaskluth.session.postgres.support.ReactivePostgresSessionSchemaPopulator
-
public class ReactivePostgresSessionSchemaPopulator extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static reactor.core.publisher.Mono<Void>
applyDefaultSchema(io.reactiverse.pgclient.PgPool pgPool)
static void
applyDefaultSchema(Connection connection)
static reactor.core.publisher.Mono<Void>
applySchema(io.reactiverse.pgclient.PgPool pgPool, String[] statements)
static String[]
parseStatementsFromSchema()
-
-
-
Method Detail
-
applyDefaultSchema
public static void applyDefaultSchema(Connection connection) throws SQLException
- Throws:
SQLException
-
applyDefaultSchema
public static reactor.core.publisher.Mono<Void> applyDefaultSchema(io.reactiverse.pgclient.PgPool pgPool)
-
applySchema
public static reactor.core.publisher.Mono<Void> applySchema(io.reactiverse.pgclient.PgPool pgPool, String[] statements)
-
parseStatementsFromSchema
public static String[] parseStatementsFromSchema()
-
-