Class EstimateModelMemoryResponse

java.lang.Object
org.elasticsearch.client.ml.EstimateModelMemoryResponse

public class EstimateModelMemoryResponse extends Object
  • Field Details

    • MODEL_MEMORY_ESTIMATE

      public static final org.elasticsearch.xcontent.ParseField MODEL_MEMORY_ESTIMATE
  • Constructor Details

    • EstimateModelMemoryResponse

      public EstimateModelMemoryResponse(String modelMemoryEstimate)
  • Method Details

    • fromXContent

      public static EstimateModelMemoryResponse fromXContent(org.elasticsearch.xcontent.XContentParser parser)
    • getModelMemoryEstimate

      public org.elasticsearch.common.unit.ByteSizeValue getModelMemoryEstimate()
      Returns:
      An estimate of the model memory the supplied analysis config is likely to need given the supplied field cardinalities.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object