public class KettleDatabaseRepositoryCreationHelper extends Object
| Constructor and Description |
|---|
KettleDatabaseRepositoryCreationHelper(KettleDatabaseRepository repository) |
| Modifier and Type | Method and Description |
|---|---|
void |
createRepositorySchema(ProgressMonitorListener monitor,
boolean upgrade,
List<String> statements,
boolean dryrun)
Create or upgrade repository tables & fields, populate lookup tables, ...
|
protected int |
getRepoStringLength()
Returns max VARCHAR length depending on db interface
|
List<String> |
updateDatabaseTypes(List<String> statements,
boolean dryrun,
boolean create)
Update the list in R_DATABASE_TYPE using the database plugin entries
|
void |
updateJobEntryTypes(List<String> statements,
boolean dryrun,
boolean create)
Update the list in R_JOBENTRY_TYPE
|
List<String> |
updateStepTypes(List<String> statements,
boolean dryrun,
boolean create)
Update the list in R_STEP_TYPE using the StepLoader StepPlugin entries
|
public KettleDatabaseRepositoryCreationHelper(KettleDatabaseRepository repository)
public void createRepositorySchema(ProgressMonitorListener monitor, boolean upgrade, List<String> statements, boolean dryrun) throws KettleException
monitor - The progress monitor to use, or null if no monitor is present.upgrade - True if you want to upgrade the repository, false if you want to create it.statements - the list of statements to populatedryrun - true if we don't actually execute the statementsKettleException - in case something goes wrong!protected int getRepoStringLength()
public List<String> updateStepTypes(List<String> statements, boolean dryrun, boolean create) throws KettleException
KettleException - if the update didn't go as planned.public List<String> updateDatabaseTypes(List<String> statements, boolean dryrun, boolean create) throws KettleException
KettleException - if the update didn't go as planned.public void updateJobEntryTypes(List<String> statements, boolean dryrun, boolean create) throws KettleException
create - KettleException - if something went wrong during the update.Copyright © 2018 Hitachi Vantara. All rights reserved.