public class ExistsResponse extends BroadcastOperationResponse
TransportResponse.Empty
Modifier and Type | Method and Description |
---|---|
boolean |
exists()
Whether the documents matching the query provided exists
|
void |
readFrom(StreamInput in) |
void |
writeTo(StreamOutput out) |
getFailedShards, getShardFailures, getSuccessfulShards, getTotalShards
getHeader, getHeaders, hasHeader, putHeader, remoteAddress, remoteAddress
contextSize, copyContextFrom, getContext, getFromContext, getFromContext, hasInContext, isContextEmpty, putAllInContext, putInContext
public boolean exists()
public void readFrom(StreamInput in) throws IOException
readFrom
in interface Streamable
readFrom
in class BroadcastOperationResponse
IOException
public void writeTo(StreamOutput out) throws IOException
writeTo
in interface Streamable
writeTo
in class BroadcastOperationResponse
IOException
Copyright © 2009–2015. All rights reserved.