Package | Description |
---|---|
org.elasticsearch.cluster.routing.operation | |
org.elasticsearch.cluster.routing.operation.plain | |
org.elasticsearch.index |
Modifier and Type | Method and Description |
---|---|
GroupShardsIterator |
OperationRouting.broadcastDeleteShards(ClusterState clusterState,
String index) |
ShardIterator |
OperationRouting.deleteShards(ClusterState clusterState,
String index,
String type,
String id,
String routing) |
ShardIterator |
OperationRouting.getShards(ClusterState clusterState,
String index,
int shardId,
String preference) |
ShardIterator |
OperationRouting.getShards(ClusterState clusterState,
String index,
String type,
String id,
String routing,
String preference) |
ShardIterator |
OperationRouting.indexShards(ClusterState clusterState,
String index,
String type,
String id,
String routing) |
Modifier and Type | Method and Description |
---|---|
ShardIterator |
PlainOperationRouting.deleteShards(ClusterState clusterState,
String index,
String type,
String id,
String routing) |
ShardIterator |
PlainOperationRouting.getShards(ClusterState clusterState,
String index,
int shardId,
String preference) |
ShardIterator |
PlainOperationRouting.getShards(ClusterState clusterState,
String index,
String type,
String id,
String routing,
String preference) |
ShardIterator |
PlainOperationRouting.indexShards(ClusterState clusterState,
String index,
String type,
String id,
String routing) |
Modifier and Type | Method and Description |
---|---|
Injector |
IndexService.shardInjectorSafe(int shardId)
Return the shard injector for the provided id, or throw an exception if there is no such shard.
|
IndexShard |
IndexService.shardSafe(int shardId)
Return the shard with the provided id, or throw an exception if it doesn't exist.
|
Copyright © 2009–2015. All rights reserved.