Package org.opensearch.data.client.orhlc
Class RestClients
java.lang.Object
org.opensearch.data.client.orhlc.RestClients
Utility class for common access to OpenSearch clients.
RestClients consolidates set up routines for the
various drivers into a single place.- Since:
- 0.1
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic interfaceClientConfiguration.ClientConfigurationCallbackto configure the RestClient with aHttpAsyncClientBuilder -
Method Summary
Modifier and TypeMethodDescriptioncreate(ClientConfiguration clientConfiguration) Start here to create a new client tailored to your needs.
-
Method Details
-
create
Start here to create a new client tailored to your needs.- Returns:
- new instance of
RestClients.OpenSearchRestClient.
-