Class UserProvidedClientProvider

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

@Deprecated(since="5.3.0", forRemoval=true) public class UserProvidedClientProvider extends Object
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

    Constructors
    Constructor
    Description
    UserProvidedClientProvider(org.elasticsearch.client.Client client)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    org.elasticsearch.client.Client
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
     

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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:
      close in interface AutoCloseable