Module org.elasticsearch.xcore
Class ResultsFieldUpdate
java.lang.Object
org.elasticsearch.xpack.core.ml.inference.trainedmodel.ResultsFieldUpdate
- All Implemented Interfaces:
NamedWriteable,VersionedNamedWriteable,Writeable,InferenceConfigUpdate
A config update that sets the results field only.
Supports any type of
InferenceConfig-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> -
Field Summary
FieldsFields inherited from interface org.elasticsearch.xpack.core.ml.inference.trainedmodel.InferenceConfigUpdate
RESERVED_ML_FIELD_NAMES -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()booleanisSupported(InferenceConfig config) InferenceConfigUpdate.Builder<? extends InferenceConfigUpdate.Builder<?, ?>, ? extends InferenceConfigUpdate> voidwriteTo(StreamOutput out) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.xpack.core.ml.inference.trainedmodel.InferenceConfigUpdate
getName, isEmptyMethods inherited from interface org.elasticsearch.common.io.stream.VersionedNamedWriteable
supportsVersion
-
Field Details
-
NAME
- See Also:
-
-
Constructor Details
-
ResultsFieldUpdate
-
ResultsFieldUpdate
- Throws:
IOException
-
-
Method Details
-
isSupported
- Specified by:
isSupportedin interfaceInferenceConfigUpdate
-
getResultsField
- Specified by:
getResultsFieldin interfaceInferenceConfigUpdate
-
newBuilder
public InferenceConfigUpdate.Builder<? extends InferenceConfigUpdate.Builder<?,?>, newBuilder()? extends InferenceConfigUpdate> - Specified by:
newBuilderin interfaceInferenceConfigUpdate
-
getWriteableName
- Specified by:
getWriteableNamein interfaceNamedWriteable- Specified by:
getWriteableNamein interfaceVersionedNamedWriteable
-
getMinimalSupportedVersion
- Specified by:
getMinimalSupportedVersionin interfaceVersionedNamedWriteable
-
writeTo
- Specified by:
writeToin interfaceWriteable- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-