primaryShardIt
Returns an iterator only on the primary shard.
Iterable<ShardRouting>IndexShardRoutingTable encapsulates all instances of a single shard.
Each Elasticsearch index consists of multiple shards, each shard encapsulates
a disjoint set of the index data and each shard has one or more instances
referred to as replicas of a shard. Given that, this class encapsulates all
replicas (instances) for a single index shard.activeInitializingShardsIt(int seed)activeInitializingShardsRankedIt(ResponseCollectorService collector,
Map<String,Long> nodeSearchCounts)List of active shardsbooleantrue iff all shards in the routing table are started otherwise falseList of assigned shards, including relocation targetsbooleanList of active shardsList of all initializing shards, including target shards of relocationsgetByAllocationId(String allocationId)List of shardsintgetSize()inthashCode()iterator()onlyNodeSelectorActiveInitializingShardsIt(String[] nodeAttributes,
DiscoveryNodes discoveryNodes)onlyNodeSelectorActiveInitializingShardsIt(String nodeAttributes,
DiscoveryNodes discoveryNodes)preferAttributesActiveInitializingShardsIt(List<String> attributes,
DiscoveryNodes nodes)preferAttributesActiveInitializingShardsIt(List<String> attributes,
DiscoveryNodes nodes,
int seed)preferNodeActiveInitializingShardsIt(Set<String> nodeIds)replicaShardsWithState(ShardRoutingState... states)shardId()shards()List of shardsshardsIt()shardsIt(int seed)shardsWithState(ShardRoutingState state)intsize()toString()clone, finalize, getClass, notify, notifyAll, wait, wait, waitforEach, spliteratoriterator in interface Iterable<ShardRouting>List of shardsList of shardsList of shardsList of shardsList of active shardsList of shardsList of all initializing shards, including target shards of relocationsList of shardsList of active shardsList of shardsList of assigned shards, including relocation targetsList of shardstrue iff all shards in the routing table are started otherwise false