- All Implemented Interfaces:
Writeable,RefCounted,TaskAwareRequest,ToXContent,ToXContentObject
public class PutPipelineRequest
extends AcknowledgedRequest<PutPipelineRequest>
implements ToXContentObject
-
Nested Class Summary
Nested classes/interfaces inherited from class org.elasticsearch.action.support.master.AcknowledgedRequest
AcknowledgedRequest.PlainNested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsNested 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_REFERENCEDFields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY, EMPTY_PARAMS -
Constructor Summary
ConstructorsConstructorDescriptionPutPipelineRequest(TimeValue masterNodeTimeout, TimeValue ackTimeout, String id, BytesReference source, XContentType xContentType) PutPipelineRequest(TimeValue masterNodeTimeout, TimeValue ackTimeout, String id, BytesReference source, XContentType xContentType, Integer version) Create a new pipeline request with the id and source along with the content type of the source -
Method Summary
Modifier and TypeMethodDescriptiongetId()toXContent(XContentBuilder builder, ToXContent.Params params) voidwriteTo(StreamOutput out) Write this into the StreamOutput.Methods inherited from class org.elasticsearch.action.support.master.AcknowledgedRequest
ackTimeout, ackTimeout, validateMethods 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.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, setParentTaskMethods inherited from interface org.elasticsearch.xcontent.ToXContentObject
isFragment
-
Constructor Details
-
PutPipelineRequest
public PutPipelineRequest(TimeValue masterNodeTimeout, TimeValue ackTimeout, String id, BytesReference source, XContentType xContentType, Integer version) Create a new pipeline request with the id and source along with the content type of the source -
PutPipelineRequest
public PutPipelineRequest(TimeValue masterNodeTimeout, TimeValue ackTimeout, String id, BytesReference source, XContentType xContentType) -
PutPipelineRequest
- Throws:
IOException
-
-
Method Details
-
getId
-
getSource
-
getXContentType
-
getVersion
-
writeTo
Description copied from interface:WriteableWrite this into the StreamOutput.- Specified by:
writeToin interfaceWriteable- Overrides:
writeToin classAcknowledgedRequest<PutPipelineRequest>- Throws:
IOException
-
toXContent
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException - Specified by:
toXContentin interfaceToXContent- Throws:
IOException
-