primaryShardIt
Returns an iterator only on the primary shard.
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 all initializing shards, including target shards of relocationsgetByAllocationId(String allocationId) inthashCode()onlyNodeSelectorActiveInitializingShardsIt(String[] nodeAttributes,
DiscoveryNodes discoveryNodes) onlyNodeSelectorActiveInitializingShardsIt(String nodeAttributes,
DiscoveryNodes discoveryNodes) preferNodeActiveInitializingShardsIt(Set<String> nodeIds) replicaShardsWithState(ShardRoutingState... states) shard(int idx) shardId()shardsIt(int seed) shardsWithState(ShardRoutingState state) intsize()toString()List of active shardsList of shardsList of all initializing shards, including target shards of relocationsList of shardsList of assigned shards, including relocation targetsList of shardstrue iff all shards in the routing table are started otherwise false