Package org.elasticsearch.client
Class EqlClient
java.lang.Object
org.elasticsearch.client.EqlClient
Deprecated.
The High Level Rest Client is deprecated in favor of the
Elasticsearch Java API Client
A wrapper for the
RestHighLevelClient
that provides methods for
accessing the Elastic EQL related functions
See the EQL APIs on elastic.co for more information.
-
Method Summary
Modifier and TypeMethodDescriptionsearch
(EqlSearchRequest request, RequestOptions options) Deprecated.Executes the eql search query.searchAsync
(EqlSearchRequest request, RequestOptions options, ActionListener<EqlSearchResponse> listener) Deprecated.Asynchronously executes the eql search query.stats
(EqlStatsRequest request, RequestOptions options) Deprecated.Get the eql stats See the docs for more.statsAsync
(EqlStatsRequest request, RequestOptions options, ActionListener<EqlStatsResponse> listener) Deprecated.Asynchronously get the eql stats See the docs for more.
-
Method Details
-
search
public EqlSearchResponse search(EqlSearchRequest request, RequestOptions options) throws IOException Deprecated.Executes the eql search query.See the docs for more.
- Parameters:
request
- the requestoptions
- the request options (e.g. headers), useRequestOptions.DEFAULT
if nothing needs to be customized- Returns:
- the response
- Throws:
IOException
- in case there is a problem sending the request or parsing back the response
-
searchAsync
public Cancellable searchAsync(EqlSearchRequest request, RequestOptions options, ActionListener<EqlSearchResponse> listener) Deprecated.Asynchronously executes the eql search query.See the docs for more.
- Parameters:
request
- the requestoptions
- the request options (e.g. headers), useRequestOptions.DEFAULT
if nothing needs to be customizedlistener
- the listener to be notified upon request completion- Returns:
- cancellable that may be used to cancel the request
-
stats
Deprecated.Get the eql stats See the docs for more.- Parameters:
request
- the requestoptions
- the request options (e.g. headers), useRequestOptions.DEFAULT
if nothing needs to be customized- Returns:
- the response
- Throws:
IOException
- in case there is a problem sending the request or parsing back the response
-
statsAsync
public Cancellable statsAsync(EqlStatsRequest request, RequestOptions options, ActionListener<EqlStatsResponse> listener) Deprecated.Asynchronously get the eql stats See the docs for more.- Parameters:
request
- the requestoptions
- the request options (e.g. headers), useRequestOptions.DEFAULT
if nothing needs to be customizedlistener
- the listener to be notified upon request completion- Returns:
- cancellable that may be used to cancel the request
-