Class PreviewTransformRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.transform.PreviewTransformRequest
- All Implemented Interfaces:
ElasticsearchCommonRequest,JsonpSerializable
- Direct Known Subclasses:
PutTransformRequest
@JsonpDeserializable public class PreviewTransformRequest extends RequestBase implements JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static classPreviewTransformRequest.AbstractBuilder<BuilderT extends PreviewTransformRequest.AbstractBuilder<BuilderT>>static classPreviewTransformRequest.BuilderBuilder forPreviewTransformRequest. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<PreviewTransformRequest>_DESERIALIZERJson deserializer forPreviewTransformRequest -
Constructor Summary
Constructors Constructor Description PreviewTransformRequest(PreviewTransformRequest.AbstractBuilder<?> builder) -
Method Summary
Modifier and Type Method Description static <TTransform>
Endpoint<PreviewTransformRequest,PreviewTransformResponse<TTransform>,ElasticsearchError>createPreviewTransformEndpoint(JsonpDeserializer<TTransform> tTransformDeserializer)Create an "transform.preview_transform" endpoint.java.lang.Stringdescription()Free text description of the transform.Destinationdest()The destination for the transform.java.lang.Stringfrequency()The interval between checks for changes in the source indices when the transform is running continuously.Latestlatest()The latest method transforms the data by finding the latest document for each unique key.Pivotpivot()The pivot method transforms the data by aggregating and grouping it.RetentionPolicyretentionPolicy()Defines a retention policy for the transform.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Settingssettings()Defines optional transform settings.protected static <BuilderT extends PreviewTransformRequest.AbstractBuilder<BuilderT>>
voidsetupPreviewTransformRequestDeserializer(DelegatingDeserializer<BuilderT> op)Sourcesource()The source of the data for the transform.Syncsync()Defines the properties transforms require to run continuously.java.lang.StringtransformId()The id of the transform to preview.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forPreviewTransformRequest
-
-
Constructor Details
-
PreviewTransformRequest
-
-
Method Details
-
transformId
@Nullable public java.lang.String transformId()The id of the transform to preview.API name:
transform_id -
dest
The destination for the transform.API name:
dest -
description
@Nullable public java.lang.String description()Free text description of the transform.API name:
description -
frequency
@Nullable public java.lang.String frequency()The interval between checks for changes in the source indices when the transform is running continuously. Also determines the retry interval in the event of transient failures while the transform is searching or indexing. The minimum value is 1s and the maximum is 1h.API name:
frequency -
pivot
The pivot method transforms the data by aggregating and grouping it. These objects define the group by fields and the aggregation to reduce the data.API name:
pivot -
source
The source of the data for the transform.API name:
source -
settings
Defines optional transform settings.API name:
settings -
sync
Defines the properties transforms require to run continuously.API name:
sync -
retentionPolicy
Defines a retention policy for the transform. Data that meets the defined criteria is deleted from the destination index.API name:
retention_policy -
latest
The latest method transforms the data by finding the latest document for each unique key.API name:
latest -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupPreviewTransformRequestDeserializer
protected static <BuilderT extends PreviewTransformRequest.AbstractBuilder<BuilderT>> void setupPreviewTransformRequestDeserializer(DelegatingDeserializer<BuilderT> op) -
createPreviewTransformEndpoint
public static <TTransform> Endpoint<PreviewTransformRequest,PreviewTransformResponse<TTransform>,ElasticsearchError> createPreviewTransformEndpoint(JsonpDeserializer<TTransform> tTransformDeserializer)Create an "transform.preview_transform" endpoint.
-