Class ElasticsearchEqlClient
java.lang.Object
co.elastic.clients.base.ApiClient
co.elastic.clients.elasticsearch.eql.ElasticsearchEqlClient
public class ElasticsearchEqlClient extends ApiClient
Client for the eql namespace.
-
Field Summary
-
Constructor Summary
Constructors Constructor Description ElasticsearchEqlClient(Transport transport)
-
Method Summary
Modifier and Type Method Description DeleteResponse
delete(DeleteRequest request)
Deletes an async EQL search by ID.DeleteResponse
delete(java.util.function.Function<DeleteRequest.Builder,ObjectBuilder<DeleteRequest>> fn)
Deletes an async EQL search by ID.<TEvent> GetResponse<TEvent>
get(GetRequest request, java.lang.Class<TEvent> tEventClass)
Returns async results from previously executed Event Query Language (EQL) search<TEvent> GetResponse<TEvent>
get(java.util.function.Function<GetRequest.Builder,ObjectBuilder<GetRequest>> fn, java.lang.Class<TEvent> tEventClass)
Returns async results from previously executed Event Query Language (EQL) searchGetStatusResponse
getStatus(GetStatusRequest request)
Returns the status of a previously submitted async or stored Event Query Language (EQL) searchGetStatusResponse
getStatus(java.util.function.Function<GetStatusRequest.Builder,ObjectBuilder<GetStatusRequest>> fn)
Returns the status of a previously submitted async or stored Event Query Language (EQL) search<TEvent> SearchResponse<TEvent>
search(SearchRequest request, java.lang.Class<TEvent> tEventClass)
Returns results matching a query expressed in Event Query Language (EQL)<TEvent> SearchResponse<TEvent>
search(java.util.function.Function<SearchRequest.Builder,ObjectBuilder<SearchRequest>> fn, java.lang.Class<TEvent> tEventClass)
Returns results matching a query expressed in Event Query Language (EQL)Methods inherited from class co.elastic.clients.base.ApiClient
_transport, getDeserializer
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ElasticsearchEqlClient
-
-
Method Details
-
delete
Deletes an async EQL search by ID. If the search is still running, the search request will be cancelled. Otherwise, the saved search results are deleted.- Throws:
java.io.IOException
- See Also:
- Documentation on elastic.co
-
delete
public final DeleteResponse delete(java.util.function.Function<DeleteRequest.Builder,ObjectBuilder<DeleteRequest>> fn) throws java.io.IOExceptionDeletes an async EQL search by ID. If the search is still running, the search request will be cancelled. Otherwise, the saved search results are deleted.- Parameters:
fn
- a function that initializes a freshly created builder. This function can either return its builder argument after having set its properties or return another builder.- Throws:
java.io.IOException
- See Also:
- Documentation on elastic.co
-
get
public <TEvent> GetResponse<TEvent> get(GetRequest request, java.lang.Class<TEvent> tEventClass) throws java.io.IOExceptionReturns async results from previously executed Event Query Language (EQL) search- Throws:
java.io.IOException
- See Also:
- Documentation on elastic.co
-
get
public final <TEvent> GetResponse<TEvent> get(java.util.function.Function<GetRequest.Builder,ObjectBuilder<GetRequest>> fn, java.lang.Class<TEvent> tEventClass) throws java.io.IOExceptionReturns async results from previously executed Event Query Language (EQL) search- Parameters:
fn
- a function that initializes a freshly created builder. This function can either return its builder argument after having set its properties or return another builder.- Throws:
java.io.IOException
- See Also:
- Documentation on elastic.co
-
getStatus
Returns the status of a previously submitted async or stored Event Query Language (EQL) search- Throws:
java.io.IOException
- See Also:
- Documentation on elastic.co
-
getStatus
public final GetStatusResponse getStatus(java.util.function.Function<GetStatusRequest.Builder,ObjectBuilder<GetStatusRequest>> fn) throws java.io.IOExceptionReturns the status of a previously submitted async or stored Event Query Language (EQL) search- Parameters:
fn
- a function that initializes a freshly created builder. This function can either return its builder argument after having set its properties or return another builder.- Throws:
java.io.IOException
- See Also:
- Documentation on elastic.co
-
search
public <TEvent> SearchResponse<TEvent> search(SearchRequest request, java.lang.Class<TEvent> tEventClass) throws java.io.IOExceptionReturns results matching a query expressed in Event Query Language (EQL)- Throws:
java.io.IOException
- See Also:
- Documentation on elastic.co
-
search
public final <TEvent> SearchResponse<TEvent> search(java.util.function.Function<SearchRequest.Builder,ObjectBuilder<SearchRequest>> fn, java.lang.Class<TEvent> tEventClass) throws java.io.IOExceptionReturns results matching a query expressed in Event Query Language (EQL)- Parameters:
fn
- a function that initializes a freshly created builder. This function can either return its builder argument after having set its properties or return another builder.- Throws:
java.io.IOException
- See Also:
- Documentation on elastic.co
-