Module org.elasticsearch.xcore
Class EstimateModelMemoryAction.Request
java.lang.Object
org.elasticsearch.transport.TransportMessage
org.elasticsearch.transport.TransportRequest
org.elasticsearch.action.ActionRequest
org.elasticsearch.xpack.core.ml.action.EstimateModelMemoryAction.Request
- All Implemented Interfaces:
Writeable,org.elasticsearch.core.RefCounted,TaskAwareRequest
- Enclosing class:
EstimateModelMemoryAction
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.elasticsearch.xcontent.ParseFieldstatic final org.elasticsearch.xcontent.ParseFieldstatic final org.elasticsearch.xcontent.ParseFieldstatic final org.elasticsearch.xcontent.ObjectParser<EstimateModelMemoryAction.Request, Void> Fields inherited from interface org.elasticsearch.core.RefCounted
ALWAYS_REFERENCED -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionparseRequest(org.elasticsearch.xcontent.XContentParser parser) voidsetAnalysisConfig(AnalysisConfig analysisConfig) voidsetMaxBucketCardinality(Map<String, Long> maxBucketCardinality) voidsetOverallCardinality(Map<String, Long> overallCardinality) validate()voidwriteTo(StreamOutput out) Methods inherited from class org.elasticsearch.action.ActionRequest
getShouldStoreResultMethods inherited from class org.elasticsearch.transport.TransportRequest
getParentTask, getRequestId, setParentTask, setRequestId, toStringMethods inherited from class org.elasticsearch.transport.TransportMessage
decRef, hasReferences, incRef, remoteAddress, remoteAddress, tryIncRefMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.elasticsearch.core.RefCounted
mustIncRefMethods inherited from interface org.elasticsearch.tasks.TaskAwareRequest
createTask, getDescription, setParentTask
-
Field Details
-
ANALYSIS_CONFIG
public static final org.elasticsearch.xcontent.ParseField ANALYSIS_CONFIG -
OVERALL_CARDINALITY
public static final org.elasticsearch.xcontent.ParseField OVERALL_CARDINALITY -
MAX_BUCKET_CARDINALITY
public static final org.elasticsearch.xcontent.ParseField MAX_BUCKET_CARDINALITY -
PARSER
public static final org.elasticsearch.xcontent.ObjectParser<EstimateModelMemoryAction.Request,Void> PARSER
-
-
Constructor Details
-
Request
public Request() -
Request
- Throws:
IOException
-
-
Method Details
-
parseRequest
public static EstimateModelMemoryAction.Request parseRequest(org.elasticsearch.xcontent.XContentParser parser) -
writeTo
- Specified by:
writeToin interfaceWriteable- Overrides:
writeToin classActionRequest- Throws:
IOException
-
validate
- Specified by:
validatein classActionRequest
-
getAnalysisConfig
-
setAnalysisConfig
-
getOverallCardinality
-
setOverallCardinality
-
getMaxBucketCardinality
-
setMaxBucketCardinality
-