public class OpenIndexRequestBuilder extends AcknowledgedRequestBuilder<OpenIndexRequest,OpenIndexResponse,OpenIndexRequestBuilder>
action, client, request
Constructor and Description |
---|
OpenIndexRequestBuilder(ElasticsearchClient client,
OpenIndexAction action) |
OpenIndexRequestBuilder(ElasticsearchClient client,
OpenIndexAction action,
String... indices) |
Modifier and Type | Method and Description |
---|---|
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
beforeExecute, execute, execute, get, get, get, putHeader, request
public OpenIndexRequestBuilder(ElasticsearchClient client, OpenIndexAction action)
public OpenIndexRequestBuilder(ElasticsearchClient client, OpenIndexAction action, 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 expressionsCopyright © 2009–2017. All rights reserved.