public class ExplainResponse extends ActionResponse
TransportResponse.Empty
headers
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, remoteAddress
contextSize, copyContextAndHeadersFrom, copyContextFrom, copyHeadersFrom, getContext, getFromContext, getFromContext, getHeader, getHeaders, hasHeader, hasInContext, isContextEmpty, putAllInContext, putHeader, putInContext
public 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 Streamable
readFrom
in class ActionResponse
IOException
public void writeTo(StreamOutput out) throws IOException
writeTo
in interface Streamable
writeTo
in class ActionResponse
IOException
Copyright © 2009–2016. All rights reserved.