public class QueryExplanation extends java.lang.Object implements Streamable
Constructor and Description |
---|
QueryExplanation(java.lang.String index,
boolean valid,
java.lang.String explanation,
java.lang.String error) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getError() |
java.lang.String |
getExplanation() |
java.lang.String |
getIndex() |
boolean |
isValid() |
void |
readFrom(StreamInput in)
Set this object's fields from a StreamInput.
|
static QueryExplanation |
readQueryExplanation(StreamInput in) |
void |
writeTo(StreamOutput out)
Write this object's fields to a StreamOutput.
|
public QueryExplanation(java.lang.String index, boolean valid, java.lang.String explanation, java.lang.String error)
public java.lang.String getIndex()
public boolean isValid()
public java.lang.String getError()
public java.lang.String getExplanation()
public void readFrom(StreamInput in) throws java.io.IOException
Streamable
readFrom
in interface Streamable
java.io.IOException
public void writeTo(StreamOutput out) throws java.io.IOException
Streamable
writeTo
in interface Streamable
java.io.IOException
public static QueryExplanation readQueryExplanation(StreamInput in) throws java.io.IOException
java.io.IOException