com.mongodb.spark.rdd.partitioner
The number of partitions property
The partition key property
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 pagination by count partitioner.
Paginates the collection into a maximum number of partitions.
Configuration Properties
The prefix when using
sparkConf
is:spark.mongodb.input.partitionerOptions
followed by the property name:_id
.64
.Note: This can be a expensive operation as it creates 1 cursor for every partition.
1.0