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 TypeMethodDescriptionvoid
void
createChangeSetInfo
(ChangeSet changeSet, StringBuilder builder) Create the changeSet header information and add it to the StringBuilderint
boolean
getSplitStatementsValue
(ChangeSet changeSet) protected Database
getTargetDatabase
(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:
getValidFileExtensions
in interfaceLiquibaseSerializer
-
serialize
- Specified by:
serialize
in 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:
write
in interfaceChangeLogSerializer
- Throws:
IOException
-
append
- Specified by:
append
in interfaceChangeLogSerializer
- Throws:
IOException
-
getPriority
public int getPriority()- Specified by:
getPriority
in interfacePrioritizedService
-