public class OpenIndexRequestBuilder extends AcknowledgedRequestBuilder<OpenIndexRequest,OpenIndexResponse,OpenIndexRequestBuilder>
action, client, request| Constructor and Description |
|---|
OpenIndexRequestBuilder(ElasticsearchClient client,
OpenIndexAction action) |
OpenIndexRequestBuilder(ElasticsearchClient client,
OpenIndexAction action,
java.lang.String... indices) |
| Modifier and Type | Method and Description |
|---|---|
OpenIndexRequestBuilder |
setIndices(java.lang.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, setTimeoutsetMasterNodeTimeout, setMasterNodeTimeoutbeforeExecute, execute, execute, get, get, get, requestpublic OpenIndexRequestBuilder(ElasticsearchClient client, OpenIndexAction action)
public OpenIndexRequestBuilder(ElasticsearchClient client, OpenIndexAction action, java.lang.String... indices)
public OpenIndexRequestBuilder setIndices(java.lang.String... indices)
indices - the indices to be openedpublic OpenIndexRequestBuilder setIndicesOptions(IndicesOptions indicesOptions)
indicesOptions - the desired behaviour regarding indices to ignore and wildcard indices expressions