Class AnalysisMemoryLimit

java.lang.Object
co.elastic.clients.elasticsearch.ml.AnalysisMemoryLimit
All Implemented Interfaces:
JsonpSerializable

@JsonpDeserializable
public class AnalysisMemoryLimit
extends java.lang.Object
implements JsonpSerializable
See Also:
API specification
  • Field Details

  • Method Details

    • of

      public static AnalysisMemoryLimit of​(java.util.function.Function<AnalysisMemoryLimit.Builder,​ObjectBuilder<AnalysisMemoryLimit>> fn)
    • modelMemoryLimit

      public final 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

      public void serialize​(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
      Serialize this object to JSON.
      Specified by:
      serialize in interface JsonpSerializable
    • serializeInternal

      protected void serializeInternal​(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
    • setupAnalysisMemoryLimitDeserializer

      protected static void setupAnalysisMemoryLimitDeserializer​(ObjectDeserializer<AnalysisMemoryLimit.Builder> op)