- 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.
- Author:
- Christoph Strobl
-
Method Summary
default void
default org.elasticsearch.client.RestClient
Apply the configuration to create a RestClient.
org.elasticsearch.client.RestHighLevelClient
Apply the configuration to create a RestHighLevelClient.
-
Method Details
-
rest
org.elasticsearch.client.RestHighLevelClient rest()
Apply the configuration to create a RestHighLevelClient.
- Returns:
- new instance of
RestHighLevelClient.
-
lowLevelRest
default org.elasticsearch.client.RestClient lowLevelRest()
Apply the configuration to create a RestClient.
- Returns:
- new instance of
RestClient.
-