Class RollupSearchRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.rollup.RollupSearchRequest
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable
public class RollupSearchRequest
extends RequestBase
implements JsonpSerializable
Enables searching rolled-up data using the standard query DSL.
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<RollupSearchRequest>Json deserializer forRollupSearchRequeststatic final SimpleEndpoint<RollupSearchRequest,?> Endpoint "rollup.rollup_search". -
Method Summary
Modifier and TypeMethodDescriptionfinal Map<String,Aggregation> API name:aggregationsstatic <TDocument>
Endpoint<RollupSearchRequest,RollupSearchResponse<TDocument>, ErrorResponse> createRollupSearchEndpoint(JsonpDeserializer<TDocument> tDocumentDeserializer) Create an "rollup.rollup_search" endpoint.index()Required - The indices or index-pattern(s) (containing rollup or regular data) that should be searchedstatic RollupSearchRequestfinal Queryquery()API name:queryvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal Integersize()Must be zero if set, as rollups work on pre-aggregated datafinal Stringtype()The doc type inside the indexMethods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
-
Field Details
-
_DESERIALIZER
Json deserializer forRollupSearchRequest -
_ENDPOINT
Endpoint "rollup.rollup_search".
-
-
Method Details
-
of
public static RollupSearchRequest of(Function<RollupSearchRequest.Builder, ObjectBuilder<RollupSearchRequest>> fn) -
aggregations
API name:aggregations -
index
Required - The indices or index-pattern(s) (containing rollup or regular data) that should be searchedAPI name:
index -
query
API name:query -
size
Must be zero if set, as rollups work on pre-aggregated dataAPI name:
size -
type
The doc type inside the indexAPI name:
type -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupRollupSearchRequestDeserializer
protected static void setupRollupSearchRequestDeserializer(ObjectDeserializer<RollupSearchRequest.Builder> op) -
createRollupSearchEndpoint
public static <TDocument> Endpoint<RollupSearchRequest,RollupSearchResponse<TDocument>, createRollupSearchEndpointErrorResponse> (JsonpDeserializer<TDocument> tDocumentDeserializer) Create an "rollup.rollup_search" endpoint.
-