Uses of Class
org.pgcodekeeper.core.script.SQLScript
Packages that use SQLScript
Package
Description
-
Uses of SQLScript in org.pgcodekeeper.core.database.api.schema
Methods in org.pgcodekeeper.core.database.api.schema with parameters of type SQLScriptModifier and TypeMethodDescriptiondefault ObjectStateIDatabase.appendAlterSQL(IStatement newCondition, SQLScript script) IStatement.appendAlterSQL(IStatement newCondition, SQLScript script) Fill script with object changes and return change typevoidITable.appendMoveDataSql(IStatement newCondition, SQLScript script, String tblTmpBareName, List<String> identityCols) Adds commands to the script for move data from the temporary table to the new table, given the identity columns, and a command to delete the temporary table.default voidISimpleOptionContainer.appendOptions(IOptionContainer newContainer, StringBuilder setOptions, StringBuilder resetOptions, SQLScript script) Appends SQL options to set and reset option builders for ALTER statements.voidIStatement.appendOwnerSQL(SQLScript script) Appends ALTER OWNER SQL statement to the script for this database object.static voidIPrivilege.appendPrivileges(Collection<IPrivilege> privileges, SQLScript script) Appends multiple privileges to a SQL script.voidIOptionContainer.compareOptions(IOptionContainer newContainer, SQLScript script) Compares options between this container and a new container, generating SQL to update differences.default voidISimpleOptionContainer.compareOptions(IOptionContainer newContainer, SQLScript script) default voidIDatabase.getCreationSQL(SQLScript script) voidIStatement.getCreationSQL(SQLScript script) Generates the SQL statements needed to create this database object.default voidIDatabase.getDropSQL(SQLScript script, boolean optionExists) voidIStatement.getDropSQL(SQLScript script, boolean generateExists) Generates DROP SQL for this statement. -
Uses of SQLScript in org.pgcodekeeper.core.database.base.schema
Methods in org.pgcodekeeper.core.database.base.schema with parameters of type SQLScriptModifier and TypeMethodDescriptionvoidAbstractStatement.appendAlterComments(AbstractStatement newObj, SQLScript script) Appends ALTER comment SQL if the comment has changed.voidAbstractStatement.appendComments(SQLScript script) Appends comment SQL to the script if this statement has comments.voidAbstractStatement.appendPrivileges(SQLScript script) final voidAbstractStatement.getDropSQL(SQLScript script) Generates DROP SQL for this statement using settings from the script.voidAbstractStatement.getDropSQL(SQLScript script, boolean generateExists) AbstractStatement.getObjectState(boolean isNeedDepcies, SQLScript script, int startSize) Determines the object state based on changes made to the script.AbstractStatement.getObjectState(SQLScript script, int startSize) Determines the object state based on changes made to the script. -
Uses of SQLScript in org.pgcodekeeper.core.database.base.schema.meta
Methods in org.pgcodekeeper.core.database.base.schema.meta with parameters of type SQLScriptModifier and TypeMethodDescriptionMetaStatement.appendAlterSQL(IStatement newCondition, SQLScript script) voidMetaStatement.appendOwnerSQL(SQLScript script) voidMetaStatement.getCreationSQL(SQLScript script) voidMetaStatement.getDropSQL(SQLScript script, boolean generateExists) -
Uses of SQLScript in org.pgcodekeeper.core.database.ch.schema
Methods in org.pgcodekeeper.core.database.ch.schema with parameters of type SQLScriptModifier and TypeMethodDescriptionChColumn.appendAlterSQL(IStatement newCondition, SQLScript script) ChConstraint.appendAlterSQL(IStatement newCondition, SQLScript script) ChDictionary.appendAlterSQL(IStatement newCondition, SQLScript script) ChFunction.appendAlterSQL(IStatement newCondition, SQLScript script) ChIndex.appendAlterSQL(IStatement newCondition, SQLScript script) ChPolicy.appendAlterSQL(IStatement newCondition, SQLScript script) ChRole.appendAlterSQL(IStatement newCondition, SQLScript script) ChSchema.appendAlterSQL(IStatement newCondition, SQLScript script) ChTable.appendAlterSQL(IStatement newCondition, SQLScript script) ChUser.appendAlterSQL(IStatement newCondition, SQLScript script) ChView.appendAlterSQL(IStatement newCondition, SQLScript script) voidChAbstractStatement.appendComments(SQLScript script) voidChTable.appendMoveDataSql(IStatement newCondition, SQLScript script, String tblTmpBareName, List<String> identityCols) voidChAbstractStatement.appendOwnerSQL(SQLScript script) voidChTable.compareOptions(IOptionContainer newContainer, SQLScript script) voidChColumn.getCreationSQL(SQLScript script) voidChConstraint.getCreationSQL(SQLScript script) voidChDictionary.getCreationSQL(SQLScript script) voidChFunction.getCreationSQL(SQLScript script) voidChIndex.getCreationSQL(SQLScript script) voidChPolicy.getCreationSQL(SQLScript script) voidChRole.getCreationSQL(SQLScript script) voidChSchema.getCreationSQL(SQLScript script) voidChTable.getCreationSQL(SQLScript script) voidChUser.getCreationSQL(SQLScript script) voidChView.getCreationSQL(SQLScript script) voidChColumn.getDropSQL(SQLScript script, boolean optionExists) voidChConstraint.getDropSQL(SQLScript script, boolean optionExists) voidChIndex.getDropSQL(SQLScript script, boolean optionExists) voidChSchema.getDropSQL(SQLScript script, boolean generateExists) -
Uses of SQLScript in org.pgcodekeeper.core.database.ms.schema
Methods in org.pgcodekeeper.core.database.ms.schema with parameters of type SQLScriptModifier and TypeMethodDescriptionMsAbstractCommonFunction.appendAlterSQL(IStatement newCondition, SQLScript script) MsAssembly.appendAlterSQL(IStatement newCondition, SQLScript script) MsColumn.appendAlterSQL(IStatement newCondition, SQLScript script) MsConstraint.appendAlterSQL(IStatement newCondition, SQLScript script) MsIndex.appendAlterSQL(IStatement newCondition, SQLScript script) MsRole.appendAlterSQL(IStatement newCondition, SQLScript script) MsSchema.appendAlterSQL(IStatement newCondition, SQLScript script) MsSequence.appendAlterSQL(IStatement newCondition, SQLScript script) MsStatistics.appendAlterSQL(IStatement newCondition, SQLScript script) MsTable.appendAlterSQL(IStatement newCondition, SQLScript script) MsTrigger.appendAlterSQL(IStatement newCondition, SQLScript script) MsType.appendAlterSQL(IStatement newCondition, SQLScript script) MsUser.appendAlterSQL(IStatement newCondition, SQLScript script) MsView.appendAlterSQL(IStatement newCondition, SQLScript script) voidMsTable.appendMoveDataSql(IStatement newCondition, SQLScript script, String tblTmpBareName, List<String> identityCols) voidMsAbstractStatement.appendOwnerSQL(SQLScript script) voidMsConstraintPk.compareOptions(IOptionContainer newContainer, SQLScript script) voidMsTable.compareTableOptions(MsTable newTable, SQLScript script) Compares table options between this table and the new table, generating appropriate SQL scripts for change tracking and system versioning differences.voidMsAbstractCommonFunction.getCreationSQL(SQLScript script) voidMsAssembly.getCreationSQL(SQLScript script) voidMsColumn.getCreationSQL(SQLScript script) voidMsConstraint.getCreationSQL(SQLScript script) voidMsIndex.getCreationSQL(SQLScript script) voidMsRole.getCreationSQL(SQLScript script) voidMsSchema.getCreationSQL(SQLScript script) voidMsSequence.getCreationSQL(SQLScript script) voidMsStatistics.getCreationSQL(SQLScript script) voidMsTable.getCreationSQL(SQLScript script) voidMsTrigger.getCreationSQL(SQLScript script) voidMsType.getCreationSQL(SQLScript script) voidMsUser.getCreationSQL(SQLScript script) voidMsView.getCreationSQL(SQLScript script) voidMsAssembly.getDropSQL(SQLScript script, boolean optionExists) voidMsColumn.getDropSQL(SQLScript script, boolean optionExists) voidMsConstraint.getDropSQL(SQLScript script, boolean optionExists) voidMsRole.getDropSQL(SQLScript script, boolean optionExists) voidMsTable.getDropSQL(SQLScript script, boolean generateExists) -
Uses of SQLScript in org.pgcodekeeper.core.database.pg.schema
Methods in org.pgcodekeeper.core.database.pg.schema with parameters of type SQLScriptModifier and TypeMethodDescriptionvoidPgAbstractView.appendAlterComments(AbstractStatement newObj, SQLScript script) voidPgCompositeType.appendAlterComments(AbstractStatement newObj, SQLScript script) PgAbstractFunction.appendAlterSQL(IStatement newCondition, SQLScript script) PgAbstractTable.appendAlterSQL(IStatement newCondition, SQLScript script) PgAbstractType.appendAlterSQL(IStatement newCondition, SQLScript script) PgAbstractView.appendAlterSQL(IStatement newCondition, SQLScript script) PgCast.appendAlterSQL(IStatement newCondition, SQLScript script) PgCollation.appendAlterSQL(IStatement newCondition, SQLScript script) PgColumn.appendAlterSQL(IStatement newCondition, SQLScript script) PgConstraint.appendAlterSQL(IStatement newCondition, SQLScript script) PgDomain.appendAlterSQL(IStatement newCondition, SQLScript script) PgEventTrigger.appendAlterSQL(IStatement newCondition, SQLScript script) PgExtension.appendAlterSQL(IStatement newCondition, SQLScript script) PgForeignDataWrapper.appendAlterSQL(IStatement newCondition, SQLScript script) PgFtsConfiguration.appendAlterSQL(IStatement newCondition, SQLScript script) PgFtsDictionary.appendAlterSQL(IStatement newCondition, SQLScript script) PgFtsParser.appendAlterSQL(IStatement newCondition, SQLScript script) PgFtsTemplate.appendAlterSQL(IStatement newCondition, SQLScript script) PgIndex.appendAlterSQL(IStatement newCondition, SQLScript script) PgOperator.appendAlterSQL(IStatement newCondition, SQLScript script) PgPolicy.appendAlterSQL(IStatement newCondition, SQLScript script) PgRule.appendAlterSQL(IStatement newCondition, SQLScript script) PgSchema.appendAlterSQL(IStatement newCondition, SQLScript script) PgSequence.appendAlterSQL(IStatement newCondition, SQLScript script) PgServer.appendAlterSQL(IStatement newCondition, SQLScript script) PgStatistics.appendAlterSQL(IStatement newCondition, SQLScript script) PgTrigger.appendAlterSQL(IStatement newCondition, SQLScript script) PgUserMapping.appendAlterSQL(IStatement newCondition, SQLScript script) voidPgAbstractTable.appendComments(SQLScript script) voidPgAbstractView.appendComments(SQLScript script) voidPgCompositeType.appendComments(SQLScript script) voidPgDomain.appendComments(SQLScript script) static voidPgPrivilege.appendDefaultPostgresPrivileges(IStatement newObj, SQLScript script) Appends default PostgreSQL privileges for a database object.voidPgAbstractStatement.appendDefaultPrivileges(IStatement statement, SQLScript script) voidGpExternalTable.appendMoveDataSql(IStatement newCondition, SQLScript script, String tblTmpBareName, List<String> identityCols) voidPgAbstractForeignTable.appendMoveDataSql(IStatement newCondition, SQLScript script, String tblTmpBareName, List<String> identityCols) voidPgAbstractTable.appendMoveDataSql(IStatement newCondition, SQLScript script, String tblTmpBareName, List<String> identityCols) voidPgPartitionTable.appendMoveDataSql(IStatement newCondition, SQLScript script, String tblTmpBareName, List<String> identityCols) voidPgConstraint.appendOptions(SQLScript script, StringBuilder sbSQL, boolean needNotValid) voidPgFtsDictionary.appendOptions(IOptionContainer newContainer, StringBuilder setOptions, StringBuilder resetOptions, SQLScript script) voidPgAbstractStatement.appendOwnerSQL(SQLScript script) voidGpExternalTable.compareOptions(IOptionContainer newContainer, SQLScript script) default voidPgForeignOptionContainer.compareOptions(IOptionContainer newContainer, SQLScript script) voidPgAbstractFunction.getCreationSQL(SQLScript script) voidPgAbstractTable.getCreationSQL(SQLScript script) voidPgAbstractType.getCreationSQL(SQLScript script) voidPgAbstractView.getCreationSQL(SQLScript script) voidPgCast.getCreationSQL(SQLScript script) voidPgCollation.getCreationSQL(SQLScript script) voidPgColumn.getCreationSQL(SQLScript script) voidPgConstraint.getCreationSQL(SQLScript script) voidPgDomain.getCreationSQL(SQLScript script) voidPgEventTrigger.getCreationSQL(SQLScript script) voidPgExtension.getCreationSQL(SQLScript script) voidPgForeignDataWrapper.getCreationSQL(SQLScript script) voidPgFtsConfiguration.getCreationSQL(SQLScript script) voidPgFtsDictionary.getCreationSQL(SQLScript script) voidPgFtsParser.getCreationSQL(SQLScript script) voidPgFtsTemplate.getCreationSQL(SQLScript script) voidPgIndex.getCreationSQL(SQLScript script) voidPgOperator.getCreationSQL(SQLScript script) voidPgPolicy.getCreationSQL(SQLScript script) voidPgRule.getCreationSQL(SQLScript script) voidPgSchema.getCreationSQL(SQLScript script) voidPgSequence.getCreationSQL(SQLScript script) voidPgServer.getCreationSQL(SQLScript script) voidPgStatistics.getCreationSQL(SQLScript script) voidPgTrigger.getCreationSQL(SQLScript script) voidPgUserMapping.getCreationSQL(SQLScript script) voidPgColumn.getDropSQL(SQLScript script, boolean optionExists) voidPgConstraint.getDropSQL(SQLScript script, boolean optionExists) voidPgUserMapping.getDropSQL(SQLScript script, boolean generateExists) voidPgSequence.getOwnedBySQL(SQLScript script) Creates SQL statement for modification "OWNED BY" parameter.voidPgSequence.getOwnedBySQL(SQLScript script, SQLActionType type) -
Uses of SQLScript in org.pgcodekeeper.core.model.graph
Methods in org.pgcodekeeper.core.model.graph with parameters of type SQLScriptModifier and TypeMethodDescriptionstatic voidActionsToScriptConverter.fillScript(SQLScript script, Set<ActionContainer> actions, Set<IStatement> toRefresh, IDatabase oldDbFull, IDatabase newDbFull, List<TreeElement> selected) Fills the SQL script with statements based on resolved database actions.Constructors in org.pgcodekeeper.core.model.graph with parameters of type SQLScriptModifierConstructorDescriptionActionsToScriptConverter(SQLScript script, Set<ActionContainer> actions, Set<IStatement> toRefresh, IDatabase oldDbFull, IDatabase newDbFull) Creates a new ActionsToScriptConverter with the specified parameters. -
Uses of SQLScript in org.pgcodekeeper.core.script
Methods in org.pgcodekeeper.core.script with parameters of type SQLScriptModifier and TypeMethodDescriptionvoidSQLScript.addAllStatements(SQLScript script) Merges all statements from another SQL script into this one.