Class FilterRef
- java.lang.Object
-
- org.elasticsearch.client.ml.job.config.FilterRef
-
- All Implemented Interfaces:
ToXContent,ToXContentObject
public class FilterRef extends Object implements ToXContentObject
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFilterRef.FilterType-
Nested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
-
-
Field Summary
Fields Modifier and Type Field Description static ParseFieldFILTER_IDstatic ParseFieldFILTER_REF_FIELDstatic ParseFieldFILTER_TYPEstatic ConstructingObjectParser<FilterRef,Void>PARSER-
Fields inherited from interface org.elasticsearch.common.xcontent.ToXContent
EMPTY_PARAMS
-
-
Constructor Summary
Constructors Constructor Description FilterRef(String filterId, FilterRef.FilterType filterType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetFilterId()FilterRef.FilterTypegetFilterType()inthashCode()XContentBuildertoXContent(XContentBuilder builder, ToXContent.Params params)-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.elasticsearch.common.xcontent.ToXContentObject
isFragment
-
-
-
-
Field Detail
-
FILTER_REF_FIELD
public static final ParseField FILTER_REF_FIELD
-
FILTER_ID
public static final ParseField FILTER_ID
-
FILTER_TYPE
public static final ParseField FILTER_TYPE
-
PARSER
public static final ConstructingObjectParser<FilterRef,Void> PARSER
-
-
Constructor Detail
-
FilterRef
public FilterRef(String filterId, FilterRef.FilterType filterType)
-
-
Method Detail
-
toXContent
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
- Specified by:
toXContentin interfaceToXContent- Throws:
IOException
-
getFilterId
public String getFilterId()
-
getFilterType
public FilterRef.FilterType getFilterType()
-
-