Top Inners Fields Constructors Methods
liquibase.serializer.core.yaml

public Class YamlSnapshotSerializer

extends YamlSerializer
implements SnapshotSerializer
Class Inheritance
All Implemented Interfaces
liquibase.serializer.SnapshotSerializer, liquibase.servicelocator.PrioritizedService
Known Direct Subclasses
liquibase.serializer.core.json.JsonSnapshotSerializer
Imports
liquibase.GlobalConfiguration, liquibase.diff.compare.DatabaseObjectCollectionComparator, liquibase.exception.UnexpectedLiquibaseException, liquibase.serializer.LiquibaseSerializable, .SnapshotSerializer, liquibase.snapshot.DatabaseSnapshot, liquibase.statement.DatabaseFunction, .SequenceCurrentValueFunction, .SequenceNextValueFunction, liquibase.structure.DatabaseObject, .DatabaseObjectCollection, liquibase.structure.core.Column, liquibase.util.ISODateFormat, .StringUtil, org.yaml.snakeyaml.DumperOptions, org.yaml.snakeyaml.nodes.Node, .Tag, org.yaml.snakeyaml.representer.Represent, java.io.BufferedWriter, .IOException, .OutputStream, .OutputStreamWriter, java.math.BigInteger, java.util.*

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Field Summary

Modifier and TypeField and Description
private boolean
Inherited from liquibase.serializer.core.yaml.YamlSerializer:
yaml

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected YamlSerializer.LiquibaseRepresenter
public int
protected Object
public void
Inherited from liquibase.serializer.core.yaml.YamlSerializer:
convertToMapcreateDumperOptionscreateYamlgetComparatorgetLiquibaseResolvergetSerializableObjectFieldsgetValidFileExtensionsisJsonremoveClassTypeMarksFromSerializedJsonserialize

Field Detail

alreadySerializingObjectback to summary
private boolean alreadySerializingObject

Constructor Detail

YamlSnapshotSerializerback to summary
public YamlSnapshotSerializer()

Method Detail

getLiquibaseRepresenterback to summary
protected YamlSerializer.LiquibaseRepresenter getLiquibaseRepresenter(DumperOptions options)

Overrides liquibase.serializer.core.yaml.YamlSerializer.getLiquibaseRepresenter.

Annotations
@Override
getPriorityback to summary
public int getPriority()

Implements liquibase.servicelocator.PrioritizedService.getPriority.

Annotations
@Override
toMapback to summary
protected Object toMap(final LiquibaseSerializable object)

Overrides liquibase.serializer.core.yaml.YamlSerializer.toMap.

Annotations
@Override
writeback to summary
public void write(DatabaseSnapshot snapshot, OutputStream out) throws IOException

Implements liquibase.serializer.SnapshotSerializer.write.

Annotations
@Override
liquibase.serializer.core.yaml back to summary

public Class YamlSnapshotSerializer.SnapshotLiquibaseRepresenter

extends LiquibaseRepresenter
Class Inheritance

Nested and Inner Type Summary

Modifier and TypeClass and Description
private class

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected void
Inherited from liquibase.serializer.core.yaml.YamlSerializer.LiquibaseRepresenter:
getProperties

Constructor Detail

SnapshotLiquibaseRepresenterback to summary
public SnapshotLiquibaseRepresenter(DumperOptions options)

Method Detail

initback to summary
protected void init()

Overrides liquibase.serializer.core.yaml.YamlSerializer.LiquibaseRepresenter.init.

Annotations
@Override
liquibase.serializer.core.yaml back to summary

private Class YamlSnapshotSerializer.SnapshotLiquibaseRepresenter.TypeStoringAsStringRepresenter

extends Object
implements Represent
Class Inheritance
  • java.lang.Object
  • liquibase.serializer.core.yaml.YamlSnapshotSerializer.SnapshotLiquibaseRepresenter.TypeStoringAsStringRepresenter
All Implemented Interfaces
org.yaml.snakeyaml.representer.Represent

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public Node
representData(Object
the instance to represent
data
)

Implements org.yaml.snakeyaml.representer.Represent.representData.

Create a Node

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

TypeStoringAsStringRepresenterback to summary
private TypeStoringAsStringRepresenter()

Method Detail

representDataback to summary
public Node representData(Object data)

Implements org.yaml.snakeyaml.representer.Represent.representData.

Doc from org.yaml.snakeyaml.representer.Represent.representData.

Create a Node

Parameters
data:Object

the instance to represent

Returns:Node

Node to dump

Annotations
@Override