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.

@FunctionalInterface public static interface ElasticsearchTemplate.ClientCallback<T>
Callback interface to be used with ElasticsearchTemplate.execute(ElasticsearchTemplate.ClientCallback) for operating directly on the ElasticsearchClient.
  • Method Summary

    Modifier and Type
    Method
    Description
    doWithClient(co.elastic.clients.elasticsearch.ElasticsearchClient client)
     
  • Method Details

    • doWithClient

      T doWithClient(co.elastic.clients.elasticsearch.ElasticsearchClient client) throws IOException
      Throws:
      IOException