org.elasticsearch.action.admin.indices.validate.query
Class QueryExplanation
java.lang.Object
org.elasticsearch.action.admin.indices.validate.query.QueryExplanation
- All Implemented Interfaces:
- Streamable
public class QueryExplanation
- extends Object
- implements Streamable
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QueryExplanation
public QueryExplanation(String index,
boolean valid,
String explanation,
String error)
index
public String index()
getIndex
public String getIndex()
valid
public boolean valid()
getValid
public boolean getValid()
error
public String error()
getError
public String getError()
explanation
public String explanation()
getExplanation
public String getExplanation()
readFrom
public void readFrom(StreamInput in)
throws IOException
- Specified by:
readFrom
in interface Streamable
- Throws:
IOException
writeTo
public void writeTo(StreamOutput out)
throws IOException
- Specified by:
writeTo
in interface Streamable
- Throws:
IOException
readQueryExplanation
public static QueryExplanation readQueryExplanation(StreamInput in)
throws IOException
- Throws:
IOException
Copyright © 2009-2012. All Rights Reserved.