void |
AlterSequenceStartWith.apply(java.lang.Integer priorVersion,
ISchemaAdapter target,
SchemaApplyContext context) |
|
void |
AlterSequenceStartWith.apply(ISchemaAdapter target,
SchemaApplyContext context) |
|
void |
AlterTableAddColumn.apply(java.lang.Integer priorVersion,
ISchemaAdapter target,
SchemaApplyContext context) |
|
void |
AlterTableAddColumn.apply(ISchemaAdapter target,
SchemaApplyContext context) |
|
void |
AlterTableIdentityCache.apply(java.lang.Integer priorVersion,
ISchemaAdapter target,
SchemaApplyContext context) |
|
void |
AlterTableIdentityCache.apply(ISchemaAdapter target,
SchemaApplyContext context) |
|
void |
CreateIndex.apply(java.lang.Integer priorVersion,
ISchemaAdapter target,
SchemaApplyContext context) |
|
void |
CreateIndex.apply(ISchemaAdapter target,
SchemaApplyContext context) |
|
void |
ForeignKeyConstraint.apply(java.lang.String schemaName,
java.lang.String name,
ISchemaAdapter target,
DistributionType sourceDistributionType) |
Apply the FK constraint to the given target
|
void |
FunctionDef.apply(java.lang.Integer priorVersion,
ISchemaAdapter target,
SchemaApplyContext context) |
|
void |
FunctionDef.apply(ISchemaAdapter target,
SchemaApplyContext context) |
|
void |
IDatabaseObject.apply(java.lang.Integer priorVersion,
ISchemaAdapter target,
SchemaApplyContext context) |
Apply migration logic to bring the target database to the current level of this object
|
void |
IDatabaseObject.apply(ISchemaAdapter target,
SchemaApplyContext context) |
Apply the DDL for this object to the target database
|
void |
IndexDef.apply(java.lang.String schemaName,
java.lang.String tableName,
ISchemaAdapter target,
DistributionType distributionType,
java.lang.String distributionColumn) |
Apply this object to the given database target
|
void |
NopObject.apply(java.lang.Integer priorVersion,
ISchemaAdapter target,
SchemaApplyContext context) |
|
void |
NopObject.apply(ISchemaAdapter target,
SchemaApplyContext context) |
|
void |
ObjectGroup.apply(java.lang.Integer priorVersion,
ISchemaAdapter target,
SchemaApplyContext context) |
|
void |
ObjectGroup.apply(ISchemaAdapter target,
SchemaApplyContext context) |
|
void |
PhysicalDataModel.apply(ISchemaAdapter target,
SchemaApplyContext context) |
Apply the entire model to the target in order
|
void |
ProcedureDef.apply(java.lang.Integer priorVersion,
ISchemaAdapter target,
SchemaApplyContext context) |
|
void |
ProcedureDef.apply(ISchemaAdapter target,
SchemaApplyContext context) |
|
void |
Sequence.apply(java.lang.Integer priorVersion,
ISchemaAdapter target,
SchemaApplyContext context) |
|
void |
Sequence.apply(ISchemaAdapter target,
SchemaApplyContext context) |
|
void |
Table.apply(java.lang.Integer priorVersion,
ISchemaAdapter target,
SchemaApplyContext context) |
|
void |
Table.apply(ISchemaAdapter target,
SchemaApplyContext context) |
|
void |
Tablespace.apply(java.lang.Integer priorVersion,
ISchemaAdapter target,
SchemaApplyContext context) |
|
void |
Tablespace.apply(ISchemaAdapter target,
SchemaApplyContext context) |
|
void |
View.apply(java.lang.Integer priorVersion,
ISchemaAdapter target,
SchemaApplyContext context) |
|
void |
View.apply(ISchemaAdapter target,
SchemaApplyContext context) |
|
void |
BaseObject.applyDistributionRules(ISchemaAdapter target,
int pass) |
|
void |
DatabaseObject.applyDistributionRules(ISchemaAdapter target,
int pass) |
|
void |
IDatabaseObject.applyDistributionRules(ISchemaAdapter target,
int pass) |
Apply any distribution rules associated with the object (usually a table)
|
void |
ObjectGroup.applyDistributionRules(ISchemaAdapter target,
int pass) |
|
void |
PhysicalDataModel.applyDistributionRules(ISchemaAdapter target,
java.util.function.Supplier<ITransaction> transactionSupplier) |
Make a pass over all the objects and apply any distribution rules they
may have (e.g.
|
void |
Table.applyDistributionRules(ISchemaAdapter target,
int pass) |
|
void |
PhysicalDataModel.applyFunctions(ISchemaAdapter adapter,
SchemaApplyContext context) |
Apply all the functions in the order in which they were added to the model
|
void |
PhysicalDataModel.applyGrants(ISchemaAdapter target,
java.lang.String groupName,
java.lang.String username) |
Apply the grants for the given group to the user
|
void |
PhysicalDataModel.applyProcedureAndFunctionGrants(ISchemaAdapter target,
java.lang.String groupName,
java.lang.String username) |
Grant the privileges for any registered procedures and functions to the given username
|
void |
PhysicalDataModel.applyProcedures(ISchemaAdapter adapter,
SchemaApplyContext context) |
Apply all the procedures in the order in which they were added to the model
|
void |
BaseObject.applyTx(ISchemaAdapter target,
SchemaApplyContext context,
ITransactionProvider tp,
IVersionHistoryService vhs) |
|
void |
DatabaseObject.applyTx(ISchemaAdapter target,
SchemaApplyContext context,
ITransactionProvider tp,
IVersionHistoryService vhs) |
|
void |
IDatabaseObject.applyTx(ISchemaAdapter target,
SchemaApplyContext context,
ITransactionProvider cp,
IVersionHistoryService vhs) |
Apply the DDL, but within its own transaction
|
void |
NopObject.applyTx(ISchemaAdapter target,
SchemaApplyContext context,
ITransactionProvider tp,
IVersionHistoryService vhs) |
|
void |
BaseObject.applyVersion(ISchemaAdapter target,
SchemaApplyContext context,
IVersionHistoryService vhs) |
|
void |
DatabaseObject.applyVersion(ISchemaAdapter target,
SchemaApplyContext context,
IVersionHistoryService vhs) |
Apply the change, but only if it has a newer version than we already have
recorded in the database
|
void |
IDatabaseObject.applyVersion(ISchemaAdapter target,
SchemaApplyContext context,
IVersionHistoryService vhs) |
Apply the change, but only if it has a newer version than we already have
recorded in the database
|
void |
ObjectGroup.applyVersion(ISchemaAdapter target,
SchemaApplyContext context,
IVersionHistoryService vhs) |
|
void |
PhysicalDataModel.applyWithHistory(ISchemaAdapter target,
SchemaApplyContext context,
IVersionHistoryService vhs) |
Apply all the objects linearly, but using the version history service to determine
what's new and what already exists
|
ITaskGroup |
BaseObject.collect(ITaskCollector tc,
ISchemaAdapter target,
SchemaApplyContext context,
ITransactionProvider tp,
IVersionHistoryService vhs) |
|
ITaskGroup |
IDatabaseObject.collect(ITaskCollector tc,
ISchemaAdapter target,
SchemaApplyContext context,
ITransactionProvider tp,
IVersionHistoryService vhs) |
Collect the tasks into a dependency tree so that they can be
executed concurrently (but in the right order)
|
void |
PhysicalDataModel.collect(ITaskCollector tc,
ISchemaAdapter target,
SchemaApplyContext context,
ITransactionProvider tp,
IVersionHistoryService vhs) |
Collect all the database objects we know of, describing their
interdependencies so that the task collector implementation can
execute them in parallel.
|
ITaskGroup |
Tablespace.collect(ITaskCollector tc,
ISchemaAdapter target,
SchemaApplyContext context,
ITransactionProvider tp,
IVersionHistoryService vhs) |
|
void |
AlterSequenceStartWith.drop(ISchemaAdapter target) |
|
void |
AlterTableAddColumn.drop(ISchemaAdapter target) |
|
void |
AlterTableIdentityCache.drop(ISchemaAdapter target) |
|
void |
CreateIndex.drop(ISchemaAdapter target) |
|
void |
FunctionDef.drop(ISchemaAdapter target) |
|
void |
IDatabaseObject.drop(ISchemaAdapter target) |
DROP this object from the target database
|
void |
IndexDef.drop(java.lang.String schemaName,
ISchemaAdapter target) |
Drop this index
|
void |
NopObject.drop(ISchemaAdapter target) |
|
void |
ObjectGroup.drop(ISchemaAdapter target) |
|
void |
PhysicalDataModel.drop(ISchemaAdapter target) |
Drop the lot
|
void |
PhysicalDataModel.drop(ISchemaAdapter target,
java.lang.String tagGroup,
java.lang.String tag) |
Drop the model from the target database.
|
void |
ProcedureDef.drop(ISchemaAdapter target) |
|
void |
Sequence.drop(ISchemaAdapter target) |
|
void |
Table.drop(ISchemaAdapter target) |
|
void |
Tablespace.drop(ISchemaAdapter target) |
|
void |
View.drop(ISchemaAdapter target) |
|
void |
PhysicalDataModel.dropForeignKeyConstraints(ISchemaAdapter target,
java.lang.String tagGroup,
java.lang.String tag) |
Drop all foreign key constraints on tables in this model.
|
void |
PhysicalDataModel.dropSplitTransaction(ISchemaAdapter target,
ITransactionProvider transactionProvider,
java.lang.String tagGroup,
java.lang.String tag) |
Split the drop in multiple (smaller) transactions, which can be helpful to
reduce memory utilization in some scenarios
|
boolean |
Table.exists(ISchemaAdapter target) |
return true if the table already exists in the target
|
void |
BaseObject.grant(ISchemaAdapter target,
java.lang.String groupName,
java.lang.String toUser) |
|
void |
IDatabaseObject.grant(ISchemaAdapter target,
java.lang.String groupName,
java.lang.String toUser) |
Grant the given privileges to the user
|
void |
ObjectGroup.grant(ISchemaAdapter target,
java.lang.String groupName,
java.lang.String toUser) |
|
void |
Tablespace.grant(ISchemaAdapter target,
java.lang.String groupName,
java.lang.String toUser) |
|
protected void |
AlterSequenceStartWith.grantGroupPrivileges(ISchemaAdapter target,
java.util.Set<Privilege> group,
java.lang.String toUser) |
|
protected void |
AlterTableAddColumn.grantGroupPrivileges(ISchemaAdapter target,
java.util.Set<Privilege> group,
java.lang.String toUser) |
|
protected void |
AlterTableIdentityCache.grantGroupPrivileges(ISchemaAdapter target,
java.util.Set<Privilege> group,
java.lang.String toUser) |
|
protected void |
BaseObject.grantGroupPrivileges(ISchemaAdapter target,
java.util.Set<Privilege> group,
java.lang.String toUser) |
Internal method which can be override by different object types which may need
to call a different grant method on the adapter
|
protected void |
FunctionDef.grantGroupPrivileges(ISchemaAdapter target,
java.util.Set<Privilege> group,
java.lang.String toUser) |
|
protected void |
ProcedureDef.grantGroupPrivileges(ISchemaAdapter target,
java.util.Set<Privilege> group,
java.lang.String toUser) |
|
protected void |
Sequence.grantGroupPrivileges(ISchemaAdapter target,
java.util.Set<Privilege> group,
java.lang.String toUser) |
|
protected void |
Table.grantGroupPrivileges(ISchemaAdapter target,
java.util.Set<Privilege> group,
java.lang.String toUser) |
|
protected void |
View.grantGroupPrivileges(ISchemaAdapter target,
java.util.Set<Privilege> group,
java.lang.String toUser) |
|