Package org.elasticsearch.client.ml
Class GetDataFrameAnalyticsRequest
- java.lang.Object
-
- org.elasticsearch.client.ml.GetDataFrameAnalyticsRequest
-
- All Implemented Interfaces:
Validatable
public class GetDataFrameAnalyticsRequest extends Object implements Validatable
-
-
Field Summary
Fields Modifier and Type Field Description static ParseFieldALLOW_NO_MATCH-
Fields inherited from interface org.elasticsearch.client.Validatable
EMPTY
-
-
Constructor Summary
Constructors Constructor Description GetDataFrameAnalyticsRequest(String... ids)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static GetDataFrameAnalyticsRequestgetAllDataFrameAnalyticsRequest()Helper method to create a request that will get ALL Data Frame AnalyticsBooleangetAllowNoMatch()List<String>getIds()PageParamsgetPageParams()inthashCode()GetDataFrameAnalyticsRequestsetAllowNoMatch(boolean allowNoMatch)Whether to ignore if a wildcard expression matches no data frame analytics.GetDataFrameAnalyticsRequestsetPageParams(PageParams pageParams)Optional<ValidationException>validate()Perform validation.
-
-
-
Field Detail
-
ALLOW_NO_MATCH
public static final ParseField ALLOW_NO_MATCH
-
-
Constructor Detail
-
GetDataFrameAnalyticsRequest
public GetDataFrameAnalyticsRequest(String... ids)
-
-
Method Detail
-
getAllDataFrameAnalyticsRequest
public static GetDataFrameAnalyticsRequest getAllDataFrameAnalyticsRequest()
Helper method to create a request that will get ALL Data Frame Analytics- Returns:
- new
GetDataFrameAnalyticsRequestobject for the id "_all"
-
getAllowNoMatch
public Boolean getAllowNoMatch()
-
setAllowNoMatch
public GetDataFrameAnalyticsRequest setAllowNoMatch(boolean allowNoMatch)
Whether to ignore if a wildcard expression matches no data frame analytics.- Parameters:
allowNoMatch- If this isfalse, then an error is returned when a wildcard (or_all) does not match any data frame analytics
-
getPageParams
public PageParams getPageParams()
-
setPageParams
public GetDataFrameAnalyticsRequest setPageParams(@Nullable PageParams pageParams)
-
validate
public Optional<ValidationException> validate()
Description copied from interface:ValidatablePerform validation. This method does not have to be overridden in the event that no validation needs to be done, or the validation was done during object construction time. AValidationExceptionthat is not null is assumed to contain validation errors and will be thrown.- Specified by:
validatein interfaceValidatable- Returns:
- An
OptionalValidationExceptionthat contains a list of validation errors.
-
-