liquibase.sql.visitor
Class AbstractSqlVisitor

java.lang.Object
  extended by liquibase.sql.visitor.AbstractSqlVisitor
All Implemented Interfaces:
LiquibaseSerializable, SqlVisitor
Direct Known Subclasses:
AppendSqlVisitor, PrependSqlVisitor, RegExpReplaceSqlVisitor, ReplaceSqlVisitor

public abstract class AbstractSqlVisitor
extends Object
implements SqlVisitor


Nested Class Summary
 
Nested classes/interfaces inherited from interface liquibase.serializer.LiquibaseSerializable
LiquibaseSerializable.SerializationType
 
Field Summary
 
Fields inherited from interface liquibase.serializer.LiquibaseSerializable
GENERIC_CHANGELOG_EXTENSION_NAMESPACE, GENERIC_SNAPSHOT_EXTENSION_NAMESPACE, STANDARD_CHANGELOG_NAMESPACE, STANDARD_SNAPSHOT_NAMESPACE
 
Constructor Summary
AbstractSqlVisitor()
           
 
Method Summary
 CheckSum generateCheckSum()
           
 Set<String> getApplicableDbms()
           
 ContextExpression getContexts()
           
 Labels getLabels()
           
 String getSerializableFieldNamespace(String field)
           
 Set<String> getSerializableFields()
           
 LiquibaseSerializable.SerializationType getSerializableFieldType(String field)
           
 Object getSerializableFieldValue(String field)
           
 String getSerializedObjectName()
           
 String getSerializedObjectNamespace()
           
 boolean isApplyToRollback()
           
 void load(ParsedNode parsedNode, ResourceAccessor resourceAccessor)
           
 ParsedNode serialize()
           
 void setApplicableDbms(Set<String> applicableDbms)
           
 void setApplyToRollback(boolean applyToRollback)
           
 void setContexts(ContextExpression contexts)
           
 void setLabels(Labels labels)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface liquibase.sql.visitor.SqlVisitor
getName, modifySql
 

Constructor Detail

AbstractSqlVisitor

public AbstractSqlVisitor()
Method Detail

getApplicableDbms

public Set<String> getApplicableDbms()
Specified by:
getApplicableDbms in interface SqlVisitor

setApplicableDbms

public void setApplicableDbms(Set<String> applicableDbms)
Specified by:
setApplicableDbms in interface SqlVisitor

isApplyToRollback

public boolean isApplyToRollback()
Specified by:
isApplyToRollback in interface SqlVisitor

setApplyToRollback

public void setApplyToRollback(boolean applyToRollback)
Specified by:
setApplyToRollback in interface SqlVisitor

getContexts

public ContextExpression getContexts()
Specified by:
getContexts in interface SqlVisitor

setContexts

public void setContexts(ContextExpression contexts)
Specified by:
setContexts in interface SqlVisitor

getLabels

public Labels getLabels()
Specified by:
getLabels in interface SqlVisitor

setLabels

public void setLabels(Labels labels)
Specified by:
setLabels in interface SqlVisitor

generateCheckSum

public CheckSum generateCheckSum()
Specified by:
generateCheckSum in interface SqlVisitor

getSerializableFields

public Set<String> getSerializableFields()
Specified by:
getSerializableFields in interface LiquibaseSerializable

getSerializableFieldValue

public Object getSerializableFieldValue(String field)
Specified by:
getSerializableFieldValue in interface LiquibaseSerializable

getSerializedObjectName

public String getSerializedObjectName()
Specified by:
getSerializedObjectName in interface LiquibaseSerializable

getSerializableFieldType

public LiquibaseSerializable.SerializationType getSerializableFieldType(String field)
Specified by:
getSerializableFieldType in interface LiquibaseSerializable

getSerializedObjectNamespace

public String getSerializedObjectNamespace()
Specified by:
getSerializedObjectNamespace in interface LiquibaseSerializable

getSerializableFieldNamespace

public String getSerializableFieldNamespace(String field)
Specified by:
getSerializableFieldNamespace in interface LiquibaseSerializable

load

public void load(ParsedNode parsedNode,
                 ResourceAccessor resourceAccessor)
          throws ParsedNodeException
Specified by:
load in interface LiquibaseSerializable
Throws:
ParsedNodeException

serialize

public ParsedNode serialize()
Specified by:
serialize in interface LiquibaseSerializable


Copyright © 2016 Liquibase.org. All rights reserved.