com.mongodb.spark.rdd.partitioner
The SplitVector Partitioner.
Uses the SplitVector command on the primary node to generate partitions for a collection. Requires ClusterManager privilege.
SplitVector
ClusterManager
The prefix when using sparkConf is: spark.mongodb.input.partitionerOptions followed by the property name:
sparkConf
spark.mongodb.input.partitionerOptions
_id
64
1.0
The partition key property
The partition size MB property
Calculate the Partitions
the MongoConnector
the com.mongodb.spark.config.ReadConfig
the partitions
The SplitVector Partitioner.
Uses the
SplitVector
command on the primary node to generate partitions for a collection. RequiresClusterManager
privilege.Configuration Properties
The prefix when using
sparkConf
is:spark.mongodb.input.partitionerOptions
followed by the property name:_id
.64
.1.0