Interface ElasticsearchTemplate.ClientCallback<T>
- Enclosing class:
- ElasticsearchTemplate
- 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
ElasticsearchTemplate.execute(ElasticsearchTemplate.ClientCallback)
for operating directly on
the ElasticsearchClient
.-
Method Summary
Modifier and TypeMethodDescriptiondoWithClient
(co.elastic.clients.elasticsearch.ElasticsearchClient client)
-
Method Details
-
doWithClient
- Throws:
IOException
-