public abstract class QuerySearchResultProvider extends TransportResponse implements SearchPhaseResult
TransportResponse.Empty
Constructor and Description |
---|
QuerySearchResultProvider() |
Modifier and Type | Method and Description |
---|---|
FetchSearchResult |
fetchResult()
Returns the fetch result iff it's included in this response otherwise
null |
QuerySearchResult |
queryResult()
Returns the query result iff it's included in this response otherwise
null |
readFrom, remoteAddress, remoteAddress, writeTo
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
id, shardTarget, shardTarget
readFrom, writeTo
public QuerySearchResult queryResult()
null
public FetchSearchResult fetchResult()
null