Package org.elasticsearch.search
Class CanMatchShardResponse
java.lang.Object
org.elasticsearch.transport.TransportMessage
org.elasticsearch.transport.TransportResponse
org.elasticsearch.search.SearchPhaseResult
org.elasticsearch.search.CanMatchShardResponse
- All Implemented Interfaces:
Writeable
,RefCounted
Shard-level response for can-match requests
-
Nested Class Summary
Nested classes/interfaces inherited from class org.elasticsearch.transport.TransportResponse
TransportResponse.Empty
Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V>
-
Field Summary
Fields inherited from class org.elasticsearch.search.SearchPhaseResult
contextId
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
canMatch()
MinAndMax<?>
void
writeTo
(StreamOutput out) Write this into the StreamOutput.Methods inherited from class org.elasticsearch.search.SearchPhaseResult
fetchResult, getContextId, getRescoreDocIds, getSearchShardTarget, getShardIndex, getShardSearchRequest, queryResult, setRescoreDocIds, setSearchShardTarget, setShardIndex, setShardSearchRequest
Methods inherited from class org.elasticsearch.transport.TransportMessage
decRef, hasReferences, incRef, remoteAddress, remoteAddress, tryIncRef
-
Constructor Details
-
CanMatchShardResponse
- Throws:
IOException
-
CanMatchShardResponse
-
-
Method Details
-
writeTo
Description copied from interface:Writeable
Write this into the StreamOutput.- Specified by:
writeTo
in interfaceWriteable
- Overrides:
writeTo
in classSearchPhaseResult
- Throws:
IOException
-
canMatch
public boolean canMatch() -
estimatedMinAndMax
-