Module org.elasticsearch.xcore
Class ValidateTransformAction.Request
java.lang.Object
org.elasticsearch.transport.TransportMessage
org.elasticsearch.transport.AbstractTransportRequest
org.elasticsearch.action.ActionRequest
org.elasticsearch.action.UntypedActionRequest
org.elasticsearch.action.support.master.MasterNodeRequest<ValidateTransformAction.Request>
org.elasticsearch.action.support.master.AcknowledgedRequest<ValidateTransformAction.Request>
org.elasticsearch.xpack.core.transform.action.ValidateTransformAction.Request
- All Implemented Interfaces:
Closeable,AutoCloseable,Writeable,RefCounted,Releasable,TaskAwareRequest,TransportRequest
- Enclosing class:
ValidateTransformAction
public static class ValidateTransformAction.Request
extends AcknowledgedRequest<ValidateTransformAction.Request>
implements Releasable
-
Nested Class Summary
Nested classes/interfaces inherited from class org.elasticsearch.action.support.master.AcknowledgedRequest
AcknowledgedRequest.PlainNested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> -
Field Summary
Fields inherited from class org.elasticsearch.action.support.master.AcknowledgedRequest
DEFAULT_ACK_TIMEOUTFields inherited from class org.elasticsearch.action.support.master.MasterNodeRequest
INFINITE_MASTER_NODE_TIMEOUT, TRAPPY_IMPLICIT_DEFAULT_MASTER_NODE_TIMEOUTFields inherited from interface org.elasticsearch.core.RefCounted
ALWAYS_REFERENCED -
Constructor Summary
ConstructorsConstructorDescriptionRequest(StreamInput in) Request(TransformConfig config, boolean deferValidation, TimeValue timeout) Request(TransformConfig config, boolean deferValidation, TimeValue timeout, CloudCredential cloudCredential) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()booleaninthashCode()booleanvalidate()voidwriteTo(StreamOutput out) Methods inherited from class org.elasticsearch.action.support.master.AcknowledgedRequest
ackTimeout, ackTimeoutMethods inherited from class org.elasticsearch.action.support.master.MasterNodeRequest
masterNodeTimeout, masterNodeTimeout, masterTermMethods inherited from class org.elasticsearch.action.ActionRequest
getShouldStoreResultMethods inherited from class org.elasticsearch.transport.AbstractTransportRequest
copyFieldsFrom, getParentTask, getRequestId, remoteAddress, remoteAddress, setParentTask, setRequestId, toStringMethods inherited from class org.elasticsearch.transport.TransportMessage
decRef, hasReferences, incRef, tryIncRefMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.elasticsearch.core.RefCounted
decRef, hasReferences, incRef, mustIncRef, tryIncRefMethods inherited from interface org.elasticsearch.tasks.TaskAwareRequest
createTask, getDescription, setParentTask
-
Constructor Details
-
Request
-
Request
public Request(TransformConfig config, boolean deferValidation, TimeValue timeout, @Nullable CloudCredential cloudCredential) -
Request
- Throws:
IOException
-
-
Method Details
-
validate
- Overrides:
validatein classAcknowledgedRequest<ValidateTransformAction.Request>
-
getConfig
-
isDeferValidation
public boolean isDeferValidation() -
cloudCredential
-
writeTo
- Specified by:
writeToin interfaceWriteable- Overrides:
writeToin classAcknowledgedRequest<ValidateTransformAction.Request>- Throws:
IOException
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein interfaceReleasable
-
equals
-
hashCode
public int hashCode() -
createTask
public Task createTask(long id, String type, String action, TaskId parentTaskId, Map<String, String> headers) - Specified by:
createTaskin interfaceTaskAwareRequest
-