Top Constructors Methods
liquibase.snapshot.jvm

public Class SequenceSnapshotGeneratorSnowflake

extends SequenceSnapshotGenerator
Class Inheritance
Imports
liquibase.database.Database, liquibase.database.core.SnowflakeDatabase, liquibase.snapshot.SnapshotGenerator, liquibase.statement.SqlStatement, liquibase.statement.core.RawSqlStatement, liquibase.structure.DatabaseObject, liquibase.structure.core.Column, .Schema

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public int
getPriority(Class<? extends DatabaseObject>
The object type we are asked to snapshot
objectType
,
Database
The DBMS for which the snapshotting should be done
database
)

Overrides liquibase.snapshot.jvm.JdbcSnapshotGenerator.getPriority.

Implements liquibase.snapshot.SnapshotGenerator.getPriority.

Inquire if this SnapshotGenerator is capable of snapshotting objects of type objectType (e.g. Table, Index, View etc.) in the DBMS database (e.g. Oracle, Postgres, HyperSQL etc.) A return priority of > 0 will be interpreted as capable.

protected SqlStatement
public Class<? extends SnapshotGenerator>[]
replaces()

Overrides liquibase.snapshot.jvm.JdbcSnapshotGenerator.replaces.

Implements liquibase.snapshot.SnapshotGenerator.replaces.

Returns classes (and superclasses) that this SnapshotGenerator replaces.

Inherited from liquibase.snapshot.jvm.SequenceSnapshotGenerator:
addTosnapshotObjecttoBigIntegertoBoolean

Constructor Detail

SequenceSnapshotGeneratorSnowflakeback to summary
public SequenceSnapshotGeneratorSnowflake()

Method Detail

getPriorityback to summary
public int getPriority(Class<? extends DatabaseObject> objectType, Database database)

Overrides liquibase.snapshot.jvm.JdbcSnapshotGenerator.getPriority.

Implements liquibase.snapshot.SnapshotGenerator.getPriority.

Doc from liquibase.snapshot.SnapshotGenerator.getPriority.

Inquire if this SnapshotGenerator is capable of snapshotting objects of type objectType (e.g. Table, Index, View etc.) in the DBMS database (e.g. Oracle, Postgres, HyperSQL etc.) A return priority of > 0 will be interpreted as capable. The highest priority for an objectType-database combination wins.

Parameters
objectType:Class<? extends DatabaseObject>

The object type we are asked to snapshot

database:Database

The DBMS for which the snapshotting should be done

Returns:int

An integer of PRIORITY_... constants indicating our capability and willingness to snapshot

Annotations
@Override
getSelectSequenceStatementback to summary
protected SqlStatement getSelectSequenceStatement(Schema schema, Database database)

Overrides liquibase.snapshot.jvm.SequenceSnapshotGenerator.getSelectSequenceStatement.

Annotations
@Override
replacesback to summary
public Class<? extends SnapshotGenerator>[] replaces()

Overrides liquibase.snapshot.jvm.JdbcSnapshotGenerator.replaces.

Implements liquibase.snapshot.SnapshotGenerator.replaces.

Doc from liquibase.snapshot.SnapshotGenerator.replaces.

Returns classes (and superclasses) that this SnapshotGenerator replaces. Return null or empty array to not affect the SnapshotGeneratorChain.

Annotations
@Override