Interface ElasticsearchClient

  • All Known Subinterfaces:
    ElasticsearchClientImplementor

    public interface ElasticsearchClient
    An Elasticsearch client, allowing to perform requests to a remote cluster.
    • Method Detail

      • unwrap

        <T> T unwrap​(Class<T> clientClass)
        Unwrap the client to some implementation-specific type.
        Type Parameters:
        T - The expected client type
        Parameters:
        clientClass - The Class representing the expected client type
        Returns:
        The unwrapped client.
        Throws:
        SearchException - if the client implementation does not support unwrapping to the given class.