Class UserProvidedClientProvider
java.lang.Object
org.eclipse.rdf4j.sail.elasticsearchstore.UserProvidedClientProvider
- All Implemented Interfaces:
AutoCloseable
Deprecated, for removal: This API element is subject to removal in a future version.
Deprecated in preparation for an Elasticsearch client upgrade; this API will change or be removed in a
future release.
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(org.elasticsearch.client.Client client) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Deprecated, for removal: This API element is subject to removal in a future version.org.elasticsearch.client.ClientDeprecated, for removal: This API element is subject to removal in a future version.booleanisClosed()Deprecated, for removal: This API element is subject to removal in a future version.
-
Constructor Details
-
UserProvidedClientProvider
public UserProvidedClientProvider(org.elasticsearch.client.Client client) Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
getClient
public org.elasticsearch.client.Client getClient()Deprecated, for removal: This API element is subject to removal in a future version. -
isClosed
public boolean isClosed()Deprecated, for removal: This API element is subject to removal in a future version. -
close
public void close()Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
closein interfaceAutoCloseable
-