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  

    Nested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent

    org.elasticsearch.common.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.common.xcontent.ToXContent.MapParams, org.elasticsearch.common.xcontent.ToXContent.Params
  • Field Summary

    Fields 
    Modifier and Type Field Description
    static org.elasticsearch.common.xcontent.ConstructingObjectParser<FieldSelection,​java.lang.Void> PARSER  

    Fields inherited from interface org.elasticsearch.common.xcontent.ToXContent

    EMPTY_PARAMS
  • 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)  

    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 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 interface org.elasticsearch.common.xcontent.ToXContent
      Throws:
      java.io.IOException
    • equals

      public boolean equals​(java.lang.Object o)
      Overrides:
      equals in class java.lang.Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class java.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

      @Nullable public FieldSelection.FeatureType getFeatureType()
    • getReason

      @Nullable public java.lang.String getReason()