com.mongodb.spark.rdd.partitioner
Calculate the Partitions
Calculate the Partitions
the MongoConnector
the partitions
The shardKey property
The shardKey property
The shardKey value can be the name of a single key eg: _id
or for compound keys the extended json form eg: {a: 1, b: 1}