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 org.elasticsearch.common.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(org.elasticsearch.common.xcontent.XContentParser parser)
org.elasticsearch.common.unit.ByteSizeValue
getModelMemoryEstimate()
int
hashCode()
-
Field Details
-
MODEL_MEMORY_ESTIMATE
public static final org.elasticsearch.common.ParseField MODEL_MEMORY_ESTIMATE
-
-
Constructor Details
-
EstimateModelMemoryResponse
public EstimateModelMemoryResponse(java.lang.String modelMemoryEstimate)
-
-
Method Details
-
fromXContent
public static EstimateModelMemoryResponse fromXContent(org.elasticsearch.common.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(java.lang.Object o)- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()- Overrides:
hashCode
in classjava.lang.Object
-