Class FieldSelection
java.lang.Object
org.elasticsearch.client.ml.dataframe.explain.FieldSelection
- All Implemented Interfaces:
org.elasticsearch.common.xcontent.ToXContent
,org.elasticsearch.common.xcontent.ToXContentObject
public class FieldSelection
extends java.lang.Object
implements org.elasticsearch.common.xcontent.ToXContentObject
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FieldSelection.FeatureType
-
Field Summary
Fields Modifier and Type Field Description static org.elasticsearch.common.xcontent.ConstructingObjectParser<FieldSelection,java.lang.Void>
PARSER
-
Method Summary
Modifier and Type Method Description boolean
equals(java.lang.Object o)
static FieldSelection
excluded(java.lang.String name, java.util.Set<java.lang.String> mappingTypes, java.lang.String reason)
FieldSelection.FeatureType
getFeatureType()
java.util.Set<java.lang.String>
getMappingTypes()
java.lang.String
getName()
java.lang.String
getReason()
int
hashCode()
static FieldSelection
included(java.lang.String name, java.util.Set<java.lang.String> mappingTypes, boolean isRequired, FieldSelection.FeatureType featureType)
boolean
isIncluded()
boolean
isRequired()
org.elasticsearch.common.xcontent.XContentBuilder
toXContent(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params)
-
Field Details
-
PARSER
public static final org.elasticsearch.common.xcontent.ConstructingObjectParser<FieldSelection,java.lang.Void> PARSER
-
-
Method Details
-
included
public static FieldSelection included(java.lang.String name, java.util.Set<java.lang.String> mappingTypes, boolean isRequired, FieldSelection.FeatureType featureType) -
excluded
public static FieldSelection excluded(java.lang.String name, java.util.Set<java.lang.String> mappingTypes, java.lang.String reason) -
toXContent
public org.elasticsearch.common.xcontent.XContentBuilder toXContent(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params) throws java.io.IOException- Specified by:
toXContent
in interfaceorg.elasticsearch.common.xcontent.ToXContent
- Throws:
java.io.IOException
-
equals
public boolean equals(java.lang.Object o)- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()- Overrides:
hashCode
in classjava.lang.Object
-
getName
public java.lang.String getName() -
getMappingTypes
public java.util.Set<java.lang.String> getMappingTypes() -
isIncluded
public boolean isIncluded() -
isRequired
public boolean isRequired() -
getFeatureType
-
getReason
@Nullable public java.lang.String getReason()
-