Class RollupSearchRequest

java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.rollup.RollupSearchRequest
All Implemented Interfaces:
ElasticsearchCommonRequest, JsonpSerializable

@JsonpDeserializable
public final class RollupSearchRequest
extends RequestBase
implements JsonpSerializable
  • Field Details

  • Constructor Details

  • Method Details

    • index

      public java.util.List<java.lang.String> index()
      Required - The indices or index-pattern(s) (containing rollup or regular data) that should be searched

      API name: index

    • type

      @Nullable public java.lang.String type()
      The doc type inside the index

      API name: type

    • typedKeys

      @Nullable public java.lang.Boolean typedKeys()
      Specify whether aggregation and suggester names should be prefixed by their respective types in the response

      API name: typed_keys

    • aggs

      @Nullable public java.util.Map<java.lang.String,​Aggregation> aggs()
      API name: aggs
    • query

      @Nullable public Query query()
      API name: query
    • size

      @Nullable public java.lang.Integer size()
      API name: size
    • serialize

      public void serialize​(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
      Serialize this object to JSON.
      Specified by:
      serialize in interface JsonpSerializable
    • serializeInternal

      protected void serializeInternal​(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
    • setupRollupSearchRequestDeserializer

      protected static void setupRollupSearchRequestDeserializer​(DelegatingDeserializer<RollupSearchRequest.Builder> op)
    • createRollupSearchEndpoint

      public static <TDocument> Endpoint<RollupSearchRequest,​RollupSearchResponse<TDocument>,​ElasticsearchError> createRollupSearchEndpoint​(JsonpDeserializer<TDocument> tDocumentDeserializer)
      Create an "rollup.rollup_search" endpoint.