Class DataframeAnalyticsSource
java.lang.Object
co.elastic.clients.elasticsearch.ml.DataframeAnalyticsSource
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class DataframeAnalyticsSource extends java.lang.Object implements JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DataframeAnalyticsSource.Builder
Builder forDataframeAnalyticsSource
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<DataframeAnalyticsSource>
_DESERIALIZER
Json deserializer forDataframeAnalyticsSource
-
Constructor Summary
Constructors Constructor Description DataframeAnalyticsSource(DataframeAnalyticsSource.Builder builder)
DataframeAnalyticsSource(java.util.function.Function<DataframeAnalyticsSource.Builder,DataframeAnalyticsSource.Builder> fn)
-
Method Summary
Modifier and Type Method Description java.util.List<java.lang.String>
index()
Required - Index or indices on which to perform the analysis.Query
query()
The Elasticsearch query domain-specific language (DSL).java.util.Map<java.lang.String,RuntimeField>
runtimeMappings()
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
setupDataframeAnalyticsSourceDeserializer(DelegatingDeserializer<DataframeAnalyticsSource.Builder> op)
jakarta.json.JsonValue
source()
Specifyincludes
and/or `excludes patterns to select which fields will be present in the destination.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forDataframeAnalyticsSource
-
-
Constructor Details
-
DataframeAnalyticsSource
-
DataframeAnalyticsSource
public DataframeAnalyticsSource(java.util.function.Function<DataframeAnalyticsSource.Builder,DataframeAnalyticsSource.Builder> fn)
-
-
Method Details
-
index
public 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
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
@Nullable public jakarta.json.JsonValue 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
-
setupDataframeAnalyticsSourceDeserializer
protected static void setupDataframeAnalyticsSourceDeserializer(DelegatingDeserializer<DataframeAnalyticsSource.Builder> op)
-