Interface Client

All Superinterfaces:
AutoCloseable, Closeable, ElasticsearchClient, org.elasticsearch.core.Releasable
All Known Implementing Classes:
AbstractClient, FilterClient, NodeClient, OriginSettingClient, ParentTaskAssigningClient, RestCancellableNodeClient

public interface Client extends ElasticsearchClient, org.elasticsearch.core.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 be retrieved from a started Node.

See Also: