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.- Since:
- 4.4
- Author:
- Peter-Josef Meisch, Hamid Rahimi, Illia Ulianov, Haibo Liu
-
Method Summary
Modifier and TypeMethodDescriptiondoWithClient(co.elastic.clients.elasticsearch.ElasticsearchClient client)
-
Method Details
-
doWithClient
- Throws:
IOException
-