Module org.elasticsearch.xcore
Class DelayedDataCheckConfig
java.lang.Object
org.elasticsearch.xpack.core.ml.datafeed.DelayedDataCheckConfig
- All Implemented Interfaces:
Writeable,org.elasticsearch.xcontent.ToXContent,org.elasticsearch.xcontent.ToXContentObject
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent
org.elasticsearch.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.xcontent.ToXContent.MapParams, org.elasticsearch.xcontent.ToXContent.ParamsNested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.elasticsearch.xcontent.ParseFieldstatic final org.elasticsearch.xcontent.ParseFieldstatic final org.elasticsearch.xcontent.ConstructingObjectParser<DelayedDataCheckConfig, Void> static final org.elasticsearch.core.TimeValuestatic final intstatic final org.elasticsearch.xcontent.ConstructingObjectParser<DelayedDataCheckConfig, Void> Fields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY, EMPTY_PARAMS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DelayedDataCheckConfigstatic DelayedDataCheckConfigstatic DelayedDataCheckConfigenabledDelayedDataCheckConfig(org.elasticsearch.core.TimeValue timeValue) booleanorg.elasticsearch.core.TimeValueinthashCode()booleanorg.elasticsearch.xcontent.XContentBuildertoXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params) voidwriteTo(StreamOutput out) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.xcontent.ToXContentObject
isFragment
-
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
-
DelayedDataCheckConfig
- Throws:
IOException
-
-
Method Details
-
defaultDelayedDataCheckConfig
-
enabledDelayedDataCheckConfig
public static DelayedDataCheckConfig enabledDelayedDataCheckConfig(org.elasticsearch.core.TimeValue timeValue) -
disabledDelayedDataCheckConfig
-
writeTo
- Specified by:
writeToin interfaceWriteable- 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:
toXContentin interfaceorg.elasticsearch.xcontent.ToXContent- Throws:
IOException
-
hashCode
public int hashCode() -
equals
-