Class DataframeAnalyticsFieldSelection

java.lang.Object
co.elastic.clients.elasticsearch.ml.DataframeAnalyticsFieldSelection
All Implemented Interfaces:
JsonpSerializable

@JsonpDeserializable
public class DataframeAnalyticsFieldSelection
extends java.lang.Object
implements JsonpSerializable
See Also:
API specification
  • Field Details

  • Method Details

    • of

    • isIncluded

      public final boolean isIncluded()
      Required - Whether the field is selected to be included in the analysis.

      API name: is_included

    • isRequired

      public final boolean isRequired()
      Required - Whether the field is required.

      API name: is_required

    • featureType

      @Nullable public final java.lang.String featureType()
      The feature type of this field for the analysis. May be categorical or numerical.

      API name: feature_type

    • mappingTypes

      public final java.util.List<java.lang.String> mappingTypes()
      Required - The mapping types of the field.

      API name: mapping_types

    • name

      public final java.lang.String name()
      Required - The field name.

      API name: name

    • reason

      @Nullable public final java.lang.String reason()
      The reason a field is not selected to be included in the analysis.

      API name: reason

    • serialize

      public void serialize​(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
      Serialize this object to JSON.
      Specified by:
      serialize in interface JsonpSerializable
    • serializeInternal

      protected void serializeInternal​(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
    • setupDataframeAnalyticsFieldSelectionDeserializer

      protected static void setupDataframeAnalyticsFieldSelectionDeserializer​(ObjectDeserializer<DataframeAnalyticsFieldSelection.Builder> op)