Class UniqueConstraintSnapshotGeneratorYdb

java.lang.Object
liquibase.snapshot.jvm.JdbcSnapshotGenerator
liquibase.snapshot.jvm.UniqueConstraintSnapshotGenerator
tech.ydb.liquibase.snapshot.UniqueConstraintSnapshotGeneratorYdb
All Implemented Interfaces:
liquibase.snapshot.SnapshotGenerator

public class UniqueConstraintSnapshotGeneratorYdb extends liquibase.snapshot.jvm.UniqueConstraintSnapshotGenerator
Author:
Kirill Kurdyukov
  • Field Summary

    Fields inherited from interface liquibase.snapshot.SnapshotGenerator

    PRIORITY_ADDITIONAL, PRIORITY_DATABASE, PRIORITY_DEFAULT, PRIORITY_NONE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    getPriority(Class<? extends liquibase.structure.DatabaseObject> objectType, liquibase.database.Database database)
     
    protected List<liquibase.snapshot.CachedRow>
    listConstraints(liquibase.structure.core.Table table, liquibase.snapshot.DatabaseSnapshot snapshot, liquibase.structure.core.Schema schema)
     
    Class<? extends liquibase.snapshot.SnapshotGenerator>[]
     

    Methods inherited from class liquibase.snapshot.jvm.UniqueConstraintSnapshotGenerator

    addTo, getCacheKey, getCacheKey, includeTableNameInCacheKey, listColumns, snapshotObject, supportsBulkQuery

    Methods inherited from class liquibase.snapshot.jvm.JdbcSnapshotGenerator

    addStatusListener, addsTo, cleanNameFromDatabase, getDatabaseCatalogNames, shouldAddTo, snapshot, updateListeners

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • UniqueConstraintSnapshotGeneratorYdb

      public UniqueConstraintSnapshotGeneratorYdb()
  • Method Details

    • getPriority

      public int getPriority(Class<? extends liquibase.structure.DatabaseObject> objectType, liquibase.database.Database database)
      Specified by:
      getPriority in interface liquibase.snapshot.SnapshotGenerator
      Overrides:
      getPriority in class liquibase.snapshot.jvm.UniqueConstraintSnapshotGenerator
    • replaces

      public Class<? extends liquibase.snapshot.SnapshotGenerator>[] replaces()
      Specified by:
      replaces in interface liquibase.snapshot.SnapshotGenerator
      Overrides:
      replaces in class liquibase.snapshot.jvm.JdbcSnapshotGenerator
    • listConstraints

      protected List<liquibase.snapshot.CachedRow> listConstraints(liquibase.structure.core.Table table, liquibase.snapshot.DatabaseSnapshot snapshot, liquibase.structure.core.Schema schema)
      Overrides:
      listConstraints in class liquibase.snapshot.jvm.UniqueConstraintSnapshotGenerator