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.
  • Constructor Details

    • ElasticsearchEqlClient

      public ElasticsearchEqlClient​(Transport transport)
  • Method Details

    • delete

      public 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 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> 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> 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 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 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> 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> 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