Interface ElasticsearchClient

    • 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.