Record Class DataStreamLifecycle.DownsamplingRound

java.lang.Object
java.lang.Record
org.elasticsearch.cluster.metadata.DataStreamLifecycle.DownsamplingRound
Record Components:
after - is a TimeValue configuring how old (based on generation age) should a backing index be before downsampling
config - contains the interval that the backing index is going to be downsampled.
All Implemented Interfaces:
Writeable, ToXContent, ToXContentObject
Enclosing class:
DataStreamLifecycle

public static record DataStreamLifecycle.DownsamplingRound(TimeValue after, DownsampleConfig config) extends Record implements Writeable, ToXContentObject
A round represents the configuration for when and how elasticsearch will downsample a backing index.
  • Field Details

    • AFTER_FIELD

      public static final ParseField AFTER_FIELD
    • FIXED_INTERVAL_FIELD

      public static final ParseField FIXED_INTERVAL_FIELD
    • FIVE_MINUTES_MILLIS

      public static final long FIVE_MINUTES_MILLIS
  • Constructor Details

    • DownsamplingRound

      public DownsamplingRound(TimeValue after, DownsampleConfig config)
      Creates an instance of a DownsamplingRound record class.
      Parameters:
      after - the value for the after record component
      config - the value for the config record component
  • Method Details