Package liquibase.serializer.core.string
Class StringSnapshotSerializerReadable
java.lang.Object
liquibase.serializer.core.string.StringSnapshotSerializerReadable
- All Implemented Interfaces:
SnapshotSerializer,PrioritizedService
-
Field Summary
Fields inherited from interface liquibase.servicelocator.PrioritizedService
COMPARATOR, PRIORITY_DATABASE, PRIORITY_DEFAULT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddDivider(StringBuilder buffer) We need this method with protected access modifier to be able to extend this set from PRO and/or from extensions.intWe need this method with protected access modifier to be able to extend this set from PRO and/or from extensions.String[]protected voidoutputObjects(List objects, Class type, StringBuilder catalogBuffer) serialize(LiquibaseSerializable object, boolean pretty) protected booleanshouldExpandNestedObject(DatabaseObject container) voidwrite(DatabaseSnapshot snapshot, OutputStream out)
-
Constructor Details
-
StringSnapshotSerializerReadable
public StringSnapshotSerializerReadable()
-
-
Method Details
-
getValidFileExtensions
- Specified by:
getValidFileExtensionsin interfaceSnapshotSerializer
-
serialize
- Specified by:
serializein interfaceSnapshotSerializer
-
getSkipDisplayingTypes
We need this method with protected access modifier to be able to extend this set from PRO and/or from extensions. These types should not be displayed as they are either processed separately likeCatalogandSchema, or they are inner entities of the types-containers likeColumn-s toTable-s andView-s -
outputObjects
-
shouldExpandNestedObject
-
getExpandNestedTypes
We need this method with protected access modifier to be able to extend this set from PRO and/or from extensions. These types should not be process like regularDatabaseObject-s as their full structure meters. Usually these types are type-containers likeTableandView. -
addDivider
-
write
- Specified by:
writein interfaceSnapshotSerializer- Throws:
IOException
-
getPriority
public int getPriority()- Specified by:
getPriorityin interfacePrioritizedService
-