com.mongodb.spark.rdd.partitioner
Calculate the Partitions
Calculate the Partitions
the MongoConnector
the pipeline to apply if any. Note this pipeline may have been appended to during optimization.
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}