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 classDataframeAnalyticsSource.BuilderBuilder forDataframeAnalyticsSource. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<DataframeAnalyticsSource>_DESERIALIZERJson 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 DataframeAnalyticsSourceof(java.util.function.Function<DataframeAnalyticsSource.Builder,ObjectBuilder<DataframeAnalyticsSource>> fn)Queryquery()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.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupDataframeAnalyticsSourceDeserializer(ObjectDeserializer<DataframeAnalyticsSource.Builder> op)DataframeAnalysisAnalyzedFieldssource()Specifyincludesand/or `excludes patterns to select which fields will be present in the destination.java.lang.StringtoString()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
Specifyincludesand/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:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
setupDataframeAnalyticsSourceDeserializer
protected static void setupDataframeAnalyticsSourceDeserializer(ObjectDeserializer<DataframeAnalyticsSource.Builder> op)
-