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 class
RuleScope.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.Builder
builder()
boolean
equals(java.lang.Object obj)
java.util.Set<java.lang.String>
getReferencedFilters()
int
hashCode()
boolean
isEmpty()
static ContextParser<java.lang.Void,RuleScope>
parser()
XContentBuilder
toXContent(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:
toXContent
in 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:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
builder
public static RuleScope.Builder builder()
-
-