DatabasePopulator that delegates to a list of given
DatabasePopulator implementations, executing all scripts.
| Modifier and Type | Field and Description |
|---|---|
| private final List |
| Access | Constructor and Description |
|---|---|
| public | |
| public | CompositeDatabasePopulator(Collection<DatabasePopulator>
one or more populators to delegate to. populators)Create a |
| public | CompositeDatabasePopulator(DatabasePopulator...
one or more populators to delegate to. populators)Create a |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public Mono | populate(Connection
the R2DBC connection to use to populate the db;
already configured and ready to use, must not be connection)nullImplements org. Populate, initialize, or clean up the database using the
provided R2DBC |
| public void |
| populators | back to summary |
|---|---|
| private final List<DatabasePopulator> populators | |
| CompositeDatabasePopulator | back to summary |
|---|---|
| public CompositeDatabasePopulator() Create an empty
| |
| CompositeDatabasePopulator | back to summary |
|---|---|
| public CompositeDatabasePopulator(Collection<DatabasePopulator> populators) Create a
| |
| CompositeDatabasePopulator | back to summary |
|---|---|
| public CompositeDatabasePopulator(DatabasePopulator... populators) Create a
| |
| addPopulators | back to summary |
|---|---|
| public void addPopulators(DatabasePopulator... populators) Add one or more populators to the list of delegates. | |
| populate | back to summary |
|---|---|
| public Mono Implements org. Doc from org. Populate, initialize, or clean up the database using the
provided R2DBC
| |
| setPopulators | back to summary |
|---|---|
| public void setPopulators(DatabasePopulator... populators) Specify one or more populators to delegate to. | |