程序包 | 说明 |
---|---|
org.apache.hadoop.contrib.index.example | |
org.apache.hadoop.contrib.index.mapred |
限定符和类型 | 类和说明 |
---|---|
class |
HashingDistributionPolicy
Choose a shard for each insert or delete based on document id hashing.
|
class |
RoundRobinDistributionPolicy
Choose a shard for each insert in a round-robin fashion.
|
限定符和类型 | 方法和说明 |
---|---|
Class<? extends IDistributionPolicy> |
IndexUpdateConfiguration.getDistributionPolicyClass()
Get the distribution policy class.
|
限定符和类型 | 方法和说明 |
---|---|
void |
IndexUpdateConfiguration.setDistributionPolicyClass(Class<? extends IDistributionPolicy> theClass)
Set the distribution policy class.
|
Copyright © 2009 The Apache Software Foundation