Class DataframeAnalyticsSource
java.lang.Object
co.elastic.clients.elasticsearch.ml.DataframeAnalyticsSource
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable
public class DataframeAnalyticsSource
extends Object
implements JsonpSerializable
- See Also:
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final JsonpDeserializer<DataframeAnalyticsSource>
Json deserializer forDataframeAnalyticsSource
-
Method Summary
Modifier and TypeMethodDescriptionindex()
Required - Index or indices on which to perform the analysis.static DataframeAnalyticsSource
final Query
query()
The Elasticsearch query domain-specific language (DSL).final Map<String,
RuntimeField> Definitions of runtime fields that will become part of the mapping of the destination index.void
serialize
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected void
serializeInternal
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static void
source()
Specifyincludes
and/or `excludes patterns to select which fields will be present in the destination.toString()
-
Field Details
-
_DESERIALIZER
Json deserializer forDataframeAnalyticsSource
-
-
Method Details
-
of
public static DataframeAnalyticsSource of(Function<DataframeAnalyticsSource.Builder, ObjectBuilder<DataframeAnalyticsSource>> fn) -
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
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
Definitions of runtime fields that will become part of the mapping of the destination index.API name:
runtime_mappings
-
source
Specifyincludes
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
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupDataframeAnalyticsSourceDeserializer
protected static void setupDataframeAnalyticsSourceDeserializer(ObjectDeserializer<DataframeAnalyticsSource.Builder> op)
-