Package org.opensearch.data.client.orhlc
Interface RestClients.OpenSearchRestClient
- All Superinterfaces:
AutoCloseable,Closeable
- Enclosing class:
- RestClients
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Details
-
rest
org.opensearch.client.RestHighLevelClient rest()Apply the configuration to create aRestHighLevelClient.- Returns:
- new instance of
RestHighLevelClient.
-
lowLevelRest
default org.opensearch.client.RestClient lowLevelRest()Apply the configuration to create aRestClient.- Returns:
- new instance of
RestClient.
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-