Class ElasticsearchEqlAsyncClient

java.lang.Object
co.elastic.clients.base.ApiClient
co.elastic.clients.elasticsearch.eql.ElasticsearchEqlAsyncClient

public class ElasticsearchEqlAsyncClient
extends ApiClient
Client for the eql namespace.
  • Constructor Details

    • ElasticsearchEqlAsyncClient

      public ElasticsearchEqlAsyncClient​(Transport transport)
  • Method Details

    • delete

      public java.util.concurrent.CompletableFuture<DeleteResponse> delete​(DeleteRequest request) throws java.io.IOException
      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 java.util.concurrent.CompletableFuture<DeleteResponse> delete​(java.util.function.Function<DeleteRequest.Builder,​ObjectBuilder<DeleteRequest>> fn) throws java.io.IOException
      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.
      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> java.util.concurrent.CompletableFuture<GetResponse<TEvent>> get​(GetRequest request, java.lang.Class<TEvent> tEventClass) throws java.io.IOException
      Returns async results from previously executed Event Query Language (EQL) search
      Throws:
      java.io.IOException
      See Also:
      Documentation on elastic.co
    • get

      public final <TEvent> java.util.concurrent.CompletableFuture<GetResponse<TEvent>> get​(java.util.function.Function<GetRequest.Builder,​ObjectBuilder<GetRequest>> fn, java.lang.Class<TEvent> tEventClass) throws java.io.IOException
      Returns 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

      public java.util.concurrent.CompletableFuture<GetStatusResponse> getStatus​(GetStatusRequest request) throws java.io.IOException
      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 java.util.concurrent.CompletableFuture<GetStatusResponse> getStatus​(java.util.function.Function<GetStatusRequest.Builder,​ObjectBuilder<GetStatusRequest>> fn) throws java.io.IOException
      Returns 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> java.util.concurrent.CompletableFuture<SearchResponse<TEvent>> search​(SearchRequest request, java.lang.Class<TEvent> tEventClass) throws java.io.IOException
      Returns results matching a query expressed in Event Query Language (EQL)
      Throws:
      java.io.IOException
      See Also:
      Documentation on elastic.co
    • search

      public final <TEvent> java.util.concurrent.CompletableFuture<SearchResponse<TEvent>> search​(java.util.function.Function<SearchRequest.Builder,​ObjectBuilder<SearchRequest>> fn, java.lang.Class<TEvent> tEventClass) throws java.io.IOException
      Returns 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