Interface Client

All Superinterfaces:
java.lang.AutoCloseable, java.io.Closeable, ElasticsearchClient, Releasable
All Known Implementing Classes:
AbstractClient, FilterClient, NodeClient, OriginSettingClient, ParentTaskAssigningClient, TransportClient

public interface Client
extends ElasticsearchClient, Releasable
A client provides a one stop interface for performing actions/operations against the cluster.

All operations performed are asynchronous by nature. Each action/operation has two flavors, the first simply returns an ActionFuture, while the second accepts an ActionListener.

A client can either be retrieved from a Node started, or connected remotely to one or more nodes using TransportClient.

See Also:
Node.client(), TransportClient