org.elasticsearch.action.admin.indices.validate.query
Class QueryExplanation

java.lang.Object
  extended by org.elasticsearch.action.admin.indices.validate.query.QueryExplanation
All Implemented Interfaces:
Streamable

public class QueryExplanation
extends Object
implements Streamable


Constructor Summary
QueryExplanation(String index, boolean valid, String explanation, String error)
           
 
Method Summary
 String error()
           
 String explanation()
           
 String getError()
           
 String getExplanation()
           
 String getIndex()
           
 boolean getValid()
           
 String index()
           
 void readFrom(StreamInput in)
           
static QueryExplanation readQueryExplanation(StreamInput in)
           
 boolean valid()
           
 void writeTo(StreamOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueryExplanation

public QueryExplanation(String index,
                        boolean valid,
                        String explanation,
                        String error)
Method Detail

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.