Class CqlMigratorFactory


  • public class CqlMigratorFactory
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static CqlMigrator create​(CqlMigratorConfig cqlMigratorConfig)
      Creates an instance of CqlMigrator based on the provided configuration
      static CqlMigrator create​(LockConfig lockConfig)
      Creates an instance of CqlMigrator based on the provided configuration
      • Methods inherited from class java.lang.Object

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

      • CqlMigratorFactory

        public CqlMigratorFactory()
    • Method Detail

      • create

        public static CqlMigrator create​(LockConfig lockConfig)
        Creates an instance of CqlMigrator based on the provided configuration
        Parameters:
        lockConfig - with the desired properties for the lock handling
        Returns:
        an instance of the CqlMigrator
        Since:
        0.9.0
      • create

        public static CqlMigrator create​(CqlMigratorConfig cqlMigratorConfig)
        Creates an instance of CqlMigrator based on the provided configuration
        Parameters:
        cqlMigratorConfig - with the desired properties for the lock handling and consistency levels for reasd/write
        Returns:
        an instance of the CqlMigrator
        Since:
        0.9.4