Class UserProvidedClientProvider

java.lang.Object
org.eclipse.rdf4j.sail.elasticsearchstore.UserProvidedClientProvider
All Implemented Interfaces:
AutoCloseable

public class UserProvidedClientProvider extends Object
Used by the user to provide an Elasticsearch Client to the ElasticsearchStore instead of providing host, port, cluster information. The client provided by the user is not closed by the ElasticsearchStore.
Author:
Håvard Mikkelsen Ottestad
  • Constructor Details Link icon

    • UserProvidedClientProvider Link icon

      public UserProvidedClientProvider(org.elasticsearch.client.Client client)
  • Method Details Link icon

    • getClient Link icon

      public org.elasticsearch.client.Client getClient()
    • isClosed Link icon

      public boolean isClosed()
    • close Link icon

      public void close()
      Specified by:
      close in interface AutoCloseable