Class DataframeAnalyticsSource

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

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

  • Method Details

    • of

      public static DataframeAnalyticsSource of​(java.util.function.Function<DataframeAnalyticsSource.Builder,​ObjectBuilder<DataframeAnalyticsSource>> fn)
    • index

      public final java.util.List<java.lang.String> index()
      Required - Index or indices on which to perform the analysis. It can be a single index or index pattern as well as an array of indices or patterns. NOTE: If your source indices contain documents with the same IDs, only the document that is indexed last appears in the destination index.

      API name: index

    • query

      @Nullable public final Query query()
      The Elasticsearch query domain-specific language (DSL). This value corresponds to the query object in an Elasticsearch search POST body. All the options that are supported by Elasticsearch can be used, as this object is passed verbatim to Elasticsearch. By default, this property has the following value: {"match_all": {}}.

      API name: query

    • runtimeMappings

      public final java.util.Map<java.lang.String,​RuntimeField> runtimeMappings()
      Definitions of runtime fields that will become part of the mapping of the destination index.

      API name: runtime_mappings

    • source

      @Nullable public final DataframeAnalysisAnalyzedFields source()
      Specify includes and/or `excludes patterns to select which fields will be present in the destination. Fields that are excluded cannot be included in the analysis.

      API name: _source

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

      protected static void setupDataframeAnalyticsSourceDeserializer​(ObjectDeserializer<DataframeAnalyticsSource.Builder> op)