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
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RollupSearchRequest.Builder
Builder forRollupSearchRequest
.Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>>
-
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<RollupSearchRequest>
_DESERIALIZER
Json deserializer forRollupSearchRequest
-
Constructor Summary
Constructors Constructor Description RollupSearchRequest(RollupSearchRequest.Builder builder)
RollupSearchRequest(java.util.function.Function<RollupSearchRequest.Builder,RollupSearchRequest.Builder> fn)
-
Method Summary
Modifier and Type Method Description java.util.Map<java.lang.String,Aggregation>
aggs()
API name:aggs
static <TDocument>
Endpoint<RollupSearchRequest,RollupSearchResponse<TDocument>,ElasticsearchError>createRollupSearchEndpoint(JsonpDeserializer<TDocument> tDocumentDeserializer)
Create an "rollup.rollup_search
" endpoint.java.util.List<java.lang.String>
index()
Required - The indices or index-pattern(s) (containing rollup or regular data) that should be searchedQuery
query()
API name:query
void
serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
Serialize this object to JSON.protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static void
setupRollupSearchRequestDeserializer(DelegatingDeserializer<RollupSearchRequest.Builder> op)
java.lang.Integer
size()
API name:size
java.lang.String
type()
The doc type inside the indexjava.lang.Boolean
typedKeys()
Specify whether aggregation and suggester names should be prefixed by their respective types in the responseMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forRollupSearchRequest
-
-
Constructor Details
-
RollupSearchRequest
-
RollupSearchRequest
public RollupSearchRequest(java.util.function.Function<RollupSearchRequest.Builder,RollupSearchRequest.Builder> fn)
-
-
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 searchedAPI name:
index
-
type
@Nullable public java.lang.String type()The doc type inside the indexAPI name:
type
-
typedKeys
@Nullable public java.lang.Boolean typedKeys()Specify whether aggregation and suggester names should be prefixed by their respective types in the responseAPI name:
typed_keys
-
aggs
API name:aggs
-
query
API name:query
-
size
@Nullable public java.lang.Integer size()API name:size
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
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.
-