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
set of properties() that is usually merged with the property file
of the local index.
ClusteringStrategy| Modifier and Type | Method and Description |
|---|---|
int |
numberOfLocalIndices()
Returns the number of local indices created by this strategy.
|
Properties[] |
properties()
Returns an array of properties, one for each local index, that specify additional information about local indices.
|
int numberOfLocalIndices()
Properties[] properties()
null (in that case, the set of properties is assumed to be empty).