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
-
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
-
Method Summary
Modifier and Type Method Description java.util.List<java.lang.String>
index()
Required - Index or indices on which to perform the analysis.static DataframeAnalyticsSource
of(java.util.function.Function<DataframeAnalyticsSource.Builder,ObjectBuilder<DataframeAnalyticsSource>> fn)
Query
query()
The Elasticsearch query domain-specific language (DSL).java.util.Map<java.lang.String,java.util.List<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(ObjectDeserializer<DataframeAnalyticsSource.Builder> op)
DataframeAnalysisAnalyzedFields
source()
Specifyincludes
and/or `excludes patterns to select which fields will be present in the destination.java.lang.String
toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forDataframeAnalyticsSource
-
-
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
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
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
setupDataframeAnalyticsSourceDeserializer
protected static void setupDataframeAnalyticsSourceDeserializer(ObjectDeserializer<DataframeAnalyticsSource.Builder> op)
-