Module org.elasticsearch.xcore
Class SettingsConfig
java.lang.Object
org.elasticsearch.xpack.core.transform.transforms.SettingsConfig
- All Implemented Interfaces:
Writeable,ToXContent,ToXContentObject
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, 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 SettingsConfigstatic final ConstructingObjectParser<SettingsConfig, Void> static final intstatic final ConstructingObjectParser<SettingsConfig, Void> Fields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY_PARAMS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcheckForDeprecations(String id, NamedXContentRegistry namedXContentRegistry, Consumer<DeprecationIssue> onDeprecation) booleanstatic SettingsConfigfromXContent(XContentParser parser, boolean lenient) inthashCode()toString()toXContent(XContentBuilder builder, ToXContent.Params params) validate(ActionRequestValidationException validationException) voidwriteTo(StreamOutput out) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.elasticsearch.xcontent.ToXContentObject
isFragment
-
Field Details
-
EMPTY
-
STRICT_PARSER
-
LENIENT_PARSER
-
MAX_NUM_FAILURE_RETRIES
public static final int MAX_NUM_FAILURE_RETRIES- See Also:
-
-
Constructor Details
-
SettingsConfig
-
SettingsConfig
- Throws:
IOException
-
-
Method Details
-
getMaxPageSearchSize
-
getDocsPerSecond
-
validate
public ActionRequestValidationException validate(ActionRequestValidationException validationException) -
checkForDeprecations
public void checkForDeprecations(String id, NamedXContentRegistry namedXContentRegistry, Consumer<DeprecationIssue> onDeprecation) -
writeTo
- Specified by:
writeToin interfaceWriteable- Throws:
IOException
-
toXContent
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException - Specified by:
toXContentin interfaceToXContent- Throws:
IOException
-
equals
-
hashCode
public int hashCode() -
toString
-
fromXContent
public static SettingsConfig fromXContent(XContentParser parser, boolean lenient) throws IOException - Throws:
IOException
-