Module org.elasticsearch.server
Package org.elasticsearch.action.search
Class ClosePointInTimeRequest
java.lang.Object
org.elasticsearch.transport.TransportMessage
org.elasticsearch.transport.AbstractTransportRequest
org.elasticsearch.action.ActionRequest
org.elasticsearch.action.LegacyActionRequest
org.elasticsearch.action.search.ClosePointInTimeRequest
- All Implemented Interfaces:
IndicesRequest.CrossProjectCandidate,Writeable,RefCounted,TaskAwareRequest,TransportRequest,ToXContent,ToXContentObject
public class ClosePointInTimeRequest
extends LegacyActionRequest
implements ToXContentObject, IndicesRequest.CrossProjectCandidate
-
Nested Class Summary
Nested 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 interface org.elasticsearch.core.RefCounted
ALWAYS_REFERENCEDFields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY, EMPTY_PARAMS -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionbooleanDetermines whether the request type can support cross-project processing.static ClosePointInTimeRequestfromXContent(XContentParser parser) getId()toXContent(XContentBuilder builder, ToXContent.Params params) validate()voidwriteTo(StreamOutput out) Write this into the StreamOutput.Methods 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, equals, finalize, getClass, hashCode, 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, createTask, getDescription, setParentTaskMethods inherited from interface org.elasticsearch.xcontent.ToXContentObject
isFragment
-
Constructor Details
-
ClosePointInTimeRequest
- Throws:
IOException
-
ClosePointInTimeRequest
-
-
Method Details
-
getId
-
validate
- Specified by:
validatein classActionRequest
-
writeTo
Description copied from interface:WriteableWrite this into the StreamOutput.- Specified by:
writeToin interfaceWriteable- Overrides:
writeToin classActionRequest- Throws:
IOException
-
toXContent
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException - Specified by:
toXContentin interfaceToXContent- Throws:
IOException
-
fromXContent
- Throws:
IOException
-
allowsCrossProject
public boolean allowsCrossProject()Description copied from interface:IndicesRequest.CrossProjectCandidateDetermines whether the request type can support cross-project processing. Cross-project processing entails 1. UIAM authentication and authorization projects resolution. 2. If applicable, cross-project flat-world index resolution and error handling Note: this method only determines in the request _supports_ cross-project. Whether cross-project processing is actually performed depends on other factors such as: - Whether CPS is enabled which impacts both 1 and 2. - WhetherIndicesOptionssupports it when the request is anIndicesRequest. This only impacts 2. See alsoCrossProjectModeDecider.- Specified by:
allowsCrossProjectin interfaceIndicesRequest.CrossProjectCandidate
-