Class DataframeAnalyticsDestination
java.lang.Object
co.elastic.clients.elasticsearch.ml.DataframeAnalyticsDestination
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class DataframeAnalyticsDestination extends java.lang.Object implements JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DataframeAnalyticsDestination.Builder
Builder forDataframeAnalyticsDestination
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<DataframeAnalyticsDestination>
_DESERIALIZER
Json deserializer forDataframeAnalyticsDestination
-
Constructor Summary
Constructors Constructor Description DataframeAnalyticsDestination(DataframeAnalyticsDestination.Builder builder)
DataframeAnalyticsDestination(java.util.function.Function<DataframeAnalyticsDestination.Builder,DataframeAnalyticsDestination.Builder> fn)
-
Method Summary
Modifier and Type Method Description java.lang.String
index()
Required - Defines the destination index to store the results of the data frame analytics job.java.lang.String
resultsField()
Defines the name of the field in which to store the results of the analysis.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
setupDataframeAnalyticsDestinationDeserializer(DelegatingDeserializer<DataframeAnalyticsDestination.Builder> op)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forDataframeAnalyticsDestination
-
-
Constructor Details
-
DataframeAnalyticsDestination
-
DataframeAnalyticsDestination
public DataframeAnalyticsDestination(java.util.function.Function<DataframeAnalyticsDestination.Builder,DataframeAnalyticsDestination.Builder> fn)
-
-
Method Details
-
index
public java.lang.String index()Required - Defines the destination index to store the results of the data frame analytics job.API name:
index
-
resultsField
@Nullable public java.lang.String resultsField()Defines the name of the field in which to store the results of the analysis. Defaults toml
.API name:
results_field
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupDataframeAnalyticsDestinationDeserializer
protected static void setupDataframeAnalyticsDestinationDeserializer(DelegatingDeserializer<DataframeAnalyticsDestination.Builder> op)
-