public class FetchSearchResult extends TransportResponseimplements FetchSearchResultProvider
TransportResponse.Empty headers| Constructor and Description |
|---|
FetchSearchResult()
|
FetchSearchResult(long id, SearchShardTarget
|
| Modifier and Type | Method and Description |
|---|---|
int |
counterGetAndIncrement()
|
FetchSearchResult |
fetchResult()
|
InternalSearchHits |
hits()
|
void |
hits(InternalSearchHits
|
long |
id()
|
FetchSearchResult |
initCounter()
|
static FetchSearchResult |
readFetchSearchResult(StreamInput
|
void |
readFrom(StreamInput
|
SearchShardTarget |
shardTarget()
|
void |
shardTarget(SearchShardTarget
|
void |
writeTo(StreamOutput
|
putHeader, remoteAddress, remoteAddresscontextSize, copyContextAndHeadersFrom, copyContextFrom, copyHeadersFrom, getContext, getFromContext, getFromContext, getHeader, getHeaders, hasHeader, hasInContext, isContextEmpty, putAllInContext, putInContextpublic FetchSearchResult()
public FetchSearchResult(long id,
SearchShardTarget shardTarget) public FetchSearchResultfetchResult()
public long id()
public SearchShardTargetshardTarget()
public void shardTarget(SearchShardTargetshardTarget)
public void hits(InternalSearchHitshits)
public InternalSearchHitshits()
public FetchSearchResultinitCounter()
public int counterGetAndIncrement()
public static FetchSearchResultreadFetchSearchResult(StreamInput in) throws IOException
IOException
public void readFrom(StreamInputin) throws IOException
readFrom in interface
Streamable
readFrom in class
TransportMessage<TransportResponse>
IOException
public void writeTo(StreamOutputout) throws IOException
writeTo in interface
Streamable
writeTo in class
TransportMessage<TransportResponse>
IOException