Interface ReactiveScriptOperations

All Known Subinterfaces:
ReactiveElasticsearchOperations
All Known Implementing Classes:
AbstractReactiveElasticsearchTemplate, ReactiveElasticsearchTemplate, ReactiveElasticsearchTemplate

public interface ReactiveScriptOperations
This interfaces defines the operations to access the Elasticsearch script API.
Since:
5.1
Author:
Peter-Josef Meisch
  • Method Summary

    Modifier and Type
    Method
    Description
    reactor.core.publisher.Mono<Boolean>
    Deletes the script with the given name
    reactor.core.publisher.Mono<Script>
    Gest the script with the given name.
    reactor.core.publisher.Mono<Boolean>
    putScript(Script script)
    Stores the given script in the Elasticsearch cluster.
  • Method Details

    • putScript

      reactor.core.publisher.Mono<Boolean> putScript(Script script)
      Stores the given script in the Elasticsearch cluster.
      Returns:
      {true if successful
    • getScript

      reactor.core.publisher.Mono<Script> getScript(String name)
      Gest the script with the given name.
      Parameters:
      name - the name of the script
      Returns:
      Script or null when a script with this name does not exist.
    • deleteScript

      reactor.core.publisher.Mono<Boolean> deleteScript(String name)
      Deletes the script with the given name
      Parameters:
      name - the name of the script.
      Returns:
      true if the request was acknowledged by the cluster.