public interface PartitioningStrategy extends Serializable
When partitioning an index, there are a few pieces of data that must be provided independently of the particular strategy chosen. This interface embodies methods to access them.
Each local index is defined by an integer starting from 0 up to
numberOfLocalIndices() − 1. Each local index is also associated with a
properties() that is usually merged with the property file
of the local index.
|Modifier and Type||Method and Description|
Returns the number of local indices created by this strategy.
Returns an array of properties, one for each local index, that specify additional information about local indices.
null(in that case, the set of properties is assumed to be empty).