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 classAnalysisMemoryLimit.BuilderBuilder forAnalysisMemoryLimit. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<AnalysisMemoryLimit>_DESERIALIZERJson 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.StringmodelMemoryLimit()Required - Limits can be applied for the resources required to hold the mathematical models in memory.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupAnalysisMemoryLimitDeserializer(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:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupAnalysisMemoryLimitDeserializer
protected static void setupAnalysisMemoryLimitDeserializer(DelegatingDeserializer<AnalysisMemoryLimit.Builder> op)
-