Module org.elasticsearch.server
Class ModifyDataStreamsAction.Request
java.lang.Object
org.elasticsearch.transport.TransportMessage
org.elasticsearch.transport.TransportRequest
org.elasticsearch.action.ActionRequest
org.elasticsearch.action.support.master.MasterNodeRequest<Request>
org.elasticsearch.action.support.master.AcknowledgedRequest<ModifyDataStreamsAction.Request>
org.elasticsearch.action.datastreams.ModifyDataStreamsAction.Request
- All Implemented Interfaces:
- IndicesRequest,- AckedRequest,- Writeable,- RefCounted,- TaskAwareRequest,- ToXContent,- ToXContentObject
- Enclosing class:
- ModifyDataStreamsAction
public static final class ModifyDataStreamsAction.Request
extends AcknowledgedRequest<ModifyDataStreamsAction.Request>
implements IndicesRequest, ToXContentObject
- 
Nested Class SummaryNested classes/interfaces inherited from class org.elasticsearch.transport.TransportRequestTransportRequest.EmptyNested classes/interfaces inherited from interface org.elasticsearch.action.IndicesRequestIndicesRequest.ReplaceableNested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContentToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsNested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.WriteableWriteable.Reader<V>, Writeable.Writer<V>
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final ConstructingObjectParser<ModifyDataStreamsAction.Request,Void> Fields inherited from class org.elasticsearch.action.support.master.AcknowledgedRequestDEFAULT_ACK_TIMEOUT, timeoutFields inherited from class org.elasticsearch.action.support.master.MasterNodeRequestDEFAULT_MASTER_NODE_TIMEOUT, masterNodeTimeoutFields inherited from interface org.elasticsearch.xcontent.ToXContentEMPTY_PARAMS
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleaninthashCode()booleanDetermines whether the request should be applied to data streams.String[]indices()Returns the array of indices that the action relates toReturns the indices options used to resolve indices.toXContent(XContentBuilder builder, ToXContent.Params params) validate()voidwriteTo(StreamOutput out) Write this into the StreamOutput.Methods inherited from class org.elasticsearch.action.support.master.AcknowledgedRequestackTimeout, timeout, timeout, timeoutMethods inherited from class org.elasticsearch.action.support.master.MasterNodeRequestmasterNodeTimeout, masterNodeTimeout, masterNodeTimeoutMethods inherited from class org.elasticsearch.action.ActionRequestgetShouldStoreResultMethods inherited from class org.elasticsearch.transport.TransportRequestgetParentTask, setParentTask, toStringMethods inherited from class org.elasticsearch.transport.TransportMessagedecRef, hasReferences, incRef, remoteAddress, remoteAddress, tryIncRefMethods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.elasticsearch.cluster.ack.AckedRequestmasterNodeTimeoutMethods inherited from interface org.elasticsearch.tasks.TaskAwareRequestcreateTask, getDescription, setParentTaskMethods inherited from interface org.elasticsearch.xcontent.ToXContentObjectisFragment
- 
Field Details- 
PARSER
 
- 
- 
Constructor Details- 
Request- Throws:
- IOException
 
- 
Request
 
- 
- 
Method Details- 
writeToDescription copied from interface:WriteableWrite this into the StreamOutput.- Specified by:
- writeToin interface- Writeable
- Overrides:
- writeToin class- AcknowledgedRequest<ModifyDataStreamsAction.Request>
- Throws:
- IOException
 
- 
getActions
- 
toXContentpublic XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException - Specified by:
- toXContentin interface- ToXContent
- Throws:
- IOException
 
- 
validate- Specified by:
- validatein class- ActionRequest
 
- 
indicesDescription copied from interface:IndicesRequestReturns the array of indices that the action relates to- Specified by:
- indicesin interface- IndicesRequest
 
- 
indicesOptionsDescription copied from interface:IndicesRequestReturns the indices options used to resolve indices. They tell for instance whether a single index is accepted, whether an empty array will be converted to _all, and how wildcards will be expanded if needed.- Specified by:
- indicesOptionsin interface- IndicesRequest
 
- 
includeDataStreamspublic boolean includeDataStreams()Description copied from interface:IndicesRequestDetermines whether the request should be applied to data streams. Whenfalse, none of the names or wildcard expressions inIndicesRequest.indices()should be applied to or expanded to any data streams. All layers involved in the request's fulfillment including security, name resolution, etc., should respect this flag.- Specified by:
- includeDataStreamsin interface- IndicesRequest
 
- 
equals
- 
hashCodepublic int hashCode()
 
-