public abstract class DatabasePartitioner extends Object implements Partitioner<String>
By default a md5 hash of the hash key (key or table name) is used to pick a partition.
| Modifier and Type | Field and Description |
|---|---|
protected List<Database> |
partitions |
| Constructor and Description |
|---|
DatabasePartitioner(List<Database> partitions) |
| Modifier and Type | Method and Description |
|---|---|
protected int |
hash(String key) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPartitionCopyright © 2015. All rights reserved.