Class RollupRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.rollup.RollupRequest
- All Implemented Interfaces:
ElasticsearchCommonRequest,JsonpSerializable
@JsonpDeserializable public final class RollupRequest extends RequestBase implements JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRollupRequest.BuilderBuilder forRollupRequest.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<RollupRequest>_DESERIALIZERstatic Endpoint<RollupRequest,RollupResponse,ElasticsearchError>ENDPOINTEndpoint "rollup.rollup". -
Constructor Summary
Constructors Constructor Description RollupRequest(RollupRequest.Builder builder)RollupRequest(java.util.function.Function<RollupRequest.Builder,RollupRequest.Builder> fn) -
Method Summary
Modifier and Type Method Description JsonDataconfig()Required - Request body.protected static JsonpDeserializer<RollupRequest>createRollupRequestDeserializer()java.lang.Stringindex()Required - The index to roll upjava.lang.StringrollupIndex()Required - The name of the rollup index to createvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this value to JSON.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
-
ENDPOINT
Endpoint "rollup.rollup".
-
-
Constructor Details
-
RollupRequest
-
RollupRequest
-
-
Method Details
-
index
public java.lang.String index()Required - The index to roll upAPI name:
index -
rollupIndex
public java.lang.String rollupIndex()Required - The name of the rollup index to createAPI name:
rollup_index -
config
Required - Request body.API name:
_value_body -
serialize
Serialize this value to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
createRollupRequestDeserializer
-