Class AnalysisMemoryLimit
java.lang.Object
co.elastic.clients.elasticsearch.ml.AnalysisMemoryLimit
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class AnalysisMemoryLimit extends java.lang.Object implements JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AnalysisMemoryLimit.Builder
Builder forAnalysisMemoryLimit
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<AnalysisMemoryLimit>
_DESERIALIZER
Json deserializer forAnalysisMemoryLimit
-
Constructor Summary
Constructors Constructor Description AnalysisMemoryLimit(AnalysisMemoryLimit.Builder builder)
AnalysisMemoryLimit(java.util.function.Function<AnalysisMemoryLimit.Builder,AnalysisMemoryLimit.Builder> fn)
-
Method Summary
Modifier and Type Method Description java.lang.String
modelMemoryLimit()
Required - Limits can be applied for the resources required to hold the mathematical models in memory.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
setupAnalysisMemoryLimitDeserializer(DelegatingDeserializer<AnalysisMemoryLimit.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 forAnalysisMemoryLimit
-
-
Constructor Details
-
AnalysisMemoryLimit
-
AnalysisMemoryLimit
public AnalysisMemoryLimit(java.util.function.Function<AnalysisMemoryLimit.Builder,AnalysisMemoryLimit.Builder> fn)
-
-
Method Details
-
modelMemoryLimit
public java.lang.String modelMemoryLimit()Required - Limits can be applied for the resources required to hold the mathematical models in memory. These limits are approximate and can be set per job. They do not control the memory used by other processes, for example the Elasticsearch Java processes.API name:
model_memory_limit
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupAnalysisMemoryLimitDeserializer
protected static void setupAnalysisMemoryLimitDeserializer(DelegatingDeserializer<AnalysisMemoryLimit.Builder> op)
-