Package | Description |
---|---|
org.elasticsearch.cluster.routing | |
org.elasticsearch.cluster.routing.operation.plain |
Modifier and Type | Method and Description |
---|---|
IndexShardRoutingTable |
IndexShardRoutingTable.Builder.build() |
IndexShardRoutingTable |
IndexShardRoutingTable.normalizeVersions()
Normalizes all shard routings to the same version.
|
static IndexShardRoutingTable |
IndexShardRoutingTable.Builder.readFrom(StreamInput in) |
static IndexShardRoutingTable |
IndexShardRoutingTable.Builder.readFromThin(StreamInput in,
String index) |
IndexShardRoutingTable |
IndexRoutingTable.shard(int shardId) |
Modifier and Type | Method and Description |
---|---|
ImmutableOpenIntMap<IndexShardRoutingTable> |
IndexRoutingTable.getShards() |
com.google.common.collect.UnmodifiableIterator<IndexShardRoutingTable> |
IndexRoutingTable.iterator() |
ImmutableOpenIntMap<IndexShardRoutingTable> |
IndexRoutingTable.shards() |
Modifier and Type | Method and Description |
---|---|
IndexRoutingTable.Builder |
IndexRoutingTable.Builder.addIndexShard(IndexShardRoutingTable indexShard) |
IndexRoutingTable.Builder |
IndexRoutingTable.Builder.addShard(IndexShardRoutingTable refData,
ShardRouting shard)
Adds a new shard routing (makes a copy of it), with reference data used from the index shard routing table
if it needs to be created.
|
static void |
IndexShardRoutingTable.Builder.writeTo(IndexShardRoutingTable indexShard,
StreamOutput out) |
static void |
IndexShardRoutingTable.Builder.writeToThin(IndexShardRoutingTable indexShard,
StreamOutput out) |
Constructor and Description |
---|
Builder(IndexShardRoutingTable indexShard) |
Modifier and Type | Method and Description |
---|---|
protected IndexShardRoutingTable |
PlainOperationRouting.shards(ClusterState clusterState,
String index,
int shardId) |
protected IndexShardRoutingTable |
PlainOperationRouting.shards(ClusterState clusterState,
String index,
String type,
String id,
String routing) |
Copyright © 2009–2015. All rights reserved.