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 Streamable
IOException
public void writeTo(StreamOutput out) throws IOException
writeTo
in interface Streamable
IOException
public static QueryExplanation readQueryExplanation(StreamInput in) throws IOException
IOException
Copyright © 2009–2016. All rights reserved.