public class ExplainResponse extends ActionResponse
TransportResponse.Empty| Constructor and Description |
|---|
ExplainResponse(java.lang.String index,
java.lang.String type,
java.lang.String id,
boolean exists) |
ExplainResponse(java.lang.String index,
java.lang.String type,
java.lang.String id,
boolean exists,
org.apache.lucene.search.Explanation explanation) |
ExplainResponse(java.lang.String index,
java.lang.String type,
java.lang.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() |
java.lang.String |
getId() |
java.lang.String |
getIndex() |
java.lang.String |
getType() |
boolean |
hasExplanation() |
boolean |
isExists() |
boolean |
isMatch() |
void |
readFrom(StreamInput in)
Set this object's fields from a StreamInput.
|
void |
writeTo(StreamOutput out)
Write this object's fields to a StreamOutput.
|
remoteAddress, remoteAddresspublic ExplainResponse(java.lang.String index,
java.lang.String type,
java.lang.String id,
boolean exists)
public ExplainResponse(java.lang.String index,
java.lang.String type,
java.lang.String id,
boolean exists,
org.apache.lucene.search.Explanation explanation)
public ExplainResponse(java.lang.String index,
java.lang.String type,
java.lang.String id,
boolean exists,
org.apache.lucene.search.Explanation explanation,
GetResult getResult)
public java.lang.String getIndex()
public java.lang.String getType()
public java.lang.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 java.io.IOException
StreamablereadFrom in interface StreamablereadFrom in class ActionResponsejava.io.IOExceptionpublic void writeTo(StreamOutput out) throws java.io.IOException
StreamablewriteTo in interface StreamablewriteTo in class ActionResponsejava.io.IOException