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 Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<Boolean>
deleteScript
(String name) Deletes the script with the given namereactor.core.publisher.Mono<Script>
Gest the script with the given name.reactor.core.publisher.Mono<Boolean>
Stores the given script in the Elasticsearch cluster.
-
Method Details
-
putScript
Stores the given script in the Elasticsearch cluster.- Returns:
- {true if successful
-
getScript
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
Deletes the script with the given name- Parameters:
name
- the name of the script.- Returns:
- true if the request was acknowledged by the cluster.
-