Class DataframeAnalyticsMemoryEstimation
java.lang.Object
co.elastic.clients.elasticsearch.ml.DataframeAnalyticsMemoryEstimation
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class DataframeAnalyticsMemoryEstimation extends java.lang.Object implements JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DataframeAnalyticsMemoryEstimation.Builder
Builder forDataframeAnalyticsMemoryEstimation
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<DataframeAnalyticsMemoryEstimation>
_DESERIALIZER
Json deserializer forDataframeAnalyticsMemoryEstimation
-
Constructor Summary
Constructors Constructor Description DataframeAnalyticsMemoryEstimation(DataframeAnalyticsMemoryEstimation.Builder builder)
DataframeAnalyticsMemoryEstimation(java.util.function.Function<DataframeAnalyticsMemoryEstimation.Builder,DataframeAnalyticsMemoryEstimation.Builder> fn)
-
Method Summary
Modifier and Type Method Description java.lang.String
expectedMemoryWithDisk()
Required - Estimated memory usage under the assumption that overflowing to disk is allowed during data frame analytics.java.lang.String
expectedMemoryWithoutDisk()
Required - Estimated memory usage under the assumption that the whole data frame analytics should happen in memory (i.e.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
setupDataframeAnalyticsMemoryEstimationDeserializer(DelegatingDeserializer<DataframeAnalyticsMemoryEstimation.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 forDataframeAnalyticsMemoryEstimation
-
-
Constructor Details
-
DataframeAnalyticsMemoryEstimation
-
DataframeAnalyticsMemoryEstimation
public DataframeAnalyticsMemoryEstimation(java.util.function.Function<DataframeAnalyticsMemoryEstimation.Builder,DataframeAnalyticsMemoryEstimation.Builder> fn)
-
-
Method Details
-
expectedMemoryWithDisk
public java.lang.String expectedMemoryWithDisk()Required - Estimated memory usage under the assumption that overflowing to disk is allowed during data frame analytics. expected_memory_with_disk is usually smaller than expected_memory_without_disk as using disk allows to limit the main memory needed to perform data frame analytics.API name:
expected_memory_with_disk
-
expectedMemoryWithoutDisk
public java.lang.String expectedMemoryWithoutDisk()Required - Estimated memory usage under the assumption that the whole data frame analytics should happen in memory (i.e. without overflowing to disk).API name:
expected_memory_without_disk
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupDataframeAnalyticsMemoryEstimationDeserializer
protected static void setupDataframeAnalyticsMemoryEstimationDeserializer(DelegatingDeserializer<DataframeAnalyticsMemoryEstimation.Builder> op)
-