Class EsqlQueryRequest

All Implemented Interfaces:
CompositeIndicesRequest, Writeable, org.elasticsearch.core.RefCounted, TaskAwareRequest, TransportRequest

public class EsqlQueryRequest extends EsqlQueryRequest implements CompositeIndicesRequest
  • Field Details

    • DEFAULT_KEEP_ALIVE

      public static org.elasticsearch.core.TimeValue DEFAULT_KEEP_ALIVE
    • DEFAULT_WAIT_FOR_COMPLETION

      public static org.elasticsearch.core.TimeValue DEFAULT_WAIT_FOR_COMPLETION
  • Constructor Details

  • Method Details

    • syncEsqlQueryRequest

      public static EsqlQueryRequest syncEsqlQueryRequest()
    • asyncEsqlQueryRequest

      public static EsqlQueryRequest asyncEsqlQueryRequest()
    • validate

      Specified by:
      validate in class ActionRequest
    • query

      public EsqlQueryRequest query(String query)
    • query

      public String query()
      Specified by:
      query in class EsqlQueryRequest
    • async

      public boolean async()
    • columnar

      public void columnar(boolean columnar)
    • columnar

      public boolean columnar()
    • profile

      public void profile(boolean profile)
      Enable profiling, sacrificing performance to return information about what operations are taking the most time.
    • includeCCSMetadata

      public void includeCCSMetadata(boolean include)
    • includeCCSMetadata

      public boolean includeCCSMetadata()
    • profile

      public boolean profile()
      Is profiling enabled?
    • locale

      public void locale(Locale locale)
    • locale

      public Locale locale()
    • filter

      public EsqlQueryRequest filter(QueryBuilder filter)
    • filter

      public QueryBuilder filter()
      Specified by:
      filter in class EsqlQueryRequest
    • pragmas

      public EsqlQueryRequest pragmas(QueryPragmas pragmas)
    • pragmas

      public QueryPragmas pragmas()
    • params

      public QueryParams params()
    • params

      public void params(QueryParams params)
    • waitForCompletionTimeout

      public org.elasticsearch.core.TimeValue waitForCompletionTimeout()
    • waitForCompletionTimeout

      public void waitForCompletionTimeout(org.elasticsearch.core.TimeValue waitForCompletionTimeout)
    • keepAlive

      public org.elasticsearch.core.TimeValue keepAlive()
    • keepAlive

      public void keepAlive(org.elasticsearch.core.TimeValue keepAlive)
    • keepOnCompletion

      public boolean keepOnCompletion()
    • keepOnCompletion

      public void keepOnCompletion(boolean keepOnCompletion)
    • addTable

      public void addTable(String name, Map<String,Column> columns)
      Add a "table" to the request for use with things like LOOKUP.
    • tables

      public Map<String,Map<String,Column>> tables()
    • allowPartialResults

      public Boolean allowPartialResults()
    • allowPartialResults

      public EsqlQueryRequest allowPartialResults(boolean allowPartialResults)
    • createTask

      public Task createTask(TaskId taskId, String type, String action, TaskId parentTaskId, Map<String,String> headers)
      Specified by:
      createTask in interface TaskAwareRequest