Class GetRequest

java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.eql.GetRequest
All Implemented Interfaces:
ElasticsearchCommonRequest

public final class GetRequest
extends RequestBase
  • Constructor Details

  • Method Details

    • id

      public java.lang.String id()
      Required - Identifier for the search.

      API name: id

    • keepAlive

      @Nullable public java.lang.String keepAlive()
      Period for which the search and its results are stored on the cluster. Defaults to the keep_alive value set by the search’s EQL search API request.

      API name: keep_alive

    • waitForCompletionTimeout

      @Nullable public java.lang.String waitForCompletionTimeout()
      Timeout duration to wait for the request to finish. Defaults to no timeout, meaning the request waits for complete search results.

      API name: wait_for_completion_timeout

    • createGetEndpoint

      public static <TEvent> Endpoint<GetRequest,​GetResponse<TEvent>,​ElasticsearchError> createGetEndpoint​(JsonpDeserializer<TEvent> tEventDeserializer)
      Create an "eql.get" endpoint.