Package org.elasticsearch.action.search
Class CanMatchNodeRequest.Shard
java.lang.Object
org.elasticsearch.action.search.CanMatchNodeRequest.Shard
- All Implemented Interfaces:
Writeable
- Enclosing class:
- CanMatchNodeRequest
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V>
-
Constructor Summary
ConstructorDescriptionShard
(String[] indices, ShardId shardId, int shardRequestIndex, AliasFilter aliasFilter, float indexBoost, ShardSearchContextId readerId, org.elasticsearch.core.TimeValue keepAlive, long waitForCheckpoint) Shard
(StreamInput in) -
Method Summary
Modifier and TypeMethodDescriptionString[]
int
shardId()
void
writeTo
(StreamOutput out) Write this into the StreamOutput.
-
Constructor Details
-
Shard
public Shard(String[] indices, ShardId shardId, int shardRequestIndex, AliasFilter aliasFilter, float indexBoost, ShardSearchContextId readerId, org.elasticsearch.core.TimeValue keepAlive, long waitForCheckpoint) -
Shard
- Throws:
IOException
-
-
Method Details
-
writeTo
Description copied from interface:Writeable
Write this into the StreamOutput.- Specified by:
writeTo
in interfaceWriteable
- Throws:
IOException
-
getShardRequestIndex
public int getShardRequestIndex() -
getOriginalIndices
-
shardId
-