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 interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> -
Field Summary
Fields inherited from class org.elasticsearch.search.SearchPhaseResult
contextIdFields inherited from interface org.elasticsearch.core.RefCounted
ALWAYS_REFERENCED -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancanMatch()MinAndMax<?> voidwriteTo(StreamOutput out) Write this into the StreamOutput.Methods inherited from class org.elasticsearch.search.SearchPhaseResult
clearContextId, fetchResult, getContextId, getRescoreDocIds, getSearchShardTarget, getShardIndex, getShardSearchRequest, hasSearchContext, queryResult, rankFeatureResult, setRescoreDocIds, setSearchShardTarget, setShardIndex, setShardSearchRequestMethods inherited from class org.elasticsearch.transport.TransportMessage
decRef, hasReferences, incRef, tryIncRefMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.core.RefCounted
mustIncRef
-
Constructor Details
-
CanMatchShardResponse
- Throws:
IOException
-
CanMatchShardResponse
-
-
Method Details
-
writeTo
Description copied from interface:WriteableWrite this into the StreamOutput.- Specified by:
writeToin interfaceWriteable- Overrides:
writeToin classSearchPhaseResult- Throws:
IOException
-
canMatch
public boolean canMatch() -
estimatedMinAndMax
-