An identifier for a partition in a MongoRDD.
The MongoPartitioner provides the partitions of a collection
The MongoPartitioner provides the partitions of a collection
1.0
The default collection partitioner implementation
The default collection partitioner implementation
Checks if the collection is sharded then:
splitVector
command.
1.0
The MongoPartition companion object
The MongoPartition companion object
1.0
The Sharded Partitioner
The Sharded Partitioner
Partitions collections by shard and chunk.
1.0
The Single Partitioner.
The Single Partitioner.
Creates a single partition for the whole collection.
*Note:* Using this partitioner loses any parallelism and therefore is not generally recommended.
1.0
The SplitVector Partitioner.
The SplitVector Partitioner.
Uses the SplitVector
command on the primary node to generate partitions for a collection.
1.0
An identifier for a partition in a MongoRDD.
The partition's index within its parent RDD
The query bounds for the data within this partition
The preferred locations (hostnames) for the data
1.0