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.

@FunctionalInterface public static interface ElasticsearchRestTemplate.ClientCallback<T>
Callback interface to be used with ElasticsearchRestTemplate.execute(ClientCallback) for operating directly on RestHighLevelClient.
Since:
4.0
  • Method Summary

    Modifier and Type
    Method
    Description
    doWithClient(org.elasticsearch.client.RestHighLevelClient client)
     
  • Method Details

    • doWithClient

      T doWithClient(org.elasticsearch.client.RestHighLevelClient client) throws IOException
      Throws:
      IOException