org.elasticsearch.action.admin.indices.segments
Class IndicesSegmentsRequestBuilder

java.lang.Object
  extended by org.elasticsearch.action.admin.indices.support.BaseIndicesRequestBuilder<IndicesSegmentsRequest,IndicesSegmentResponse>
      extended by org.elasticsearch.action.admin.indices.segments.IndicesSegmentsRequestBuilder
All Implemented Interfaces:
ActionRequestBuilder<IndicesSegmentsRequest,IndicesSegmentResponse>

public class IndicesSegmentsRequestBuilder
extends BaseIndicesRequestBuilder<IndicesSegmentsRequest,IndicesSegmentResponse>


Field Summary
 
Fields inherited from class org.elasticsearch.action.admin.indices.support.BaseIndicesRequestBuilder
client, request
 
Constructor Summary
IndicesSegmentsRequestBuilder(IndicesAdminClient indicesClient)
           
 
Method Summary
protected  void doExecute(ActionListener<IndicesSegmentResponse> listener)
           
 IndicesSegmentsRequestBuilder setIgnoreIndices(IgnoreIndices ignoreIndices)
          Specifies what type of requested indices to ignore.
 IndicesSegmentsRequestBuilder setIndices(String... indices)
           
 
Methods inherited from class org.elasticsearch.action.admin.indices.support.BaseIndicesRequestBuilder
execute, execute, request
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IndicesSegmentsRequestBuilder

public IndicesSegmentsRequestBuilder(IndicesAdminClient indicesClient)
Method Detail

setIndices

public IndicesSegmentsRequestBuilder setIndices(String... indices)

setIgnoreIndices

public IndicesSegmentsRequestBuilder setIgnoreIndices(IgnoreIndices ignoreIndices)
Specifies what type of requested indices to ignore. For example indices that don't exist.


doExecute

protected void doExecute(ActionListener<IndicesSegmentResponse> listener)
Specified by:
doExecute in class BaseIndicesRequestBuilder<IndicesSegmentsRequest,IndicesSegmentResponse>


Copyright © 2009-2012. All Rights Reserved.