Class DataframeAnalyticsDestination
java.lang.Object
co.elastic.clients.elasticsearch.ml.DataframeAnalyticsDestination
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class DataframeAnalyticsDestination extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
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
-
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.static DataframeAnalyticsDestination
of(java.util.function.Function<DataframeAnalyticsDestination.Builder,ObjectBuilder<DataframeAnalyticsDestination>> fn)
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(ObjectDeserializer<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
-
-
Method Details
-
of
public static DataframeAnalyticsDestination of(java.util.function.Function<DataframeAnalyticsDestination.Builder,ObjectBuilder<DataframeAnalyticsDestination>> fn) -
index
public final 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 final 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(ObjectDeserializer<DataframeAnalyticsDestination.Builder> op)
-