Class RollupRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.rollup.RollupRequest
- All Implemented Interfaces:
JsonpSerializable
Rollup an index
- 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<RollupRequest>static final Endpoint<RollupRequest,RollupResponse, ErrorResponse> Endpoint "rollup.rollup". -
Method Summary
Modifier and TypeMethodDescriptionfinal JsonDataconfig()Required - Request body.protected static JsonpDeserializer<RollupRequest>final Stringindex()Required - The index to roll upstatic RollupRequestfinal StringRequired - The name of the rollup index to createvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this value to JSON.Methods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
-
Field Details
-
_DESERIALIZER
-
_ENDPOINT
Endpoint "rollup.rollup".
-
-
Method Details
-
of
-
index
Required - The index to roll upAPI name:
index -
rollupIndex
Required - The name of the rollup index to createAPI name:
rollup_index -
config
Required - Request body. -
serialize
Serialize this value to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
createRollupRequestDeserializer
-