public class OpenIndexRequestBuilder extends AcknowledgedRequestBuilder<OpenIndexRequest,OpenIndexResponse,OpenIndexRequestBuilder,IndicesAdminClient>
client, request
Constructor and Description |
---|
OpenIndexRequestBuilder(IndicesAdminClient indicesClient) |
OpenIndexRequestBuilder(IndicesAdminClient indicesClient,
String... indices) |
Modifier and Type | Method and Description |
---|---|
protected void |
doExecute(ActionListener<OpenIndexResponse> listener) |
OpenIndexRequestBuilder |
setIndices(String... indices)
Sets the indices to be opened
|
OpenIndexRequestBuilder |
setIndicesOptions(IndicesOptions indicesOptions)
Specifies what type of requested indices to ignore and how to deal with wildcard indices expressions.
|
setTimeout, setTimeout
setMasterNodeTimeout, setMasterNodeTimeout
execute, execute, get, get, get, putHeader, request, setListenerThreaded
public OpenIndexRequestBuilder(IndicesAdminClient indicesClient)
public OpenIndexRequestBuilder(IndicesAdminClient indicesClient, String... indices)
public OpenIndexRequestBuilder setIndices(String... indices)
indices
- the indices to be openedpublic OpenIndexRequestBuilder setIndicesOptions(IndicesOptions indicesOptions)
indicesOptions
- the desired behaviour regarding indices to ignore and wildcard indices expressionsprotected void doExecute(ActionListener<OpenIndexResponse> listener)
doExecute
in class ActionRequestBuilder<OpenIndexRequest,OpenIndexResponse,OpenIndexRequestBuilder,IndicesAdminClient>
Copyright © 2009–2015. All rights reserved.