Class RuleScope
- java.lang.Object
-
- org.elasticsearch.client.ml.job.config.RuleScope
-
- All Implemented Interfaces:
ToXContent,ToXContentObject
public class RuleScope extends java.lang.Object implements ToXContentObject
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRuleScope.Builder-
Nested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
-
-
Field Summary
-
Fields inherited from interface org.elasticsearch.common.xcontent.ToXContent
EMPTY_PARAMS
-
-
Method Summary
Modifier and Type Method Description static RuleScope.Builderbuilder()booleanequals(java.lang.Object obj)java.util.Set<java.lang.String>getReferencedFilters()inthashCode()booleanisEmpty()static ContextParser<java.lang.Void,RuleScope>parser()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
-
-
-
-
Constructor Detail
-
RuleScope
public RuleScope()
-
RuleScope
public RuleScope(java.util.Map<java.lang.String,FilterRef> scope)
-
-
Method Detail
-
parser
public static ContextParser<java.lang.Void,RuleScope> parser()
-
toXContent
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
- Specified by:
toXContentin interfaceToXContent- Throws:
java.io.IOException
-
isEmpty
public boolean isEmpty()
-
getReferencedFilters
public java.util.Set<java.lang.String> getReferencedFilters()
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
builder
public static RuleScope.Builder builder()
-
-