Class RemoteInferenceMLInput
java.lang.Object
org.opensearch.ml.common.input.MLInput
org.opensearch.ml.common.input.remote.RemoteInferenceMLInput
- All Implemented Interfaces:
org.opensearch.core.common.io.stream.Writeable,org.opensearch.core.xcontent.ToXContent,org.opensearch.core.xcontent.ToXContentObject,Input
-
Nested Class Summary
Nested classes/interfaces inherited from class org.opensearch.ml.common.input.MLInput
MLInput.MLInputBuilderNested classes/interfaces inherited from interface org.opensearch.core.xcontent.ToXContent
org.opensearch.core.xcontent.ToXContent.DelegatingMapParams, org.opensearch.core.xcontent.ToXContent.MapParams, org.opensearch.core.xcontent.ToXContent.ParamsNested classes/interfaces inherited from interface org.opensearch.core.common.io.stream.Writeable
org.opensearch.core.common.io.stream.Writeable.Reader<V>, org.opensearch.core.common.io.stream.Writeable.WriteableRegistry, org.opensearch.core.common.io.stream.Writeable.Writer<V> -
Field Summary
FieldsFields inherited from class org.opensearch.ml.common.input.MLInput
algorithm, ALGORITHM_FIELD, CONTEXT_FIELD, INPUT_DATA_FIELD, INPUT_INDEX_FIELD, INPUT_QUERY_FIELD, inputDataset, ML_PARAMETERS_FIELD, parameters, QUERY_TEXT_FIELD, QUESTION_FIELD, RETURN_BYTES_FIELD, RETURN_NUMBER_FIELD, TARGET_RESPONSE_FIELD, TARGET_RESPONSE_POSITIONS_FIELD, TEXT_DOCS_FIELDFields inherited from interface org.opensearch.core.xcontent.ToXContent
EMPTY_PARAMS -
Constructor Summary
ConstructorsConstructorDescriptionRemoteInferenceMLInput(org.opensearch.core.common.io.stream.StreamInput in) RemoteInferenceMLInput(org.opensearch.core.xcontent.XContentParser parser, FunctionName functionName) -
Method Summary
Modifier and TypeMethodDescriptionvoidwriteTo(org.opensearch.core.common.io.stream.StreamOutput out) Methods inherited from class org.opensearch.ml.common.input.MLInput
builder, canEqual, equals, getAlgorithm, getFunctionName, getInputDataset, getParameters, getVersion, hashCode, parse, setAlgorithm, setInputDataset, setParameters, setVersion, toBuilder, toString, toXContentMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.opensearch.core.xcontent.ToXContentObject
isFragment
-
Field Details
-
PARAMETERS_FIELD
- See Also:
-
-
Constructor Details
-
RemoteInferenceMLInput
public RemoteInferenceMLInput(org.opensearch.core.common.io.stream.StreamInput in) throws IOException - Throws:
IOException
-
RemoteInferenceMLInput
public RemoteInferenceMLInput(org.opensearch.core.xcontent.XContentParser parser, FunctionName functionName) throws IOException - Throws:
IOException
-
-
Method Details
-
writeTo
- Specified by:
writeToin interfaceorg.opensearch.core.common.io.stream.Writeable- Overrides:
writeToin classMLInput- Throws:
IOException
-