Package org.elasticsearch.client.ml
Class EstimateModelMemoryResponse
java.lang.Object
org.elasticsearch.client.ml.EstimateModelMemoryResponse
public class EstimateModelMemoryResponse
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description static ParseField
MODEL_MEMORY_ESTIMATE
-
Constructor Summary
Constructors Constructor Description EstimateModelMemoryResponse(java.lang.String modelMemoryEstimate)
-
Method Summary
Modifier and Type Method Description boolean
equals(java.lang.Object o)
static EstimateModelMemoryResponse
fromXContent(XContentParser parser)
ByteSizeValue
getModelMemoryEstimate()
int
hashCode()
-
Field Details
-
Constructor Details
-
EstimateModelMemoryResponse
public EstimateModelMemoryResponse(java.lang.String modelMemoryEstimate)
-
-
Method Details
-
fromXContent
-
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(java.lang.Object o)- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()- Overrides:
hashCode
in classjava.lang.Object
-