com.mongodb.spark.rdd.partitioner
The Sharded Partitioner
Partitions collections by shard and chunk.
The prefix when using sparkConf is: spark.mongodb.input.partitionerOptions followed by the property name:
sparkConf
spark.mongodb.input.partitionerOptions
_id
1.0
Calculate the Partitions
the MongoConnector
the com.mongodb.spark.config.ReadConfig
the partitions
The shardKey property
The Sharded Partitioner
Partitions collections by shard and chunk.
Configuration Properties
The prefix when using
sparkConf
is:spark.mongodb.input.partitionerOptions
followed by the property name:_id
.1.0