Interface ReactiveElasticsearchClient.Indices
- All Known Implementing Classes:
DefaultReactiveElasticsearchClient
- Enclosing interface:
- ReactiveElasticsearchClient
public static interface ReactiveElasticsearchClient.Indices
Encapsulation of methods for accessing the Indices API.
- Author:
- Christoph Strobl
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiondefault reactor.core.publisher.Mono<Void>
closeIndex
(Consumer<org.elasticsearch.action.admin.indices.close.CloseIndexRequest> consumer) Execute the givenCloseIndexRequest
against the indices API.default reactor.core.publisher.Mono<Void>
closeIndex
(org.elasticsearch.action.admin.indices.close.CloseIndexRequest closeIndexRequest) Execute the givenCloseIndexRequest
against the indices API.reactor.core.publisher.Mono<Void>
closeIndex
(HttpHeaders headers, org.elasticsearch.action.admin.indices.close.CloseIndexRequest closeIndexRequest) Execute the givenCloseIndexRequest
against the indices API.default reactor.core.publisher.Mono<Boolean>
createIndex
(Consumer<org.elasticsearch.action.admin.indices.create.CreateIndexRequest> consumer) Deprecated.since 4.2default reactor.core.publisher.Mono<Boolean>
createIndex
(org.elasticsearch.action.admin.indices.create.CreateIndexRequest createIndexRequest) Deprecated.since 4.2, usecreateIndex(CreateIndexRequest)
default reactor.core.publisher.Mono<Boolean>
createIndex
(org.elasticsearch.client.indices.CreateIndexRequest createIndexRequest) Execute the givenCreateIndexRequest
against the indices API.reactor.core.publisher.Mono<Boolean>
createIndex
(HttpHeaders headers, org.elasticsearch.action.admin.indices.create.CreateIndexRequest createIndexRequest) Deprecated.since 4.2, usecreateIndex(HttpHeaders, CreateIndexRequest)
reactor.core.publisher.Mono<Boolean>
createIndex
(HttpHeaders headers, org.elasticsearch.client.indices.CreateIndexRequest createIndexRequest) Execute the givenCreateIndexRequest
against the indices API.default reactor.core.publisher.Mono<Boolean>
deleteIndex
(Consumer<org.elasticsearch.action.admin.indices.delete.DeleteIndexRequest> consumer) Execute the givenDeleteIndexRequest
against the indices API.default reactor.core.publisher.Mono<Boolean>
deleteIndex
(org.elasticsearch.action.admin.indices.delete.DeleteIndexRequest deleteIndexRequest) Execute the givenDeleteIndexRequest
against the indices API.reactor.core.publisher.Mono<Boolean>
deleteIndex
(HttpHeaders headers, org.elasticsearch.action.admin.indices.delete.DeleteIndexRequest deleteIndexRequest) Execute the givenDeleteIndexRequest
against the indices API.default reactor.core.publisher.Mono<Boolean>
deleteTemplate
(Consumer<org.elasticsearch.action.admin.indices.template.delete.DeleteIndexTemplateRequest> consumer) Execute the givenDeleteIndexTemplateRequest
against the indices API.default reactor.core.publisher.Mono<Boolean>
deleteTemplate
(org.elasticsearch.action.admin.indices.template.delete.DeleteIndexTemplateRequest deleteIndexTemplateRequest) Execute the givenDeleteIndexTemplateRequest
against the indices API.reactor.core.publisher.Mono<Boolean>
deleteTemplate
(HttpHeaders headers, org.elasticsearch.action.admin.indices.template.delete.DeleteIndexTemplateRequest deleteIndexTemplateRequest) Execute the givenDeleteIndexTemplateRequest
against the indices API.default reactor.core.publisher.Mono<Boolean>
existsIndex
(Consumer<org.elasticsearch.action.admin.indices.get.GetIndexRequest> consumer) Deprecated.since 4.2default reactor.core.publisher.Mono<Boolean>
existsIndex
(org.elasticsearch.action.admin.indices.get.GetIndexRequest getIndexRequest) Deprecated.since 4.2, useexistsIndex(GetIndexRequest)
default reactor.core.publisher.Mono<Boolean>
existsIndex
(org.elasticsearch.client.indices.GetIndexRequest getIndexRequest) Execute the givenGetIndexRequest
against the indices API.reactor.core.publisher.Mono<Boolean>
existsIndex
(HttpHeaders headers, org.elasticsearch.action.admin.indices.get.GetIndexRequest getIndexRequest) Deprecated.since 4.2, useexistsIndex(HttpHeaders, GetIndexRequest)
reactor.core.publisher.Mono<Boolean>
existsIndex
(HttpHeaders headers, org.elasticsearch.client.indices.GetIndexRequest getIndexRequest) Execute the givenGetIndexRequest
against the indices API.default reactor.core.publisher.Mono<Boolean>
existsTemplate
(Consumer<org.elasticsearch.client.indices.IndexTemplatesExistRequest> consumer) Execute the givenIndexTemplatesExistRequest
against the indices API.default reactor.core.publisher.Mono<Boolean>
existsTemplate
(org.elasticsearch.client.indices.IndexTemplatesExistRequest indexTemplatesExistRequest) Execute the givenIndexTemplatesExistRequest
against the indices API.reactor.core.publisher.Mono<Boolean>
existsTemplate
(HttpHeaders headers, org.elasticsearch.client.indices.IndexTemplatesExistRequest indexTemplatesExistRequest) Execute the givenIndexTemplatesExistRequest
against the indices API.default reactor.core.publisher.Mono<Void>
flushIndex
(Consumer<org.elasticsearch.action.admin.indices.flush.FlushRequest> consumer) Execute the givenFlushRequest
against the indices API.default reactor.core.publisher.Mono<Void>
flushIndex
(org.elasticsearch.action.admin.indices.flush.FlushRequest flushRequest) Execute the givenRefreshRequest
against the indices API.reactor.core.publisher.Mono<Void>
flushIndex
(HttpHeaders headers, org.elasticsearch.action.admin.indices.flush.FlushRequest flushRequest) Execute the givenRefreshRequest
against the indices API.default reactor.core.publisher.Mono<org.elasticsearch.client.GetAliasesResponse>
getAliases
(Consumer<org.elasticsearch.action.admin.indices.alias.get.GetAliasesRequest> consumer) Execute the givenGetAliasesRequest
against the indices API.default reactor.core.publisher.Mono<org.elasticsearch.client.GetAliasesResponse>
getAliases
(org.elasticsearch.action.admin.indices.alias.get.GetAliasesRequest getAliasesRequest) Execute the givenGetAliasesRequest
against the indices API.reactor.core.publisher.Mono<org.elasticsearch.client.GetAliasesResponse>
getAliases
(HttpHeaders headers, org.elasticsearch.action.admin.indices.alias.get.GetAliasesRequest getAliasesRequest) Execute the givenGetAliasesRequest
against the indices API.default reactor.core.publisher.Mono<org.elasticsearch.client.indices.GetFieldMappingsResponse>
getFieldMapping
(Consumer<org.elasticsearch.client.indices.GetFieldMappingsRequest> consumer) Execute the givenGetFieldMappingsRequest
against the indices API.default reactor.core.publisher.Mono<org.elasticsearch.client.indices.GetFieldMappingsResponse>
getFieldMapping
(org.elasticsearch.client.indices.GetFieldMappingsRequest getFieldMappingsRequest) Execute the givenGetFieldMappingsRequest
against the indices API.reactor.core.publisher.Mono<org.elasticsearch.client.indices.GetFieldMappingsResponse>
getFieldMapping
(HttpHeaders headers, org.elasticsearch.client.indices.GetFieldMappingsRequest getFieldMappingsRequest) Execute the givenGetFieldMappingsRequest
against the indices API.default reactor.core.publisher.Mono<org.elasticsearch.client.indices.GetIndexResponse>
Execute the givenGetIndexRequest
against the indices API.default reactor.core.publisher.Mono<org.elasticsearch.client.indices.GetIndexResponse>
getIndex
(org.elasticsearch.client.indices.GetIndexRequest getIndexRequest) Execute the givenGetIndexRequest
against the indices API.reactor.core.publisher.Mono<org.elasticsearch.client.indices.GetIndexResponse>
getIndex
(HttpHeaders headers, org.elasticsearch.client.indices.GetIndexRequest getIndexRequest) Execute the givenGetIndexRequest
against the indices API.default reactor.core.publisher.Mono<org.elasticsearch.action.admin.indices.mapping.get.GetMappingsResponse>
getMapping
(Consumer<org.elasticsearch.action.admin.indices.mapping.get.GetMappingsRequest> consumer) Deprecated.since 4.2default reactor.core.publisher.Mono<org.elasticsearch.action.admin.indices.mapping.get.GetMappingsResponse>
getMapping
(org.elasticsearch.action.admin.indices.mapping.get.GetMappingsRequest getMappingsRequest) Deprecated.since 4.2, usegetMapping(GetMappingsRequest)
default reactor.core.publisher.Mono<org.elasticsearch.client.indices.GetMappingsResponse>
getMapping
(org.elasticsearch.client.indices.GetMappingsRequest getMappingsRequest) Execute the givenGetMappingsRequest
against the indices API.reactor.core.publisher.Mono<org.elasticsearch.action.admin.indices.mapping.get.GetMappingsResponse>
getMapping
(HttpHeaders headers, org.elasticsearch.action.admin.indices.mapping.get.GetMappingsRequest getMappingsRequest) Deprecated.since 4.2, usegetMapping(HttpHeaders, GetMappingsRequest)
reactor.core.publisher.Mono<org.elasticsearch.client.indices.GetMappingsResponse>
getMapping
(HttpHeaders headers, org.elasticsearch.client.indices.GetMappingsRequest getMappingsRequest) Execute the givenGetMappingsRequest
against the indices API.default reactor.core.publisher.Mono<org.elasticsearch.action.admin.indices.settings.get.GetSettingsResponse>
getSettings
(Consumer<org.elasticsearch.action.admin.indices.settings.get.GetSettingsRequest> consumer) Execute the givenGetSettingsRequest
against the indices API.default reactor.core.publisher.Mono<org.elasticsearch.action.admin.indices.settings.get.GetSettingsResponse>
getSettings
(org.elasticsearch.action.admin.indices.settings.get.GetSettingsRequest getSettingsRequest) Execute the givenGetSettingsRequest
against the indices API.reactor.core.publisher.Mono<org.elasticsearch.action.admin.indices.settings.get.GetSettingsResponse>
getSettings
(HttpHeaders headers, org.elasticsearch.action.admin.indices.settings.get.GetSettingsRequest getSettingsRequest) Execute the givenGetSettingsRequest
against the indices API.default reactor.core.publisher.Mono<org.elasticsearch.client.indices.GetIndexTemplatesResponse>
getTemplate
(Consumer<org.elasticsearch.client.indices.GetIndexTemplatesRequest> consumer) Execute the givenGetIndexTemplatesRequest
against the indices API.default reactor.core.publisher.Mono<org.elasticsearch.client.indices.GetIndexTemplatesResponse>
getTemplate
(org.elasticsearch.client.indices.GetIndexTemplatesRequest getIndexTemplatesRequest) Execute the givenGetIndexTemplatesRequest
against the indices API.reactor.core.publisher.Mono<org.elasticsearch.client.indices.GetIndexTemplatesResponse>
getTemplate
(HttpHeaders headers, org.elasticsearch.client.indices.GetIndexTemplatesRequest getIndexTemplatesRequest) Execute the givenGetIndexTemplatesRequest
against the indices API.default reactor.core.publisher.Mono<Void>
Execute the givenOpenIndexRequest
against the indices API.default reactor.core.publisher.Mono<Void>
openIndex
(org.elasticsearch.action.admin.indices.open.OpenIndexRequest openIndexRequest) Execute the givenOpenIndexRequest
against the indices API.reactor.core.publisher.Mono<Void>
openIndex
(HttpHeaders headers, org.elasticsearch.action.admin.indices.open.OpenIndexRequest openIndexRequest) Execute the givenOpenIndexRequest
against the indices API.default reactor.core.publisher.Mono<Boolean>
putMapping
(Consumer<org.elasticsearch.action.admin.indices.mapping.put.PutMappingRequest> consumer) Deprecated.since 4.2default reactor.core.publisher.Mono<Boolean>
putMapping
(org.elasticsearch.action.admin.indices.mapping.put.PutMappingRequest putMappingRequest) Deprecated.since 4.2, useputMapping(PutMappingRequest)
default reactor.core.publisher.Mono<Boolean>
putMapping
(org.elasticsearch.client.indices.PutMappingRequest putMappingRequest) Execute the givenPutMappingRequest
against the indices API.reactor.core.publisher.Mono<Boolean>
putMapping
(HttpHeaders headers, org.elasticsearch.action.admin.indices.mapping.put.PutMappingRequest putMappingRequest) Deprecated.since 4.2, useputMapping(HttpHeaders, PutMappingRequest)
reactor.core.publisher.Mono<Boolean>
putMapping
(HttpHeaders headers, org.elasticsearch.client.indices.PutMappingRequest putMappingRequest) Execute the givenPutMappingRequest
against the indices API.default reactor.core.publisher.Mono<Boolean>
putTemplate
(Consumer<org.elasticsearch.client.indices.PutIndexTemplateRequest> consumer, String templateName) Execute the givenPutIndexTemplateRequest
against the indices API.default reactor.core.publisher.Mono<Boolean>
putTemplate
(org.elasticsearch.client.indices.PutIndexTemplateRequest putIndexTemplateRequest) Execute the givenPutIndexTemplateRequest
against the indices API.reactor.core.publisher.Mono<Boolean>
putTemplate
(HttpHeaders headers, org.elasticsearch.client.indices.PutIndexTemplateRequest putIndexTemplateRequest) Execute the givenPutIndexTemplateRequest
against the indices API.default reactor.core.publisher.Mono<Void>
refreshIndex
(Consumer<org.elasticsearch.action.admin.indices.refresh.RefreshRequest> consumer) Execute the givenRefreshRequest
against the indices API.default reactor.core.publisher.Mono<Void>
refreshIndex
(org.elasticsearch.action.admin.indices.refresh.RefreshRequest refreshRequest) Execute the givenRefreshRequest
against the indices API.reactor.core.publisher.Mono<Void>
refreshIndex
(HttpHeaders headers, org.elasticsearch.action.admin.indices.refresh.RefreshRequest refreshRequest) Execute the givenRefreshRequest
against the indices API.default reactor.core.publisher.Mono<Boolean>
updateAliases
(Consumer<org.elasticsearch.action.admin.indices.alias.IndicesAliasesRequest> consumer) Execute the givenIndicesAliasesRequest
against the indices API.default reactor.core.publisher.Mono<Boolean>
updateAliases
(org.elasticsearch.action.admin.indices.alias.IndicesAliasesRequest indicesAliasesRequest) Execute the givenIndicesAliasesRequest
against the indices API.reactor.core.publisher.Mono<Boolean>
updateAliases
(HttpHeaders headers, org.elasticsearch.action.admin.indices.alias.IndicesAliasesRequest indicesAliasesRequest) Execute the givenIndicesAliasesRequest
against the indices API.
-
Method Details
-
existsIndex
@Deprecated default reactor.core.publisher.Mono<Boolean> existsIndex(Consumer<org.elasticsearch.action.admin.indices.get.GetIndexRequest> consumer) Deprecated.since 4.2Execute the givenGetIndexRequest
against the indices API.- Parameters:
consumer
- never null.- Returns:
- the
Mono
emitting true if the index exists, false otherwise. - See Also:
-
existsIndex
@Deprecated default reactor.core.publisher.Mono<Boolean> existsIndex(org.elasticsearch.action.admin.indices.get.GetIndexRequest getIndexRequest) Deprecated.since 4.2, useexistsIndex(GetIndexRequest)
Execute the givenGetIndexRequest
against the indices API.- Parameters:
getIndexRequest
- must not be null.- Returns:
- the
Mono
emitting true if the index exists, false otherwise. - See Also:
-
existsIndex
@Deprecated reactor.core.publisher.Mono<Boolean> existsIndex(HttpHeaders headers, org.elasticsearch.action.admin.indices.get.GetIndexRequest getIndexRequest) Deprecated.since 4.2, useexistsIndex(HttpHeaders, GetIndexRequest)
Execute the givenGetIndexRequest
against the indices API.- Parameters:
headers
- UseHttpHeaders
to provide eg. authentication data. Must not be null.getIndexRequest
- must not be null.- Returns:
- the
Mono
emitting true if the index exists, false otherwise. - See Also:
-
existsIndex
default reactor.core.publisher.Mono<Boolean> existsIndex(org.elasticsearch.client.indices.GetIndexRequest getIndexRequest) Execute the givenGetIndexRequest
against the indices API.- Parameters:
getIndexRequest
- must not be null.- Returns:
- the
Mono
emitting true if the index exists, false otherwise. - Since:
- 4.2
- See Also:
-
existsIndex
reactor.core.publisher.Mono<Boolean> existsIndex(HttpHeaders headers, org.elasticsearch.client.indices.GetIndexRequest getIndexRequest) Execute the givenGetIndexRequest
against the indices API.- Parameters:
headers
- UseHttpHeaders
to provide eg. authentication data. Must not be null.getIndexRequest
- must not be null.- Returns:
- the
Mono
emitting true if the index exists, false otherwise. - Since:
- 4.2
- See Also:
-
deleteIndex
default reactor.core.publisher.Mono<Boolean> deleteIndex(Consumer<org.elasticsearch.action.admin.indices.delete.DeleteIndexRequest> consumer) Execute the givenDeleteIndexRequest
against the indices API.- Parameters:
consumer
- never null.- Returns:
- a
Mono
signalling operation completion or anerror
if eg. the index does not exist. - See Also:
-
deleteIndex
default reactor.core.publisher.Mono<Boolean> deleteIndex(org.elasticsearch.action.admin.indices.delete.DeleteIndexRequest deleteIndexRequest) Execute the givenDeleteIndexRequest
against the indices API.- Parameters:
deleteIndexRequest
- must not be null.- Returns:
- a
Mono
signalling operation completion or anerror
if eg. the index does not exist. - See Also:
-
deleteIndex
reactor.core.publisher.Mono<Boolean> deleteIndex(HttpHeaders headers, org.elasticsearch.action.admin.indices.delete.DeleteIndexRequest deleteIndexRequest) Execute the givenDeleteIndexRequest
against the indices API.- Parameters:
headers
- UseHttpHeaders
to provide eg. authentication data. Must not be null.deleteIndexRequest
- must not be null.- Returns:
- a
Mono
signalling operation completion or anerror
if eg. the index does not exist. - See Also:
-
createIndex
@Deprecated default reactor.core.publisher.Mono<Boolean> createIndex(Consumer<org.elasticsearch.action.admin.indices.create.CreateIndexRequest> consumer) Deprecated.since 4.2Execute the givenCreateIndexRequest
against the indices API.- Parameters:
consumer
- never null.- Returns:
- a
Mono
signalling successful operation completion or anerror
if eg. the index already exist. - See Also:
-
createIndex
@Deprecated default reactor.core.publisher.Mono<Boolean> createIndex(org.elasticsearch.action.admin.indices.create.CreateIndexRequest createIndexRequest) Deprecated.since 4.2, usecreateIndex(CreateIndexRequest)
Execute the givenCreateIndexRequest
against the indices API.- Parameters:
createIndexRequest
- must not be null.- Returns:
- a
Mono
signalling successful operation completion or anerror
if eg. the index already exist. - See Also:
-
createIndex
@Deprecated reactor.core.publisher.Mono<Boolean> createIndex(HttpHeaders headers, org.elasticsearch.action.admin.indices.create.CreateIndexRequest createIndexRequest) Deprecated.since 4.2, usecreateIndex(HttpHeaders, CreateIndexRequest)
Execute the givenCreateIndexRequest
against the indices API.- Parameters:
headers
- UseHttpHeaders
to provide eg. authentication data. Must not be null.createIndexRequest
- must not be null.- Returns:
- a
Mono
signalling successful operation completion or anerror
if eg. the index already exist. - See Also:
-
createIndex
default reactor.core.publisher.Mono<Boolean> createIndex(org.elasticsearch.client.indices.CreateIndexRequest createIndexRequest) Execute the givenCreateIndexRequest
against the indices API.- Parameters:
createIndexRequest
- must not be null.- Returns:
- a
Mono
signalling successful operation completion or anerror
if eg. the index already exist. - Since:
- 4.2
- See Also:
-
createIndex
reactor.core.publisher.Mono<Boolean> createIndex(HttpHeaders headers, org.elasticsearch.client.indices.CreateIndexRequest createIndexRequest) Execute the givenCreateIndexRequest
against the indices API.- Parameters:
headers
- UseHttpHeaders
to provide eg. authentication data. Must not be null.createIndexRequest
- must not be null.- Returns:
- a
Mono
signalling successful operation completion or anerror
if eg. the index already exist. - Since:
- 4.2
- See Also:
-
openIndex
default reactor.core.publisher.Mono<Void> openIndex(Consumer<org.elasticsearch.action.admin.indices.open.OpenIndexRequest> consumer) Execute the givenOpenIndexRequest
against the indices API.- Parameters:
consumer
- never null.- Returns:
- a
Mono
signalling operation completion or anerror
if eg. the index does not exist. - See Also:
-
openIndex
default reactor.core.publisher.Mono<Void> openIndex(org.elasticsearch.action.admin.indices.open.OpenIndexRequest openIndexRequest) Execute the givenOpenIndexRequest
against the indices API.- Parameters:
openIndexRequest
- must not be null.- Returns:
- a
Mono
signalling operation completion or anerror
if eg. the index does not exist. - See Also:
-
openIndex
reactor.core.publisher.Mono<Void> openIndex(HttpHeaders headers, org.elasticsearch.action.admin.indices.open.OpenIndexRequest openIndexRequest) Execute the givenOpenIndexRequest
against the indices API.- Parameters:
headers
- UseHttpHeaders
to provide eg. authentication data. Must not be null.openIndexRequest
- must not be null.- Returns:
- a
Mono
signalling operation completion or anerror
if eg. the index does not exist. - See Also:
-
closeIndex
default reactor.core.publisher.Mono<Void> closeIndex(Consumer<org.elasticsearch.action.admin.indices.close.CloseIndexRequest> consumer) Execute the givenCloseIndexRequest
against the indices API.- Parameters:
consumer
- never null.- Returns:
- a
Mono
signalling operation completion or anerror
if eg. the index does not exist. - See Also:
-
closeIndex
default reactor.core.publisher.Mono<Void> closeIndex(org.elasticsearch.action.admin.indices.close.CloseIndexRequest closeIndexRequest) Execute the givenCloseIndexRequest
against the indices API.- Parameters:
closeIndexRequest
- must not be null.- Returns:
- a
Mono
signalling operation completion or anerror
if eg. the index does not exist. - See Also:
-
closeIndex
reactor.core.publisher.Mono<Void> closeIndex(HttpHeaders headers, org.elasticsearch.action.admin.indices.close.CloseIndexRequest closeIndexRequest) Execute the givenCloseIndexRequest
against the indices API.- Parameters:
headers
- UseHttpHeaders
to provide eg. authentication data. Must not be null.closeIndexRequest
- must not be null.- Returns:
- a
Mono
signalling operation completion or anerror
if eg. the index does not exist. - See Also:
-
refreshIndex
default reactor.core.publisher.Mono<Void> refreshIndex(Consumer<org.elasticsearch.action.admin.indices.refresh.RefreshRequest> consumer) Execute the givenRefreshRequest
against the indices API.- Parameters:
consumer
- never null.- Returns:
- a
Mono
signalling operation completion or anerror
if eg. the index does not exist. - See Also:
-
refreshIndex
default reactor.core.publisher.Mono<Void> refreshIndex(org.elasticsearch.action.admin.indices.refresh.RefreshRequest refreshRequest) Execute the givenRefreshRequest
against the indices API.- Parameters:
refreshRequest
- must not be null.- Returns:
- a
Mono
signalling operation completion or anerror
if eg. the index does not exist. - See Also:
-
refreshIndex
reactor.core.publisher.Mono<Void> refreshIndex(HttpHeaders headers, org.elasticsearch.action.admin.indices.refresh.RefreshRequest refreshRequest) Execute the givenRefreshRequest
against the indices API.- Parameters:
headers
- UseHttpHeaders
to provide eg. authentication data. Must not be null.refreshRequest
- must not be null.- Returns:
- a
Mono
signalling operation completion or anerror
if eg. the index does not exist. - See Also:
-
putMapping
@Deprecated default reactor.core.publisher.Mono<Boolean> putMapping(Consumer<org.elasticsearch.action.admin.indices.mapping.put.PutMappingRequest> consumer) Deprecated.since 4.2Execute the givenPutMappingRequest
against the indices API.- Parameters:
consumer
- never null.- Returns:
- a
Mono
signalling operation completion or anerror
if eg. the index does not exist. - See Also:
-
putMapping
@Deprecated default reactor.core.publisher.Mono<Boolean> putMapping(org.elasticsearch.action.admin.indices.mapping.put.PutMappingRequest putMappingRequest) Deprecated.since 4.2, useputMapping(PutMappingRequest)
Execute the givenPutMappingRequest
against the indices API.- Parameters:
putMappingRequest
- must not be null.- Returns:
- a
Mono
signalling operation completion or anerror
if eg. the index does not exist. - See Also:
-
putMapping
@Deprecated reactor.core.publisher.Mono<Boolean> putMapping(HttpHeaders headers, org.elasticsearch.action.admin.indices.mapping.put.PutMappingRequest putMappingRequest) Deprecated.since 4.2, useputMapping(HttpHeaders, PutMappingRequest)
Execute the givenPutMappingRequest
against the indices API.- Parameters:
headers
- UseHttpHeaders
to provide eg. authentication data. Must not be null.putMappingRequest
- must not be null.- Returns:
- a
Mono
signalling operation completion or anerror
if eg. the index does not exist. - See Also:
-
putMapping
default reactor.core.publisher.Mono<Boolean> putMapping(org.elasticsearch.client.indices.PutMappingRequest putMappingRequest) Execute the givenPutMappingRequest
against the indices API.- Parameters:
putMappingRequest
- must not be null.- Returns:
- a
Mono
signalling operation completion or anerror
if eg. the index does not exist. - Since:
- 4.2
- See Also:
-
putMapping
reactor.core.publisher.Mono<Boolean> putMapping(HttpHeaders headers, org.elasticsearch.client.indices.PutMappingRequest putMappingRequest) Execute the givenPutMappingRequest
against the indices API.- Parameters:
headers
- UseHttpHeaders
to provide eg. authentication data. Must not be null.putMappingRequest
- must not be null.- Returns:
- a
Mono
signalling operation completion or anerror
if eg. the index does not exist. - Since:
- 4.2
- See Also:
-
flushIndex
default reactor.core.publisher.Mono<Void> flushIndex(Consumer<org.elasticsearch.action.admin.indices.flush.FlushRequest> consumer) Execute the givenFlushRequest
against the indices API.- Parameters:
consumer
- never null.- Returns:
- a
Mono
signalling operation completion or anerror
if eg. the index does not exist. - See Also:
-
flushIndex
default reactor.core.publisher.Mono<Void> flushIndex(org.elasticsearch.action.admin.indices.flush.FlushRequest flushRequest) Execute the givenRefreshRequest
against the indices API.- Parameters:
flushRequest
- must not be null.- Returns:
- a
Mono
signalling operation completion or anerror
if eg. the index does not exist. - See Also:
-
flushIndex
reactor.core.publisher.Mono<Void> flushIndex(HttpHeaders headers, org.elasticsearch.action.admin.indices.flush.FlushRequest flushRequest) Execute the givenRefreshRequest
against the indices API.- Parameters:
headers
- UseHttpHeaders
to provide eg. authentication data. Must not be null.flushRequest
- must not be null.- Returns:
- a
Mono
signalling operation completion or anerror
if eg. the index does not exist. - See Also:
-
getSettings
default reactor.core.publisher.Mono<org.elasticsearch.action.admin.indices.settings.get.GetSettingsResponse> getSettings(Consumer<org.elasticsearch.action.admin.indices.settings.get.GetSettingsRequest> consumer) Execute the givenGetSettingsRequest
against the indices API.- Parameters:
consumer
- never null.- Returns:
- a
Mono
signalling operation completion or anerror
if eg. the index does not exist. - Since:
- 4.1
- See Also:
-
getSettings
default reactor.core.publisher.Mono<org.elasticsearch.action.admin.indices.settings.get.GetSettingsResponse> getSettings(org.elasticsearch.action.admin.indices.settings.get.GetSettingsRequest getSettingsRequest) Execute the givenGetSettingsRequest
against the indices API.- Parameters:
getSettingsRequest
- must not be null.- Returns:
- a
Mono
signalling operation completion or anerror
if eg. the index does not exist. - Since:
- 4.1
- See Also:
-
getSettings
reactor.core.publisher.Mono<org.elasticsearch.action.admin.indices.settings.get.GetSettingsResponse> getSettings(HttpHeaders headers, org.elasticsearch.action.admin.indices.settings.get.GetSettingsRequest getSettingsRequest) Execute the givenGetSettingsRequest
against the indices API.- Parameters:
headers
- UseHttpHeaders
to provide eg. authentication data. Must not be null.getSettingsRequest
- must not be null.- Returns:
- a
Mono
signalling operation completion or anerror
if eg. the index does not exist. - Since:
- 4.1
- See Also:
-
getMapping
@Deprecated default reactor.core.publisher.Mono<org.elasticsearch.action.admin.indices.mapping.get.GetMappingsResponse> getMapping(Consumer<org.elasticsearch.action.admin.indices.mapping.get.GetMappingsRequest> consumer) Deprecated.since 4.2Execute the givenGetMappingsRequest
against the indices API.- Parameters:
consumer
- never null.- Returns:
- a
Mono
signalling operation completion or anerror
if eg. the index does not exist. - Since:
- 4.1
- See Also:
-
getMapping
@Deprecated default reactor.core.publisher.Mono<org.elasticsearch.action.admin.indices.mapping.get.GetMappingsResponse> getMapping(org.elasticsearch.action.admin.indices.mapping.get.GetMappingsRequest getMappingsRequest) Deprecated.since 4.2, usegetMapping(GetMappingsRequest)
Execute the givenGetMappingsRequest
against the indices API.- Parameters:
getMappingsRequest
- must not be null.- Returns:
- a
Mono
signalling operation completion or anerror
if eg. the index does not exist. - Since:
- 4.1
- See Also:
-
getMapping
@Deprecated reactor.core.publisher.Mono<org.elasticsearch.action.admin.indices.mapping.get.GetMappingsResponse> getMapping(HttpHeaders headers, org.elasticsearch.action.admin.indices.mapping.get.GetMappingsRequest getMappingsRequest) Deprecated.since 4.2, usegetMapping(HttpHeaders, GetMappingsRequest)
Execute the givenGetMappingsRequest
against the indices API.- Parameters:
headers
- UseHttpHeaders
to provide eg. authentication data. Must not be null.getMappingsRequest
- must not be null.- Returns:
- a
Mono
signalling operation completion or anerror
if eg. the index does not exist. - Since:
- 4.1
- See Also:
-
getMapping
default reactor.core.publisher.Mono<org.elasticsearch.client.indices.GetMappingsResponse> getMapping(org.elasticsearch.client.indices.GetMappingsRequest getMappingsRequest) Execute the givenGetMappingsRequest
against the indices API.- Parameters:
getMappingsRequest
- must not be null.- Returns:
- a
Mono
signalling operation completion or anerror
if eg. the index does not exist. - Since:
- 4.2
- See Also:
-
getMapping
reactor.core.publisher.Mono<org.elasticsearch.client.indices.GetMappingsResponse> getMapping(HttpHeaders headers, org.elasticsearch.client.indices.GetMappingsRequest getMappingsRequest) Execute the givenGetMappingsRequest
against the indices API.- Parameters:
headers
- UseHttpHeaders
to provide eg. authentication data. Must not be null.getMappingsRequest
- must not be null.- Returns:
- a
Mono
signalling operation completion or anerror
if eg. the index does not exist. - Since:
- 4.2
- See Also:
-
getFieldMapping
default reactor.core.publisher.Mono<org.elasticsearch.client.indices.GetFieldMappingsResponse> getFieldMapping(Consumer<org.elasticsearch.client.indices.GetFieldMappingsRequest> consumer) Execute the givenGetFieldMappingsRequest
against the indices API.- Parameters:
consumer
- never null.- Returns:
- a
Mono
signalling operation completion or anerror
if eg. the index does not exist. - Since:
- 4.2
- See Also:
-
getFieldMapping
default reactor.core.publisher.Mono<org.elasticsearch.client.indices.GetFieldMappingsResponse> getFieldMapping(org.elasticsearch.client.indices.GetFieldMappingsRequest getFieldMappingsRequest) Execute the givenGetFieldMappingsRequest
against the indices API.- Parameters:
getFieldMappingsRequest
- must not be null.- Returns:
- a
Mono
signalling operation completion or anerror
if eg. the index does not exist. - Since:
- 4.2
- See Also:
-
getFieldMapping
reactor.core.publisher.Mono<org.elasticsearch.client.indices.GetFieldMappingsResponse> getFieldMapping(HttpHeaders headers, org.elasticsearch.client.indices.GetFieldMappingsRequest getFieldMappingsRequest) Execute the givenGetFieldMappingsRequest
against the indices API.- Parameters:
headers
- UseHttpHeaders
to provide eg. authentication data. Must not be null.getFieldMappingsRequest
- must not be null.- Returns:
- a
Mono
signalling operation completion or anerror
if eg. the index does not exist. - Since:
- 4.2
- See Also:
-
updateAliases
default reactor.core.publisher.Mono<Boolean> updateAliases(Consumer<org.elasticsearch.action.admin.indices.alias.IndicesAliasesRequest> consumer) Execute the givenIndicesAliasesRequest
against the indices API.- Parameters:
consumer
- never null.- Returns:
- a
Mono
signalling operation completion. - Since:
- 4.1
-
updateAliases
default reactor.core.publisher.Mono<Boolean> updateAliases(org.elasticsearch.action.admin.indices.alias.IndicesAliasesRequest indicesAliasesRequest) Execute the givenIndicesAliasesRequest
against the indices API.- Parameters:
indicesAliasesRequest
- must not be null- Returns:
- a
Mono
signalling operation completion. - Since:
- 4.1
-
updateAliases
reactor.core.publisher.Mono<Boolean> updateAliases(HttpHeaders headers, org.elasticsearch.action.admin.indices.alias.IndicesAliasesRequest indicesAliasesRequest) Execute the givenIndicesAliasesRequest
against the indices API.- Parameters:
headers
- UseHttpHeaders
to provide eg. authentication data. Must not be null.indicesAliasesRequest
- must not be null- Returns:
- a
Mono
signalling operation completion. - Since:
- 4.1
-
getAliases
default reactor.core.publisher.Mono<org.elasticsearch.client.GetAliasesResponse> getAliases(Consumer<org.elasticsearch.action.admin.indices.alias.get.GetAliasesRequest> consumer) Execute the givenGetAliasesRequest
against the indices API.- Parameters:
consumer
- never null.- Returns:
- a
Mono
signalling operation completion. - Since:
- 4.1
-
getAliases
default reactor.core.publisher.Mono<org.elasticsearch.client.GetAliasesResponse> getAliases(org.elasticsearch.action.admin.indices.alias.get.GetAliasesRequest getAliasesRequest) Execute the givenGetAliasesRequest
against the indices API.- Parameters:
getAliasesRequest
- must not be null- Returns:
- a
Mono
signalling operation completion. - Since:
- 4.1
-
getAliases
reactor.core.publisher.Mono<org.elasticsearch.client.GetAliasesResponse> getAliases(HttpHeaders headers, org.elasticsearch.action.admin.indices.alias.get.GetAliasesRequest getAliasesRequest) Execute the givenGetAliasesRequest
against the indices API.- Parameters:
headers
- UseHttpHeaders
to provide eg. authentication data. Must not be null.getAliasesRequest
- must not be null- Returns:
- a
Mono
signalling operation completion. - Since:
- 4.1
-
putTemplate
default reactor.core.publisher.Mono<Boolean> putTemplate(Consumer<org.elasticsearch.client.indices.PutIndexTemplateRequest> consumer, String templateName) Execute the givenPutIndexTemplateRequest
against the indices API.- Parameters:
consumer
- never null.- Returns:
- a
Mono
signalling operation completion. - Since:
- 4.1
-
putTemplate
default reactor.core.publisher.Mono<Boolean> putTemplate(org.elasticsearch.client.indices.PutIndexTemplateRequest putIndexTemplateRequest) Execute the givenPutIndexTemplateRequest
against the indices API.- Parameters:
putIndexTemplateRequest
- must not be null- Returns:
- a
Mono
signalling operation completion. - Since:
- 4.1
-
putTemplate
reactor.core.publisher.Mono<Boolean> putTemplate(HttpHeaders headers, org.elasticsearch.client.indices.PutIndexTemplateRequest putIndexTemplateRequest) Execute the givenPutIndexTemplateRequest
against the indices API.- Parameters:
headers
- UseHttpHeaders
to provide eg. authentication data. Must not be null.putIndexTemplateRequest
- must not be null- Returns:
- a
Mono
signalling operation completion. - Since:
- 4.1
-
getTemplate
default reactor.core.publisher.Mono<org.elasticsearch.client.indices.GetIndexTemplatesResponse> getTemplate(Consumer<org.elasticsearch.client.indices.GetIndexTemplatesRequest> consumer) Execute the givenGetIndexTemplatesRequest
against the indices API.- Parameters:
consumer
- never null.- Returns:
- a
Mono
with the GetIndexTemplatesResponse. - Since:
- 4.1
-
getTemplate
default reactor.core.publisher.Mono<org.elasticsearch.client.indices.GetIndexTemplatesResponse> getTemplate(org.elasticsearch.client.indices.GetIndexTemplatesRequest getIndexTemplatesRequest) Execute the givenGetIndexTemplatesRequest
against the indices API.- Parameters:
getIndexTemplatesRequest
- must not be null- Returns:
- a
Mono
with the GetIndexTemplatesResponse. - Since:
- 4.1
-
getTemplate
reactor.core.publisher.Mono<org.elasticsearch.client.indices.GetIndexTemplatesResponse> getTemplate(HttpHeaders headers, org.elasticsearch.client.indices.GetIndexTemplatesRequest getIndexTemplatesRequest) Execute the givenGetIndexTemplatesRequest
against the indices API.- Parameters:
headers
- UseHttpHeaders
to provide eg. authentication data. Must not be null.getIndexTemplatesRequest
- must not be null- Returns:
- a
Mono
with the GetIndexTemplatesResponse. - Since:
- 4.1
-
existsTemplate
default reactor.core.publisher.Mono<Boolean> existsTemplate(Consumer<org.elasticsearch.client.indices.IndexTemplatesExistRequest> consumer) Execute the givenIndexTemplatesExistRequest
against the indices API.- Parameters:
consumer
- never null.- Returns:
- the
Mono
emitting true if the template exists, false otherwise. - Since:
- 4.1
-
existsTemplate
default reactor.core.publisher.Mono<Boolean> existsTemplate(org.elasticsearch.client.indices.IndexTemplatesExistRequest indexTemplatesExistRequest) Execute the givenIndexTemplatesExistRequest
against the indices API.- Parameters:
indexTemplatesExistRequest
- must not be null- Returns:
- the
Mono
emitting true if the template exists, false otherwise. - Since:
- 4.1
-
existsTemplate
reactor.core.publisher.Mono<Boolean> existsTemplate(HttpHeaders headers, org.elasticsearch.client.indices.IndexTemplatesExistRequest indexTemplatesExistRequest) Execute the givenIndexTemplatesExistRequest
against the indices API.- Parameters:
headers
- UseHttpHeaders
to provide eg. authentication data. Must not be null.indexTemplatesExistRequest
- must not be null- Returns:
- the
Mono
emitting true if the template exists, false otherwise. - Since:
- 4.1
-
deleteTemplate
default reactor.core.publisher.Mono<Boolean> deleteTemplate(Consumer<org.elasticsearch.action.admin.indices.template.delete.DeleteIndexTemplateRequest> consumer) Execute the givenDeleteIndexTemplateRequest
against the indices API.- Parameters:
consumer
- never null.- Returns:
- the
Mono
emitting true if the template exists, false otherwise. - Since:
- 4.1
-
deleteTemplate
default reactor.core.publisher.Mono<Boolean> deleteTemplate(org.elasticsearch.action.admin.indices.template.delete.DeleteIndexTemplateRequest deleteIndexTemplateRequest) Execute the givenDeleteIndexTemplateRequest
against the indices API.- Parameters:
deleteIndexTemplateRequest
- must not be null- Returns:
- the
Mono
emitting true if the template exists, false otherwise. - Since:
- 4.1
-
deleteTemplate
reactor.core.publisher.Mono<Boolean> deleteTemplate(HttpHeaders headers, org.elasticsearch.action.admin.indices.template.delete.DeleteIndexTemplateRequest deleteIndexTemplateRequest) Execute the givenDeleteIndexTemplateRequest
against the indices API.- Parameters:
headers
- UseHttpHeaders
to provide eg. authentication data. Must not be null.deleteIndexTemplateRequest
- must not be null- Returns:
- the
Mono
emitting true if the template exists, false otherwise. - Since:
- 4.1
-
getIndex
default reactor.core.publisher.Mono<org.elasticsearch.client.indices.GetIndexResponse> getIndex(Consumer<org.elasticsearch.client.indices.GetIndexRequest> consumer) Execute the givenGetIndexRequest
against the indices API.- Parameters:
consumer
- never null.- Returns:
- the
Mono
emitting the response - Since:
- 4.2
-
getIndex
default reactor.core.publisher.Mono<org.elasticsearch.client.indices.GetIndexResponse> getIndex(org.elasticsearch.client.indices.GetIndexRequest getIndexRequest) Execute the givenGetIndexRequest
against the indices API.- Parameters:
getIndexRequest
- must not be null- Returns:
- the
Mono
emitting the response - Since:
- 4.2
-
getIndex
reactor.core.publisher.Mono<org.elasticsearch.client.indices.GetIndexResponse> getIndex(HttpHeaders headers, org.elasticsearch.client.indices.GetIndexRequest getIndexRequest) Execute the givenGetIndexRequest
against the indices API.- Parameters:
headers
- UseHttpHeaders
to provide eg. authentication data. Must not be null.getIndexRequest
- must not be null- Returns:
- the
Mono
emitting the response - Since:
- 4.2
-