Class UserProvidedClientProvider
java.lang.Object
org.eclipse.rdf4j.sail.elasticsearchstore.UserProvidedClientProvider
- All Implemented Interfaces:
AutoCloseable
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 Summary
ConstructorsConstructorDescriptionUserProvidedClientProvider(co.elastic.clients.elasticsearch.ElasticsearchClient client) -
Method Summary
-
Constructor Details
-
UserProvidedClientProvider
public UserProvidedClientProvider(co.elastic.clients.elasticsearch.ElasticsearchClient client)
-
-
Method Details
-
getClient
public co.elastic.clients.elasticsearch.ElasticsearchClient getClient() -
isClosed
public boolean isClosed() -
close
public void close()- Specified by:
closein interfaceAutoCloseable
-