public static final class SearchTransportService.CanMatchResponse extends SearchPhaseResult
TransportResponse.EmptyrequestId| Constructor and Description |
|---|
CanMatchResponse() |
CanMatchResponse(boolean canMatch) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canMatch() |
void |
readFrom(StreamInput in)
Set this object's fields from a StreamInput.
|
void |
writeTo(StreamOutput out)
Write this object's fields to a StreamOutput.
|
fetchResult, getRequestId, getSearchShardTarget, getShardIndex, queryResult, setSearchShardTarget, setShardIndexremoteAddress, remoteAddresspublic CanMatchResponse()
public CanMatchResponse(boolean canMatch)
public void readFrom(StreamInput in) throws java.io.IOException
StreamablereadFrom in interface StreamablereadFrom in class TransportMessagejava.io.IOExceptionpublic void writeTo(StreamOutput out) throws java.io.IOException
StreamablewriteTo in interface StreamablewriteTo in class TransportMessagejava.io.IOExceptionpublic boolean canMatch()