Interface ReactiveScriptOperations

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

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

    • putScript

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

      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

      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.