Class PartitionedBucketSelectionStrategy

  • All Implemented Interfaces:
    BucketSelectionStrategy

    public class PartitionedBucketSelectionStrategy
    extends RoundRobinBucketSelectionStrategy
    Select the bucket using a partition algorithm computed as the hashed value of the properties values. This allows to predetermine in which bucket is contained a key(s) and therefore a document. There are some limitations on using this implementation: (1) field identified as partition key cannot be modified. (This could be solved in the future by removing and recreating the document in a different bucket. If the record is part of a graph, then the edges will be updated accordingly.)
    Author:
    Luca Garulli