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

java.lang.Object
  extended by org.elasticsearch.action.support.broadcast.BroadcastOperationResponse
      extended by org.elasticsearch.action.admin.indices.validate.query.ValidateQueryResponse
All Implemented Interfaces:
ActionResponse, Streamable

public class ValidateQueryResponse
extends BroadcastOperationResponse

The response of the validate action.


Method Summary
 List<QueryExplanation> getQueryExplanation()
          The list of query explanations.
 boolean getValid()
          A boolean denoting whether the query is valid.
 List<? extends QueryExplanation> queryExplanations()
          The list of query explanations.
 void readFrom(StreamInput in)
           
 boolean valid()
          A boolean denoting whether the query is valid.
 void writeTo(StreamOutput out)
           
 
Methods inherited from class org.elasticsearch.action.support.broadcast.BroadcastOperationResponse
failedShards, getFailedShards, getShardFailures, getSuccessfulShards, getTotalShards, shardFailures, successfulShards, totalShards
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

valid

public boolean valid()
A boolean denoting whether the query is valid.


getValid

public boolean getValid()
A boolean denoting whether the query is valid.


queryExplanations

public List<? extends QueryExplanation> queryExplanations()
The list of query explanations.


getQueryExplanation

public List<QueryExplanation> getQueryExplanation()
The list of query explanations.


readFrom

public void readFrom(StreamInput in)
              throws IOException
Specified by:
readFrom in interface Streamable
Overrides:
readFrom in class BroadcastOperationResponse
Throws:
IOException

writeTo

public void writeTo(StreamOutput out)
             throws IOException
Specified by:
writeTo in interface Streamable
Overrides:
writeTo in class BroadcastOperationResponse
Throws:
IOException


Copyright © 2009-2012. All Rights Reserved.