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