Class FormattedSqlChangeLogSerializer
java.lang.Object
liquibase.serializer.core.formattedsql.FormattedSqlChangeLogSerializer
- All Implemented Interfaces:
ChangeLogSerializer,LiquibaseSerializer,PrioritizedService
-
Field Summary
Fields inherited from interface liquibase.servicelocator.PrioritizedService
COMPARATOR, PRIORITY_DATABASE, PRIORITY_DEFAULT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidcreateChangeSetInfo(ChangeSet changeSet, StringBuilder builder) Create the changeSet header information and add it to the StringBuilderintbooleangetSplitStatementsValue(ChangeSet changeSet) protected DatabasegetTargetDatabase(ChangeSet changeSet) String[]serialize(LiquibaseSerializable object, boolean pretty) <T extends ChangeLogChild>
voidwrite(List<T> children, OutputStream out)
-
Constructor Details
-
FormattedSqlChangeLogSerializer
public FormattedSqlChangeLogSerializer()
-
-
Method Details
-
getValidFileExtensions
- Specified by:
getValidFileExtensionsin interfaceLiquibaseSerializer
-
serialize
- Specified by:
serializein interfaceLiquibaseSerializer
-
createChangeSetInfo
Create the changeSet header information and add it to the StringBuilder- Parameters:
changeSet- The ChangeSet we are emittingbuilder- The current StringBuilder we will add to
-
getSplitStatementsValue
-
getTargetDatabase
-
write
- Specified by:
writein interfaceChangeLogSerializer- Throws:
IOException
-
append
- Specified by:
appendin interfaceChangeLogSerializer- Throws:
IOException
-
getPriority
public int getPriority()- Specified by:
getPriorityin interfacePrioritizedService
-