Module org.elasticsearch.xcore
Class DownsampleIndexerAction.Request
java.lang.Object
org.elasticsearch.transport.TransportMessage
org.elasticsearch.transport.AbstractTransportRequest
org.elasticsearch.action.ActionRequest
org.elasticsearch.action.LegacyActionRequest
org.elasticsearch.action.support.broadcast.BroadcastRequest<DownsampleIndexerAction.Request>
org.elasticsearch.xpack.core.downsample.DownsampleIndexerAction.Request
- All Implemented Interfaces:
IndicesRequest,IndicesRequest.Replaceable,Writeable,org.elasticsearch.core.RefCounted,TaskAwareRequest,TransportRequest,org.elasticsearch.xcontent.ToXContent,org.elasticsearch.xcontent.ToXContentObject
- Enclosing class:
DownsampleIndexerAction
public static class DownsampleIndexerAction.Request
extends BroadcastRequest<DownsampleIndexerAction.Request>
implements IndicesRequest, org.elasticsearch.xcontent.ToXContentObject
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.action.IndicesRequest
IndicesRequest.RemoteClusterShardRequest, IndicesRequest.Replaceable, IndicesRequest.SingleIndexNoWildcardsNested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent
org.elasticsearch.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.xcontent.ToXContent.MapParams, org.elasticsearch.xcontent.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.broadcast.BroadcastRequest
DEFAULT_INDICES_OPTIONS, indicesFields inherited from interface org.elasticsearch.core.RefCounted
ALWAYS_REFERENCEDFields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY, EMPTY_PARAMS -
Constructor Summary
ConstructorsConstructorDescriptionRequest()Request(DownsampleAction.Request downsampleRequest, long indexStartTimeMillis, long indexEndTimeMillis, String[] dimensionFields, String[] metricFields, String[] labelFields) Request(StreamInput in) -
Method Summary
Modifier and TypeMethodDescriptionbooleanString[]longlongString[]String[]inthashCode()String[]indices()org.elasticsearch.xcontent.XContentBuildertoXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params) voidwriteTo(StreamOutput out) Methods inherited from class org.elasticsearch.action.support.broadcast.BroadcastRequest
includeDataStreams, indices, indicesOptions, timeout, timeout, validateMethods inherited from class org.elasticsearch.action.ActionRequest
getShouldStoreResultMethods inherited from class org.elasticsearch.transport.AbstractTransportRequest
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.action.IndicesRequest
includeDataStreamsMethods inherited from interface org.elasticsearch.action.IndicesRequest.Replaceable
allowsRemoteIndicesMethods inherited from interface org.elasticsearch.core.RefCounted
decRef, hasReferences, incRef, mustIncRef, tryIncRefMethods inherited from interface org.elasticsearch.tasks.TaskAwareRequest
createTask, getDescription, setParentTaskMethods inherited from interface org.elasticsearch.xcontent.ToXContentObject
isFragment
-
Constructor Details
-
Request
public Request(DownsampleAction.Request downsampleRequest, long indexStartTimeMillis, long indexEndTimeMillis, String[] dimensionFields, String[] metricFields, String[] labelFields) -
Request
public Request() -
Request
- Throws:
IOException
-
-
Method Details
-
indices
- Specified by:
indicesin interfaceIndicesRequest- Overrides:
indicesin classBroadcastRequest<DownsampleIndexerAction.Request>
-
indicesOptions
- Specified by:
indicesOptionsin interfaceIndicesRequest- Overrides:
indicesOptionsin classBroadcastRequest<DownsampleIndexerAction.Request>
-
getDownsampleRequest
-
getIndexStartTimeMillis
public long getIndexStartTimeMillis() -
getIndexEndTimeMillis
public long getIndexEndTimeMillis() -
getDimensionFields
-
getMetricFields
-
getLabelFields
-
createTask
public Task createTask(long id, String type, String action, TaskId parentTaskId, Map<String, String> headers) - Specified by:
createTaskin interfaceTaskAwareRequest
-
writeTo
- Specified by:
writeToin interfaceWriteable- Overrides:
writeToin classBroadcastRequest<DownsampleIndexerAction.Request>- Throws:
IOException
-
toXContent
public org.elasticsearch.xcontent.XContentBuilder toXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params) throws IOException - Specified by:
toXContentin interfaceorg.elasticsearch.xcontent.ToXContent- Throws:
IOException
-
hashCode
public int hashCode() -
equals
-