Class FilterRef
- java.lang.Object
-
- org.elasticsearch.client.ml.job.config.FilterRef
-
- All Implemented Interfaces:
ToXContent,ToXContentObject
public class FilterRef extends java.lang.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,java.lang.Void>PARSER-
Fields inherited from interface org.elasticsearch.common.xcontent.ToXContent
EMPTY_PARAMS
-
-
Constructor Summary
Constructors Constructor Description FilterRef(java.lang.String filterId, FilterRef.FilterType filterType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.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,java.lang.Void> PARSER
-
-
Constructor Detail
-
FilterRef
public FilterRef(java.lang.String filterId, FilterRef.FilterType filterType)
-
-
Method Detail
-
toXContent
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
- Specified by:
toXContentin interfaceToXContent- Throws:
java.io.IOException
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
getFilterId
public java.lang.String getFilterId()
-
getFilterType
public FilterRef.FilterType getFilterType()
-
-