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 ParseFieldMODEL_MEMORY_ESTIMATE -
Constructor Summary
Constructors Constructor Description EstimateModelMemoryResponse(java.lang.String modelMemoryEstimate) -
Method Summary
Modifier and Type Method Description booleanequals(java.lang.Object o)static EstimateModelMemoryResponsefromXContent(XContentParser parser)ByteSizeValuegetModelMemoryEstimate()inthashCode()
-
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:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()- Overrides:
hashCodein classjava.lang.Object
-