public class QueryExplanation extends Object implements Streamable
| Constructor and Description |
|---|
QueryExplanation(String index,
boolean valid,
String explanation,
String error) |
| Modifier and Type | Method and Description |
|---|---|
String |
getError() |
String |
getExplanation() |
String |
getIndex() |
boolean |
isValid() |
void |
readFrom(StreamInput in) |
static QueryExplanation |
readQueryExplanation(StreamInput in) |
void |
writeTo(StreamOutput out) |
public String getIndex()
public boolean isValid()
public String getError()
public String getExplanation()
public void readFrom(StreamInput in) throws IOException
readFrom in interface StreamableIOExceptionpublic void writeTo(StreamOutput out) throws IOException
writeTo in interface StreamableIOExceptionpublic static QueryExplanation readQueryExplanation(StreamInput in) throws IOException
IOExceptionCopyright © 2009–2017. All rights reserved.