Uses of Class
org.pgcodekeeper.core.script.SQLScript
Packages that use SQLScript
Package
Description
-
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<PgStatement> toRefresh, AbstractDatabase oldDbFull, AbstractDatabase 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<PgStatement> toRefresh, AbstractDatabase oldDbFull, AbstractDatabase newDbFull) Creates a new ActionsToScriptConverter with the specified parameters. -
Uses of SQLScript in org.pgcodekeeper.core.schema
Methods in org.pgcodekeeper.core.schema with parameters of type SQLScriptModifier and TypeMethodDescriptionvoidPgStatement.appendAlterComments(PgStatement newObj, SQLScript script) Appends ALTER comment SQL if the comment has changed.AbstractDatabase.appendAlterSQL(PgStatement newCondition, SQLScript script) AbstractFunction.appendAlterSQL(PgStatement newCondition, SQLScript script) AbstractType.appendAlterSQL(PgStatement newCondition, SQLScript script) abstract ObjectStatePgStatement.appendAlterSQL(PgStatement newCondition, SQLScript script) Fill script with object changes and return change typevoidPgStatement.appendComments(SQLScript script) Appends comment SQL to the script if this statement has comments.static voidPgPrivilege.appendDefaultPostgresPrivileges(PgStatement newObj, SQLScript script) Appends default PostgreSQL privileges for a database object.voidAbstractTable.appendMoveDataSql(PgStatement 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.voidPgStatement.appendOwnerSQL(SQLScript script) Appends ALTER OWNER SQL statement to the script for this database object.static voidPgPrivilege.appendPrivileges(Collection<PgPrivilege> 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) voidAbstractDatabase.getCreationSQL(SQLScript script) voidAbstractFunction.getCreationSQL(SQLScript script) voidAbstractType.getCreationSQL(SQLScript script) abstract voidPgStatement.getCreationSQL(SQLScript script) Generates the SQL statements needed to create this database object.voidAbstractDatabase.getDropSQL(SQLScript script, boolean optionExists) final voidPgStatement.getDropSQL(SQLScript script) Generates DROP SQL for this statement using settings from the script.voidPgStatement.getDropSQL(SQLScript script, boolean generateExists) Generates DROP SQL for this statement.PgStatement.getObjectState(boolean isNeedDepcies, SQLScript script, int startSize) Determines the object state based on changes made to the script.PgStatement.getObjectState(SQLScript script, int startSize) Determines the object state based on changes made to the script. -
Uses of SQLScript in org.pgcodekeeper.core.schema.ch
Methods in org.pgcodekeeper.core.schema.ch with parameters of type SQLScriptModifier and TypeMethodDescriptionChColumn.appendAlterSQL(PgStatement newCondition, SQLScript script) ChConstraint.appendAlterSQL(PgStatement newCondition, SQLScript script) ChDictionary.appendAlterSQL(PgStatement newCondition, SQLScript script) ChFunction.appendAlterSQL(PgStatement newCondition, SQLScript script) ChIndex.appendAlterSQL(PgStatement newCondition, SQLScript script) ChPolicy.appendAlterSQL(PgStatement newCondition, SQLScript script) ChRole.appendAlterSQL(PgStatement newCondition, SQLScript script) ChSchema.appendAlterSQL(PgStatement newCondition, SQLScript script) ChTable.appendAlterSQL(PgStatement newCondition, SQLScript script) ChTableLog.appendAlterSQL(PgStatement newCondition, SQLScript script) ChUser.appendAlterSQL(PgStatement newCondition, SQLScript script) ChView.appendAlterSQL(PgStatement newCondition, SQLScript script) voidChColumn.appendComments(SQLScript script) voidChDictionary.appendComments(SQLScript script) voidChSchema.appendComments(SQLScript script) voidChTable.appendComments(SQLScript script) voidChView.appendComments(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.schema.ms
Methods in org.pgcodekeeper.core.schema.ms with parameters of type SQLScriptModifier and TypeMethodDescriptionMsAssembly.appendAlterSQL(PgStatement newCondition, SQLScript script) MsColumn.appendAlterSQL(PgStatement newCondition, SQLScript script) MsConstraint.appendAlterSQL(PgStatement newCondition, SQLScript script) MsIndex.appendAlterSQL(PgStatement newCondition, SQLScript script) MsRole.appendAlterSQL(PgStatement newCondition, SQLScript script) MsSchema.appendAlterSQL(PgStatement newCondition, SQLScript script) MsSequence.appendAlterSQL(PgStatement newCondition, SQLScript script) MsStatistics.appendAlterSQL(PgStatement newCondition, SQLScript script) MsTable.appendAlterSQL(PgStatement newCondition, SQLScript script) MsTrigger.appendAlterSQL(PgStatement newCondition, SQLScript script) MsUser.appendAlterSQL(PgStatement newCondition, SQLScript script) MsView.appendAlterSQL(PgStatement newCondition, 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.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) 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.schema.pg
Methods in org.pgcodekeeper.core.schema.pg with parameters of type SQLScriptModifier and TypeMethodDescriptionvoidAbstractPgView.appendAlterComments(PgStatement newObj, SQLScript script) voidPgCompositeType.appendAlterComments(PgStatement newObj, SQLScript script) AbstractPgTable.appendAlterSQL(PgStatement newCondition, SQLScript script) AbstractPgView.appendAlterSQL(PgStatement newCondition, SQLScript script) PgCast.appendAlterSQL(PgStatement newCondition, SQLScript script) PgCollation.appendAlterSQL(PgStatement newCondition, SQLScript script) PgColumn.appendAlterSQL(PgStatement newCondition, SQLScript script) PgConstraint.appendAlterSQL(PgStatement newCondition, SQLScript script) PgDomain.appendAlterSQL(PgStatement newCondition, SQLScript script) PgEventTrigger.appendAlterSQL(PgStatement newCondition, SQLScript script) PgExtension.appendAlterSQL(PgStatement newCondition, SQLScript script) PgForeignDataWrapper.appendAlterSQL(PgStatement newCondition, SQLScript script) PgFtsConfiguration.appendAlterSQL(PgStatement newCondition, SQLScript script) PgFtsDictionary.appendAlterSQL(PgStatement newCondition, SQLScript script) PgFtsParser.appendAlterSQL(PgStatement newCondition, SQLScript script) PgFtsTemplate.appendAlterSQL(PgStatement newCondition, SQLScript script) PgIndex.appendAlterSQL(PgStatement newCondition, SQLScript script) PgOperator.appendAlterSQL(PgStatement newCondition, SQLScript script) PgPolicy.appendAlterSQL(PgStatement newCondition, SQLScript script) PgRule.appendAlterSQL(PgStatement newCondition, SQLScript script) PgSchema.appendAlterSQL(PgStatement newCondition, SQLScript script) PgSequence.appendAlterSQL(PgStatement newCondition, SQLScript script) PgServer.appendAlterSQL(PgStatement newCondition, SQLScript script) PgStatistics.appendAlterSQL(PgStatement newCondition, SQLScript script) PgTrigger.appendAlterSQL(PgStatement newCondition, SQLScript script) PgUserMapping.appendAlterSQL(PgStatement newCondition, SQLScript script) voidAbstractPgTable.appendComments(SQLScript script) voidAbstractPgView.appendComments(SQLScript script) voidPgCompositeType.appendComments(SQLScript script) voidPgDomain.appendComments(SQLScript script) voidAbstractForeignTable.appendMoveDataSql(PgStatement newCondition, SQLScript script, String tblTmpBareName, List<String> identityCols) voidGpExternalTable.appendMoveDataSql(PgStatement newCondition, SQLScript script, String tblTmpBareName, List<String> identityCols) voidPartitionPgTable.appendMoveDataSql(PgStatement newCondition, SQLScript script, String tblTmpBareName, List<String> identityCols) voidPgFtsDictionary.appendOptions(IOptionContainer newContainer, StringBuilder setOptions, StringBuilder resetOptions, SQLScript script) voidGpExternalTable.compareOptions(IOptionContainer newContainer, SQLScript script) default voidPgForeignOptionContainer.compareOptions(IOptionContainer newContainer, SQLScript script) voidAbstractPgTable.getCreationSQL(SQLScript script) voidAbstractPgView.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) -
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.