org.apache.solr.common.cloud
public class HashPartitioner extends Object
Modifier and Type | Class and Description |
---|---|
static class |
HashPartitioner.Range |
Constructor and Description |
---|
HashPartitioner() |
Modifier and Type | Method and Description |
---|---|
HashPartitioner.Range |
fromString(String range) |
HashPartitioner.Range |
fullRange() |
List<HashPartitioner.Range> |
partitionRange(int partitions,
HashPartitioner.Range range) |
List<HashPartitioner.Range> |
partitionRange(int partitions,
int min,
int max)
Returns the range for each partition
|
public HashPartitioner.Range fromString(String range)
public HashPartitioner.Range fullRange()
public List<HashPartitioner.Range> partitionRange(int partitions, HashPartitioner.Range range)
public List<HashPartitioner.Range> partitionRange(int partitions, int min, int max)
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.