Package uk.sky.cqlmigrate
Class CqlMigratorFactory
- java.lang.Object
-
- uk.sky.cqlmigrate.CqlMigratorFactory
-
public class CqlMigratorFactory extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description CqlMigratorFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CqlMigratorcreate(CqlMigratorConfig cqlMigratorConfig)Creates an instance of CqlMigrator based on the provided configurationstatic CqlMigratorcreate(LockConfig lockConfig)Creates an instance of CqlMigrator based on the provided configuration
-
-
-
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
-
-