@FunctionalInterface public static interface RestClients.ElasticsearchRestClient extends Closeable
| Modifier and Type | Method and Description |
|---|---|
default void |
close() |
default org.elasticsearch.client.RestClient |
lowLevelRest()
Apply the configuration to create a
RestClient. |
org.elasticsearch.client.RestHighLevelClient |
rest()
Apply the configuration to create a
RestHighLevelClient. |
org.elasticsearch.client.RestHighLevelClient rest()
RestHighLevelClient.RestHighLevelClient.default org.elasticsearch.client.RestClient lowLevelRest()
RestClient.RestClient.default void close()
throws IOException
close in interface AutoCloseableclose in interface CloseableIOExceptionCopyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.