public class OperationRouting extends AbstractComponent
deprecationLogger, logger, settings| コンストラクタと説明 |
|---|
OperationRouting(Settings settings,
AwarenessAllocationDecider awarenessAllocationDecider) |
logDeprecatedSetting, logRemovedSetting, nodeName@Inject public OperationRouting(Settings settings, AwarenessAllocationDecider awarenessAllocationDecider)
public ShardIterator indexShards(ClusterState clusterState, String index, String type, String id, @Nullable String routing)
public ShardIterator getShards(ClusterState clusterState, String index, String type, String id, @Nullable String routing, @Nullable String preference)
public ShardIterator getShards(ClusterState clusterState, String index, int shardId, @Nullable String preference)
public int searchShardsCount(ClusterState clusterState, String[] concreteIndices, @Nullable Map<String,Set<String>> routing)
public GroupShardsIterator searchShards(ClusterState clusterState, String[] concreteIndices, @Nullable Map<String,Set<String>> routing, @Nullable String preference)
protected IndexRoutingTable indexRoutingTable(ClusterState clusterState, String index)
protected IndexShardRoutingTable shards(ClusterState clusterState, String index, String type, String id, String routing)
public ShardId shardId(ClusterState clusterState, String index, String type, String id, @Nullable String routing)
protected int hash(HashFunction hashFunction, String routing)
@Deprecated protected int hash(HashFunction hashFunction, String type, String id)
Copyright © 2009–2016. All rights reserved.