Class PreviewTransformRequest.AbstractBuilder<BuilderT extends PreviewTransformRequest.AbstractBuilder<BuilderT>>
java.lang.Object
co.elastic.clients.elasticsearch.transform.PreviewTransformRequest.AbstractBuilder<BuilderT>
- Direct Known Subclasses:
PreviewTransformRequest.Builder
,PutTransformRequest.AbstractBuilder
- Enclosing class:
- PreviewTransformRequest
protected abstract static class PreviewTransformRequest.AbstractBuilder<BuilderT extends PreviewTransformRequest.AbstractBuilder<BuilderT>>
extends java.lang.Object
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractBuilder()
-
Method Summary
Modifier and Type Method Description BuilderT
description(java.lang.String value)
Free text description of the transform.BuilderT
dest(Destination value)
The destination for the transform.BuilderT
dest(java.util.function.Function<Destination.Builder,ObjectBuilder<Destination>> fn)
The destination for the transform.BuilderT
frequency(java.lang.String value)
The interval between checks for changes in the source indices when the transform is running continuously.BuilderT
latest(Latest value)
The latest method transforms the data by finding the latest document for each unique key.BuilderT
latest(java.util.function.Function<Latest.Builder,ObjectBuilder<Latest>> fn)
The latest method transforms the data by finding the latest document for each unique key.BuilderT
pivot(Pivot value)
The pivot method transforms the data by aggregating and grouping it.BuilderT
pivot(java.util.function.Function<Pivot.Builder,ObjectBuilder<Pivot>> fn)
The pivot method transforms the data by aggregating and grouping it.BuilderT
retentionPolicy(RetentionPolicy value)
Defines a retention policy for the transform.BuilderT
retentionPolicy(java.util.function.Function<RetentionPolicy.Builder,ObjectBuilder<RetentionPolicy>> fn)
Defines a retention policy for the transform.protected abstract BuilderT
self()
BuilderT
settings(Settings value)
Defines optional transform settings.BuilderT
settings(java.util.function.Function<Settings.Builder,ObjectBuilder<Settings>> fn)
Defines optional transform settings.BuilderT
source(Source value)
The source of the data for the transform.BuilderT
source(java.util.function.Function<Source.Builder,ObjectBuilder<Source>> fn)
The source of the data for the transform.BuilderT
sync(Sync value)
Defines the properties transforms require to run continuously.BuilderT
sync(java.util.function.Function<Sync.Builder,ObjectBuilder<Sync>> fn)
Defines the properties transforms require to run continuously.BuilderT
transformId(java.lang.String value)
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
-
Constructor Details
-
AbstractBuilder
protected AbstractBuilder()
-
-
Method Details
-
transformId
The id of the transform to preview.API name:
transform_id
-
dest
The destination for the transform.API name:
dest
-
dest
public BuilderT dest(java.util.function.Function<Destination.Builder,ObjectBuilder<Destination>> fn)The destination for the transform.API name:
dest
-
description
Free text description of the transform.API name:
description
-
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
-
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
-
source
The source of the data for the transform.API name:
source
-
settings
Defines optional transform settings.API name:
settings
-
settings
public BuilderT settings(java.util.function.Function<Settings.Builder,ObjectBuilder<Settings>> fn)Defines optional transform settings.API name:
settings
-
sync
Defines the properties transforms require to run continuously.API name:
sync
-
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
-
retentionPolicy
public BuilderT retentionPolicy(java.util.function.Function<RetentionPolicy.Builder,ObjectBuilder<RetentionPolicy>> fn)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
-
latest
The latest method transforms the data by finding the latest document for each unique key.API name:
latest
-
self
-