Class ReactiveIndicesTemplate

java.lang.Object
org.opensearch.data.client.osc.ReactiveChildTemplate<org.opensearch.client.transport.OpenSearchTransport,ReactiveOpenSearchIndicesClient>
org.opensearch.data.client.osc.ReactiveIndicesTemplate
All Implemented Interfaces:
org.springframework.data.elasticsearch.core.ReactiveIndexOperations

public class ReactiveIndicesTemplate extends ReactiveChildTemplate<org.opensearch.client.transport.OpenSearchTransport,ReactiveOpenSearchIndicesClient> implements org.springframework.data.elasticsearch.core.ReactiveIndexOperations
Reactive Indices Template
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.opensearch.data.client.osc.ReactiveChildTemplate

    ReactiveChildTemplate.ClientCallback<CLIENT,RESULT extends org.reactivestreams.Publisher<?>>
  • Field Summary

    Fields inherited from class org.opensearch.data.client.osc.ReactiveChildTemplate

    client, elasticsearchConverter, exceptionTranslator, requestConverter, responseConverter
  • Constructor Summary

    Constructors
    Constructor
    Description
    ReactiveIndicesTemplate(ReactiveOpenSearchIndicesClient client, ReactiveClusterTemplate clusterTemplate, org.springframework.data.elasticsearch.core.convert.ElasticsearchConverter elasticsearchConverter, Class<?> clazz)
     
    ReactiveIndicesTemplate(ReactiveOpenSearchIndicesClient client, ReactiveClusterTemplate clusterTemplate, org.springframework.data.elasticsearch.core.convert.ElasticsearchConverter elasticsearchConverter, org.springframework.data.elasticsearch.core.mapping.IndexCoordinates index)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    reactor.core.publisher.Mono<Boolean>
    alias(org.springframework.data.elasticsearch.core.index.AliasActions aliasActions)
     
    reactor.core.publisher.Mono<Boolean>
     
    reactor.core.publisher.Mono<Boolean>
    create(Map<String,Object> settings)
     
    reactor.core.publisher.Mono<Boolean>
    create(Map<String,Object> settings, org.springframework.data.elasticsearch.core.document.Document mapping)
     
    reactor.core.publisher.Mono<org.springframework.data.elasticsearch.core.document.Document>
     
    reactor.core.publisher.Mono<org.springframework.data.elasticsearch.core.document.Document>
    createMapping(Class<?> clazz)
     
    reactor.core.publisher.Mono<org.springframework.data.elasticsearch.core.index.Settings>
     
    reactor.core.publisher.Mono<org.springframework.data.elasticsearch.core.index.Settings>
     
    reactor.core.publisher.Mono<Boolean>
     
    reactor.core.publisher.Mono<Boolean>
     
    reactor.core.publisher.Mono<Boolean>
    deleteComponentTemplate(org.springframework.data.elasticsearch.core.index.DeleteComponentTemplateRequest deleteComponentTemplateRequest)
     
    reactor.core.publisher.Mono<Boolean>
    deleteIndexTemplate(org.springframework.data.elasticsearch.core.index.DeleteIndexTemplateRequest deleteIndexTemplateRequest)
     
    reactor.core.publisher.Mono<Boolean>
    deleteTemplate(org.springframework.data.elasticsearch.core.index.DeleteTemplateRequest deleteTemplateRequest)
     
    reactor.core.publisher.Mono<Boolean>
     
    reactor.core.publisher.Mono<Boolean>
    existsComponentTemplate(org.springframework.data.elasticsearch.core.index.ExistsComponentTemplateRequest existsComponentTemplateRequest)
     
    reactor.core.publisher.Mono<Boolean>
    existsIndexTemplate(org.springframework.data.elasticsearch.core.index.ExistsIndexTemplateRequest existsIndexTemplateRequest)
     
    reactor.core.publisher.Mono<Boolean>
    existsTemplate(org.springframework.data.elasticsearch.core.index.ExistsTemplateRequest existsTemplateRequest)
     
    reactor.core.publisher.Mono<Map<String,Set<org.springframework.data.elasticsearch.core.index.AliasData>>>
    getAliases(String... aliasNames)
     
    reactor.core.publisher.Mono<Map<String,Set<org.springframework.data.elasticsearch.core.index.AliasData>>>
    getAliasesForIndex(String... indexNames)
     
    reactor.core.publisher.Flux<org.springframework.data.elasticsearch.core.index.TemplateResponse>
    getComponentTemplate(org.springframework.data.elasticsearch.core.index.GetComponentTemplateRequest getComponentTemplateRequest)
     
    org.springframework.data.elasticsearch.core.mapping.IndexCoordinates
     
    reactor.core.publisher.Flux<org.springframework.data.elasticsearch.core.index.TemplateResponse>
    getIndexTemplate(org.springframework.data.elasticsearch.core.index.GetIndexTemplateRequest getIndexTemplateRequest)
     
    reactor.core.publisher.Flux<org.springframework.data.elasticsearch.core.IndexInformation>
    getInformation(org.springframework.data.elasticsearch.core.mapping.IndexCoordinates index)
     
    reactor.core.publisher.Mono<org.springframework.data.elasticsearch.core.document.Document>
     
    reactor.core.publisher.Mono<org.springframework.data.elasticsearch.core.index.Settings>
    getSettings(boolean includeDefaults)
     
    reactor.core.publisher.Mono<org.springframework.data.elasticsearch.core.index.TemplateData>
    getTemplate(org.springframework.data.elasticsearch.core.index.GetTemplateRequest getTemplateRequest)
     
    reactor.core.publisher.Mono<Boolean>
    putComponentTemplate(org.springframework.data.elasticsearch.core.index.PutComponentTemplateRequest putComponentTemplateRequest)
     
    reactor.core.publisher.Mono<Boolean>
    putIndexTemplate(org.springframework.data.elasticsearch.core.index.PutIndexTemplateRequest putIndexTemplateRequest)
     
    reactor.core.publisher.Mono<Boolean>
    putMapping(reactor.core.publisher.Mono<org.springframework.data.elasticsearch.core.document.Document> mapping)
     
    reactor.core.publisher.Mono<Boolean>
    putTemplate(org.springframework.data.elasticsearch.core.index.PutTemplateRequest putTemplateRequest)
     
    reactor.core.publisher.Mono<Void>
     

    Methods inherited from class org.opensearch.data.client.osc.ReactiveChildTemplate

    execute

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.springframework.data.elasticsearch.core.ReactiveIndexOperations

    deleteIndexTemplate, deleteTemplate, existsIndexTemplate, existsTemplate, getIndexTemplate, getInformation, getSettings, getTemplate, putMapping, putMapping
  • Constructor Details

    • ReactiveIndicesTemplate

      public ReactiveIndicesTemplate(ReactiveOpenSearchIndicesClient client, ReactiveClusterTemplate clusterTemplate, org.springframework.data.elasticsearch.core.convert.ElasticsearchConverter elasticsearchConverter, org.springframework.data.elasticsearch.core.mapping.IndexCoordinates index)
    • ReactiveIndicesTemplate

      public ReactiveIndicesTemplate(ReactiveOpenSearchIndicesClient client, ReactiveClusterTemplate clusterTemplate, org.springframework.data.elasticsearch.core.convert.ElasticsearchConverter elasticsearchConverter, Class<?> clazz)
  • Method Details

    • create

      public reactor.core.publisher.Mono<Boolean> create()
      Specified by:
      create in interface org.springframework.data.elasticsearch.core.ReactiveIndexOperations
    • create

      public reactor.core.publisher.Mono<Boolean> create(Map<String,Object> settings)
      Specified by:
      create in interface org.springframework.data.elasticsearch.core.ReactiveIndexOperations
    • create

      public reactor.core.publisher.Mono<Boolean> create(Map<String,Object> settings, org.springframework.data.elasticsearch.core.document.Document mapping)
      Specified by:
      create in interface org.springframework.data.elasticsearch.core.ReactiveIndexOperations
    • createWithMapping

      public reactor.core.publisher.Mono<Boolean> createWithMapping()
      Specified by:
      createWithMapping in interface org.springframework.data.elasticsearch.core.ReactiveIndexOperations
    • delete

      public reactor.core.publisher.Mono<Boolean> delete()
      Specified by:
      delete in interface org.springframework.data.elasticsearch.core.ReactiveIndexOperations
    • exists

      public reactor.core.publisher.Mono<Boolean> exists()
      Specified by:
      exists in interface org.springframework.data.elasticsearch.core.ReactiveIndexOperations
    • refresh

      public reactor.core.publisher.Mono<Void> refresh()
      Specified by:
      refresh in interface org.springframework.data.elasticsearch.core.ReactiveIndexOperations
    • createMapping

      public reactor.core.publisher.Mono<org.springframework.data.elasticsearch.core.document.Document> createMapping()
      Specified by:
      createMapping in interface org.springframework.data.elasticsearch.core.ReactiveIndexOperations
    • createMapping

      public reactor.core.publisher.Mono<org.springframework.data.elasticsearch.core.document.Document> createMapping(Class<?> clazz)
      Specified by:
      createMapping in interface org.springframework.data.elasticsearch.core.ReactiveIndexOperations
    • putMapping

      public reactor.core.publisher.Mono<Boolean> putMapping(reactor.core.publisher.Mono<org.springframework.data.elasticsearch.core.document.Document> mapping)
      Specified by:
      putMapping in interface org.springframework.data.elasticsearch.core.ReactiveIndexOperations
    • getMapping

      public reactor.core.publisher.Mono<org.springframework.data.elasticsearch.core.document.Document> getMapping()
      Specified by:
      getMapping in interface org.springframework.data.elasticsearch.core.ReactiveIndexOperations
    • createSettings

      public reactor.core.publisher.Mono<org.springframework.data.elasticsearch.core.index.Settings> createSettings()
      Specified by:
      createSettings in interface org.springframework.data.elasticsearch.core.ReactiveIndexOperations
    • createSettings

      public reactor.core.publisher.Mono<org.springframework.data.elasticsearch.core.index.Settings> createSettings(Class<?> clazz)
      Specified by:
      createSettings in interface org.springframework.data.elasticsearch.core.ReactiveIndexOperations
    • getSettings

      public reactor.core.publisher.Mono<org.springframework.data.elasticsearch.core.index.Settings> getSettings(boolean includeDefaults)
      Specified by:
      getSettings in interface org.springframework.data.elasticsearch.core.ReactiveIndexOperations
    • alias

      public reactor.core.publisher.Mono<Boolean> alias(org.springframework.data.elasticsearch.core.index.AliasActions aliasActions)
      Specified by:
      alias in interface org.springframework.data.elasticsearch.core.ReactiveIndexOperations
    • getAliases

      public reactor.core.publisher.Mono<Map<String,Set<org.springframework.data.elasticsearch.core.index.AliasData>>> getAliases(String... aliasNames)
      Specified by:
      getAliases in interface org.springframework.data.elasticsearch.core.ReactiveIndexOperations
    • getAliasesForIndex

      public reactor.core.publisher.Mono<Map<String,Set<org.springframework.data.elasticsearch.core.index.AliasData>>> getAliasesForIndex(String... indexNames)
      Specified by:
      getAliasesForIndex in interface org.springframework.data.elasticsearch.core.ReactiveIndexOperations
    • putTemplate

      public reactor.core.publisher.Mono<Boolean> putTemplate(org.springframework.data.elasticsearch.core.index.PutTemplateRequest putTemplateRequest)
      Specified by:
      putTemplate in interface org.springframework.data.elasticsearch.core.ReactiveIndexOperations
    • putComponentTemplate

      public reactor.core.publisher.Mono<Boolean> putComponentTemplate(org.springframework.data.elasticsearch.core.index.PutComponentTemplateRequest putComponentTemplateRequest)
      Specified by:
      putComponentTemplate in interface org.springframework.data.elasticsearch.core.ReactiveIndexOperations
    • getComponentTemplate

      public reactor.core.publisher.Flux<org.springframework.data.elasticsearch.core.index.TemplateResponse> getComponentTemplate(org.springframework.data.elasticsearch.core.index.GetComponentTemplateRequest getComponentTemplateRequest)
      Specified by:
      getComponentTemplate in interface org.springframework.data.elasticsearch.core.ReactiveIndexOperations
    • existsComponentTemplate

      public reactor.core.publisher.Mono<Boolean> existsComponentTemplate(org.springframework.data.elasticsearch.core.index.ExistsComponentTemplateRequest existsComponentTemplateRequest)
      Specified by:
      existsComponentTemplate in interface org.springframework.data.elasticsearch.core.ReactiveIndexOperations
    • deleteComponentTemplate

      public reactor.core.publisher.Mono<Boolean> deleteComponentTemplate(org.springframework.data.elasticsearch.core.index.DeleteComponentTemplateRequest deleteComponentTemplateRequest)
      Specified by:
      deleteComponentTemplate in interface org.springframework.data.elasticsearch.core.ReactiveIndexOperations
    • putIndexTemplate

      public reactor.core.publisher.Mono<Boolean> putIndexTemplate(org.springframework.data.elasticsearch.core.index.PutIndexTemplateRequest putIndexTemplateRequest)
      Specified by:
      putIndexTemplate in interface org.springframework.data.elasticsearch.core.ReactiveIndexOperations
    • existsIndexTemplate

      public reactor.core.publisher.Mono<Boolean> existsIndexTemplate(org.springframework.data.elasticsearch.core.index.ExistsIndexTemplateRequest existsIndexTemplateRequest)
      Specified by:
      existsIndexTemplate in interface org.springframework.data.elasticsearch.core.ReactiveIndexOperations
    • getIndexTemplate

      public reactor.core.publisher.Flux<org.springframework.data.elasticsearch.core.index.TemplateResponse> getIndexTemplate(org.springframework.data.elasticsearch.core.index.GetIndexTemplateRequest getIndexTemplateRequest)
      Specified by:
      getIndexTemplate in interface org.springframework.data.elasticsearch.core.ReactiveIndexOperations
    • deleteIndexTemplate

      public reactor.core.publisher.Mono<Boolean> deleteIndexTemplate(org.springframework.data.elasticsearch.core.index.DeleteIndexTemplateRequest deleteIndexTemplateRequest)
      Specified by:
      deleteIndexTemplate in interface org.springframework.data.elasticsearch.core.ReactiveIndexOperations
    • getTemplate

      public reactor.core.publisher.Mono<org.springframework.data.elasticsearch.core.index.TemplateData> getTemplate(org.springframework.data.elasticsearch.core.index.GetTemplateRequest getTemplateRequest)
      Specified by:
      getTemplate in interface org.springframework.data.elasticsearch.core.ReactiveIndexOperations
    • existsTemplate

      public reactor.core.publisher.Mono<Boolean> existsTemplate(org.springframework.data.elasticsearch.core.index.ExistsTemplateRequest existsTemplateRequest)
      Specified by:
      existsTemplate in interface org.springframework.data.elasticsearch.core.ReactiveIndexOperations
    • deleteTemplate

      public reactor.core.publisher.Mono<Boolean> deleteTemplate(org.springframework.data.elasticsearch.core.index.DeleteTemplateRequest deleteTemplateRequest)
      Specified by:
      deleteTemplate in interface org.springframework.data.elasticsearch.core.ReactiveIndexOperations
    • getInformation

      public reactor.core.publisher.Flux<org.springframework.data.elasticsearch.core.IndexInformation> getInformation(org.springframework.data.elasticsearch.core.mapping.IndexCoordinates index)
      Specified by:
      getInformation in interface org.springframework.data.elasticsearch.core.ReactiveIndexOperations
    • getIndexCoordinates

      public org.springframework.data.elasticsearch.core.mapping.IndexCoordinates getIndexCoordinates()
      Specified by:
      getIndexCoordinates in interface org.springframework.data.elasticsearch.core.ReactiveIndexOperations