java.lang.Object
org.elasticsearch.transport.TransportMessage
org.elasticsearch.transport.TransportResponse
org.elasticsearch.search.SearchPhaseResult
org.elasticsearch.search.fetch.FetchSearchResult
- All Implemented Interfaces:
Writeable,RefCounted
-
Nested Class Summary
Nested classes/interfaces inherited from class org.elasticsearch.transport.TransportResponse
TransportResponse.EmptyNested 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintReturns the fetch result iff it's included in this response otherwisenullhits()Returns the query result iff it's included in this response otherwisenullvoidshardResult(SearchHits hits, ProfileResult profileResult) voidwriteTo(StreamOutput out) Write this into the StreamOutput.Methods inherited from class org.elasticsearch.search.SearchPhaseResult
getContextId, getRescoreDocIds, getSearchShardTarget, getShardIndex, getShardSearchRequest, setRescoreDocIds, setSearchShardTarget, setShardIndex, setShardSearchRequestMethods inherited from class org.elasticsearch.transport.TransportMessage
decRef, hasReferences, incRef, remoteAddress, remoteAddress, tryIncRef
-
Constructor Details
-
FetchSearchResult
public FetchSearchResult() -
FetchSearchResult
-
FetchSearchResult
- Throws:
IOException
-
-
Method Details
-
writeTo
Description copied from interface:WriteableWrite this into the StreamOutput.- Specified by:
writeToin interfaceWriteable- Overrides:
writeToin classSearchPhaseResult- Throws:
IOException
-
queryResult
Description copied from class:SearchPhaseResultReturns the query result iff it's included in this response otherwisenull- Overrides:
queryResultin classSearchPhaseResult
-
fetchResult
Description copied from class:SearchPhaseResultReturns the fetch result iff it's included in this response otherwisenull- Overrides:
fetchResultin classSearchPhaseResult
-
shardResult
-
hits
-
initCounter
-
counterGetAndIncrement
public int counterGetAndIncrement() -
profileResult
-