public class MongoDBShardUtils extends Object
Constructor and Description |
---|
MongoDBShardUtils() |
Modifier and Type | Method and Description |
---|---|
static void |
shard(org.opencb.commons.datastore.mongodb.MongoDataStore mongoDataStore,
CellBaseConfiguration cellBaseConfiguration,
Species species)
Add shards.
|
public static void shard(org.opencb.commons.datastore.mongodb.MongoDataStore mongoDataStore, CellBaseConfiguration cellBaseConfiguration, Species species) throws CellbaseException
mongoDataStore
- Database namecellBaseConfiguration
- config file with database details.species
- the species name and assembly for the database being shardedCellbaseException
- if configuration isn't validCopyright © 2019. All rights reserved.