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 Details

    • AbstractBuilder

      protected AbstractBuilder()
  • Method Details

    • transformId

      public BuilderT transformId​(@Nullable java.lang.String value)
      The id of the transform to preview.

      API name: transform_id

    • dest

      public BuilderT dest​(@Nullable Destination value)
      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

      public BuilderT description​(@Nullable java.lang.String value)
      Free text description of the transform.

      API name: description

    • frequency

      public BuilderT frequency​(@Nullable java.lang.String value)
      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

      public BuilderT pivot​(@Nullable Pivot value)
      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

      public BuilderT pivot​(java.util.function.Function<Pivot.Builder,​ObjectBuilder<Pivot>> fn)
      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

      public BuilderT source​(@Nullable Source value)
      The source of the data for the transform.

      API name: source

    • source

      public BuilderT source​(java.util.function.Function<Source.Builder,​ObjectBuilder<Source>> fn)
      The source of the data for the transform.

      API name: source

    • settings

      public BuilderT settings​(@Nullable Settings value)
      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

      public BuilderT sync​(@Nullable Sync value)
      Defines the properties transforms require to run continuously.

      API name: sync

    • sync

      public BuilderT sync​(java.util.function.Function<Sync.Builder,​ObjectBuilder<Sync>> fn)
      Defines the properties transforms require to run continuously.

      API name: sync

    • retentionPolicy

      public BuilderT retentionPolicy​(@Nullable RetentionPolicy value)
      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

      public BuilderT latest​(@Nullable Latest value)
      The latest method transforms the data by finding the latest document for each unique key.

      API name: latest

    • latest

      public 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.

      API name: latest

    • self

      protected abstract BuilderT self()