Interface ElasticsearchRestTemplate.ClientCallback<T>
- Enclosing class:
- ElasticsearchRestTemplate
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Callback interface to be used with
ElasticsearchRestTemplate.execute(ClientCallback)
for operating directly on
RestHighLevelClient
.- Since:
- 4.0
-
Method Summary
Modifier and TypeMethodDescriptiondoWithClient
(org.elasticsearch.client.RestHighLevelClient client)
-
Method Details
-
doWithClient
- Throws:
IOException
-