Module org.elasticsearch.xcore
Class GetCheckpointAction.Request
java.lang.Object
org.elasticsearch.transport.TransportMessage
org.elasticsearch.transport.AbstractTransportRequest
org.elasticsearch.action.ActionRequest
org.elasticsearch.action.UntypedActionRequest
org.elasticsearch.xpack.core.transform.action.GetCheckpointAction.Request
- All Implemented Interfaces:
IndicesRequest,IndicesRequest.CrossProjectCandidate,IndicesRequest.Replaceable,Writeable,RefCounted,TaskAwareRequest,TransportRequest
- Enclosing class:
GetCheckpointAction
public static class GetCheckpointAction.Request
extends UntypedActionRequest
implements IndicesRequest.Replaceable
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.action.IndicesRequest
IndicesRequest.CrossProjectCandidate, IndicesRequest.RemoteClusterShardRequest, IndicesRequest.Replaceable, IndicesRequest.SingleIndexNoWildcardsNested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> -
Field Summary
Fields inherited from interface org.elasticsearch.core.RefCounted
ALWAYS_REFERENCED -
Constructor Summary
ConstructorsConstructorDescriptionRequest(String[] indices, IndicesOptions indicesOptions, QueryBuilder query, String cluster, TimeValue timeout, String projectRouting, boolean includeResolvedIndexExpressions) Request(StreamInput in) -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanbooleangetQuery()inthashCode()booleanString[]indices()rewriteRequest(String[] indices, IndicesOptions indicesOptions, String cluster, boolean includeResolvedIndexExpressions) voidsetResolvedIndexExpressions(ResolvedIndexExpressions expressions) validate()voidwriteTo(StreamOutput out) Methods 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.action.IndicesRequest
includeDataStreamsMethods inherited from interface org.elasticsearch.action.IndicesRequest.CrossProjectCandidate
getResolvedTargetProjects, setResolvedTargetProjectsMethods 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
- Throws:
IOException
-
Request
public Request(String[] indices, IndicesOptions indicesOptions, QueryBuilder query, String cluster, TimeValue timeout, String projectRouting, boolean includeResolvedIndexExpressions)
-
-
Method Details
-
validate
- Specified by:
validatein classActionRequest
-
indices
- Specified by:
indicesin interfaceIndicesRequest
-
indicesOptions
- Specified by:
indicesOptionsin interfaceIndicesRequest
-
getQuery
-
getCluster
-
getTimeout
-
allowsCrossProject
public boolean allowsCrossProject()- Specified by:
allowsCrossProjectin interfaceIndicesRequest.CrossProjectCandidate
-
getResolvedIndexExpressions
- Specified by:
getResolvedIndexExpressionsin interfaceIndicesRequest.Replaceable
-
setResolvedIndexExpressions
- Specified by:
setResolvedIndexExpressionsin interfaceIndicesRequest.Replaceable
-
getProjectRouting
- Specified by:
getProjectRoutingin interfaceIndicesRequest.CrossProjectCandidate
-
includeResolvedIndexExpressions
public boolean includeResolvedIndexExpressions() -
equals
-
hashCode
public int hashCode() -
writeTo
- Specified by:
writeToin interfaceWriteable- Overrides:
writeToin classActionRequest- Throws:
IOException
-
indices
- Specified by:
indicesin interfaceIndicesRequest.Replaceable
-
allowsRemoteIndices
public boolean allowsRemoteIndices()- Specified by:
allowsRemoteIndicesin interfaceIndicesRequest.Replaceable
-
createTask
public CancellableTask createTask(long id, String type, String action, TaskId parentTaskId, Map<String, String> headers) - Specified by:
createTaskin interfaceTaskAwareRequest
-
rewriteRequest
public GetCheckpointAction.Request rewriteRequest(String[] indices, IndicesOptions indicesOptions, String cluster, boolean includeResolvedIndexExpressions)
-