public class ExplainResponse extends ActionResponse
TransportResponse.Emptyheaders| Constructor and Description |
|---|
ExplainResponse(String index,
String type,
String id,
boolean exists) |
ExplainResponse(String index,
String type,
String id,
boolean exists,
org.apache.lucene.search.Explanation explanation) |
ExplainResponse(String index,
String type,
String id,
boolean exists,
org.apache.lucene.search.Explanation explanation,
GetResult getResult) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.lucene.search.Explanation |
getExplanation() |
GetResult |
getGetResult() |
String |
getId() |
String |
getIndex() |
String |
getType() |
boolean |
hasExplanation() |
boolean |
isExists() |
boolean |
isMatch() |
void |
readFrom(StreamInput in) |
void |
writeTo(StreamOutput out) |
remoteAddress, remoteAddresscontextSize, copyContextAndHeadersFrom, copyContextFrom, copyHeadersFrom, getContext, getFromContext, getFromContext, getHeader, getHeaders, hasHeader, hasInContext, isContextEmpty, putAllInContext, putHeader, putInContextpublic ExplainResponse(String index, String type, String id, boolean exists, org.apache.lucene.search.Explanation explanation)
public String getIndex()
public String getType()
public String getId()
public org.apache.lucene.search.Explanation getExplanation()
public boolean isMatch()
public boolean hasExplanation()
public boolean isExists()
public GetResult getGetResult()
public void readFrom(StreamInput in) throws IOException
readFrom in interface StreamablereadFrom in class ActionResponseIOExceptionpublic void writeTo(StreamOutput out) throws IOException
writeTo in interface StreamablewriteTo in class ActionResponseIOExceptionCopyright © 2009–2016. All rights reserved.