Class M003_CreateMetadataCollection
- java.lang.Object
-
- cn.boboweike.carrot.storage.nosql.mongo.migrations.MongoMigration
-
- cn.boboweike.carrot.storage.nosql.mongo.migrations.M003_CreateMetadataCollection
-
- All Implemented Interfaces:
NoSqlMigration
public class M003_CreateMetadataCollection extends MongoMigration
-
-
Constructor Summary
Constructors Constructor Description M003_CreateMetadataCollection()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidrunMigration(com.mongodb.client.MongoDatabase carrotDatabase, String collectionPrefix, Integer partition)-
Methods inherited from class cn.boboweike.carrot.storage.nosql.mongo.migrations.MongoMigration
collectionExists, createCollection, getClassName, supportPartition
-
-
-
-
Method Detail
-
runMigration
public void runMigration(com.mongodb.client.MongoDatabase carrotDatabase, String collectionPrefix, Integer partition)- Specified by:
runMigrationin classMongoMigration
-
-