Class MLConnectorGetRequest
java.lang.Object
org.opensearch.core.transport.TransportMessage
org.opensearch.transport.TransportRequest
org.opensearch.action.ActionRequest
org.opensearch.ml.common.transport.connector.MLConnectorGetRequest
- All Implemented Interfaces:
org.opensearch.core.common.io.stream.Writeable,org.opensearch.tasks.TaskAwareRequest
public class MLConnectorGetRequest
extends org.opensearch.action.ActionRequest
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.opensearch.transport.TransportRequest
org.opensearch.transport.TransportRequest.EmptyNested 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> -
Constructor Summary
ConstructorsConstructorDescriptionMLConnectorGetRequest(String connectorId, boolean returnContent) MLConnectorGetRequest(org.opensearch.core.common.io.stream.StreamInput in) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()static MLConnectorGetRequestfromActionRequest(org.opensearch.action.ActionRequest actionRequest) booleanorg.opensearch.action.ActionRequestValidationExceptionvalidate()voidwriteTo(org.opensearch.core.common.io.stream.StreamOutput out) Methods inherited from class org.opensearch.action.ActionRequest
getShouldStoreResultMethods inherited from class org.opensearch.transport.TransportRequest
getParentTask, setParentTaskMethods inherited from class org.opensearch.core.transport.TransportMessage
remoteAddress, remoteAddressMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.tasks.TaskAwareRequest
createTask, getDescription, setParentTask
-
Constructor Details
-
MLConnectorGetRequest
-
MLConnectorGetRequest
public MLConnectorGetRequest(org.opensearch.core.common.io.stream.StreamInput in) throws IOException - Throws:
IOException
-
-
Method Details
-
writeTo
- Specified by:
writeToin interfaceorg.opensearch.core.common.io.stream.Writeable- Overrides:
writeToin classorg.opensearch.action.ActionRequest- Throws:
IOException
-
validate
public org.opensearch.action.ActionRequestValidationException validate()- Specified by:
validatein classorg.opensearch.action.ActionRequest
-
fromActionRequest
public static MLConnectorGetRequest fromActionRequest(org.opensearch.action.ActionRequest actionRequest) -
builder
-
getConnectorId
-
isReturnContent
public boolean isReturnContent()
-