Class DelayedDataCheckConfig

java.lang.Object
org.elasticsearch.xpack.core.ml.datafeed.DelayedDataCheckConfig
All Implemented Interfaces:
Writeable, org.elasticsearch.xcontent.ToXContent, org.elasticsearch.xcontent.ToXContentObject

public class DelayedDataCheckConfig extends Object implements org.elasticsearch.xcontent.ToXContentObject, Writeable
  • Field Details

    • MAX_DELAYED_DATA_WINDOW

      public static final org.elasticsearch.core.TimeValue MAX_DELAYED_DATA_WINDOW
    • MAX_NUMBER_SPANABLE_BUCKETS

      public static final int MAX_NUMBER_SPANABLE_BUCKETS
      See Also:
    • ENABLED

      public static final org.elasticsearch.xcontent.ParseField ENABLED
    • CHECK_WINDOW

      public static final org.elasticsearch.xcontent.ParseField CHECK_WINDOW
    • LENIENT_PARSER

      public static final org.elasticsearch.xcontent.ConstructingObjectParser<DelayedDataCheckConfig,Void> LENIENT_PARSER
    • STRICT_PARSER

      public static final org.elasticsearch.xcontent.ConstructingObjectParser<DelayedDataCheckConfig,Void> STRICT_PARSER
  • Constructor Details

  • Method Details

    • defaultDelayedDataCheckConfig

      public static DelayedDataCheckConfig defaultDelayedDataCheckConfig()
    • enabledDelayedDataCheckConfig

      public static DelayedDataCheckConfig enabledDelayedDataCheckConfig(org.elasticsearch.core.TimeValue timeValue)
    • disabledDelayedDataCheckConfig

      public static DelayedDataCheckConfig disabledDelayedDataCheckConfig()
    • writeTo

      public void writeTo(StreamOutput out) throws IOException
      Specified by:
      writeTo in interface Writeable
      Throws:
      IOException
    • isEnabled

      public boolean isEnabled()
    • getCheckWindow

      @Nullable public org.elasticsearch.core.TimeValue getCheckWindow()
    • toXContent

      public org.elasticsearch.xcontent.XContentBuilder toXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params) throws IOException
      Specified by:
      toXContent in interface org.elasticsearch.xcontent.ToXContent
      Throws:
      IOException
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object