Package org.opensearch.data.client.osc
Class ClusterTemplate
java.lang.Object
org.opensearch.data.client.osc.ChildTemplate<org.opensearch.client.transport.OpenSearchTransport,org.opensearch.client.opensearch.cluster.OpenSearchClusterClient>
org.opensearch.data.client.osc.ClusterTemplate
- All Implemented Interfaces:
org.springframework.data.elasticsearch.core.cluster.ClusterOperations
public class ClusterTemplate
extends ChildTemplate<org.opensearch.client.transport.OpenSearchTransport,org.opensearch.client.opensearch.cluster.OpenSearchClusterClient>
implements org.springframework.data.elasticsearch.core.cluster.ClusterOperations
Implementation of the
ClusterOperations interface using en OpenSearchClusterClient.- Since:
- 4.4
-
Nested Class Summary
Nested classes/interfaces inherited from class org.opensearch.data.client.osc.ChildTemplate
ChildTemplate.ClientCallback<CLIENT,RESULT> -
Field Summary
Fields inherited from class org.opensearch.data.client.osc.ChildTemplate
client, exceptionTranslator, requestConverter, responseConverter -
Constructor Summary
ConstructorsConstructorDescriptionClusterTemplate(org.opensearch.client.opensearch.cluster.OpenSearchClusterClient client, org.springframework.data.elasticsearch.core.convert.ElasticsearchConverter elasticsearchConverter) -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.data.elasticsearch.core.cluster.ClusterHealthhealth()Methods inherited from class org.opensearch.data.client.osc.ChildTemplate
execute
-
Constructor Details
-
ClusterTemplate
public ClusterTemplate(org.opensearch.client.opensearch.cluster.OpenSearchClusterClient client, org.springframework.data.elasticsearch.core.convert.ElasticsearchConverter elasticsearchConverter)
-
-
Method Details
-
health
public org.springframework.data.elasticsearch.core.cluster.ClusterHealth health()- Specified by:
healthin interfaceorg.springframework.data.elasticsearch.core.cluster.ClusterOperations
-