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 Object implements org.elasticsearch.common.xcontent.ToXContentObject
  • Field Details

    • PARSER

      public static final org.elasticsearch.common.xcontent.ConstructingObjectParser<FieldSelection,​Void> PARSER
  • Method Details

    • included

      public static FieldSelection included(String name, Set<String> mappingTypes, boolean isRequired, FieldSelection.FeatureType featureType)
    • excluded

      public static FieldSelection excluded(String name, Set<String> mappingTypes, String reason)
    • toXContent

      public org.elasticsearch.common.xcontent.XContentBuilder toXContent(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params) throws IOException
      Specified by:
      toXContent in interface org.elasticsearch.common.xcontent.ToXContent
      Throws:
      IOException
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • getName

      public String getName()
    • getMappingTypes

      public Set<String> getMappingTypes()
    • isIncluded

      public boolean isIncluded()
    • isRequired

      public boolean isRequired()
    • getFeatureType

      @Nullable public FieldSelection.FeatureType getFeatureType()
    • getReason

      @Nullable public String getReason()