public class TableDropper extends AuditedSchemaUpdaterStepBase
includeAudTable, isAuditing, tableName
stepName
Modifier | Constructor and Description |
---|---|
protected |
TableDropper(java.util.List<ISchemaUpdaterStep> stepList,
java.lang.String stepName,
java.lang.String tableName,
boolean includeAudTable,
boolean ifExists) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getUpdateQueryString(java.lang.String tableName,
ICdmDataSource datasource,
IProgressMonitor monitor) |
protected void |
invokeOnTable(java.lang.String tableName,
ICdmDataSource datasource,
IProgressMonitor monitor,
CaseType caseType,
SchemaUpdateResult result)
Invoke the update on the given table of name tableName.
|
static TableDropper |
NewInstance(java.util.List<ISchemaUpdaterStep> stepList,
java.lang.String stepName,
java.lang.String tableName,
boolean includeAudTable) |
static TableDropper |
NewInstance(java.util.List<ISchemaUpdaterStep> stepList,
java.lang.String stepName,
java.lang.String tableName,
boolean includeAudTable,
boolean ifExists) |
invoke
getBoolean, getEnglishLanguageId, getInnerSteps, getLanguageId, getNowString, getStepName, isIgnoreErrors, setIgnoreErrors, setStepName, toString
protected TableDropper(java.util.List<ISchemaUpdaterStep> stepList, java.lang.String stepName, java.lang.String tableName, boolean includeAudTable, boolean ifExists)
public static final TableDropper NewInstance(java.util.List<ISchemaUpdaterStep> stepList, java.lang.String stepName, java.lang.String tableName, boolean includeAudTable)
public static final TableDropper NewInstance(java.util.List<ISchemaUpdaterStep> stepList, java.lang.String stepName, java.lang.String tableName, boolean includeAudTable, boolean ifExists)
stepName
- tableName
- includeAudTable
- ifExists
- if false, and error will be thrown if the table does not exist and can therefore not be dropped.#NewInstance(String, String, boolean)
protected void invokeOnTable(java.lang.String tableName, ICdmDataSource datasource, IProgressMonitor monitor, CaseType caseType, SchemaUpdateResult result)
AuditedSchemaUpdaterStepBase
invokeOnTable
in class AuditedSchemaUpdaterStepBase
tableName
- the tableName, already in the correct casedatasource
- the data sourcemonitor
- the monitorcaseType
- the caseType (in case other tables are also affectedpublic java.lang.String getUpdateQueryString(java.lang.String tableName, ICdmDataSource datasource, IProgressMonitor monitor) throws DatabaseTypeNotSupportedException
tableName
- cased tableNamedatasource
- monitor
- caseType
- DatabaseTypeNotSupportedException
Copyright © 2007-2020 EDIT. All Rights Reserved.