java.lang.Object
org.elasticsearch.action.search.SearchShardsGroup
- All Implemented Interfaces:
Writeable
Represents a group of nodes that a given ShardId is allocated on, along with information about
whether this group might match the query or not.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> -
Constructor Summary
ConstructorsConstructorDescriptionSearchShardsGroup(ShardId shardId, List<String> allocatedNodes, boolean skipped) -
Method Summary
Modifier and TypeMethodDescriptionThe list of node ids that shard copies on this group are allocated on.booleaninthashCode()shardId()booleanskipped()Returns true if the target shards in this group won't match the query givenSearchShardsRequest.toString()voidwriteTo(StreamOutput out) Write this into the StreamOutput.
-
Constructor Details
-
SearchShardsGroup
-
SearchShardsGroup
- Throws:
IOException
-
-
Method Details
-
writeTo
Description copied from interface:WriteableWrite this into the StreamOutput.- Specified by:
writeToin interfaceWriteable- Throws:
IOException
-
shardId
-
skipped
public boolean skipped()Returns true if the target shards in this group won't match the query givenSearchShardsRequest. -
allocatedNodes
The list of node ids that shard copies on this group are allocated on. -
equals
-
hashCode
public int hashCode() -
toString
-