Package org.elasticsearch.action.search
Class ClearScrollRequest
java.lang.Object
org.elasticsearch.transport.TransportMessage
org.elasticsearch.transport.TransportRequest
org.elasticsearch.action.ActionRequest
org.elasticsearch.action.search.ClearScrollRequest
- All Implemented Interfaces:
Writeable,org.elasticsearch.common.xcontent.ToXContent,org.elasticsearch.common.xcontent.ToXContentObject,TaskAwareRequest
public class ClearScrollRequest extends ActionRequest implements org.elasticsearch.common.xcontent.ToXContentObject
-
Nested Class Summary
Nested classes/interfaces inherited from class org.elasticsearch.transport.TransportRequest
TransportRequest.EmptyNested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent
org.elasticsearch.common.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.common.xcontent.ToXContent.MapParams, org.elasticsearch.common.xcontent.ToXContent.ParamsNested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> -
Field Summary
-
Constructor Summary
Constructors Constructor Description ClearScrollRequest()ClearScrollRequest(StreamInput in) -
Method Summary
Modifier and Type Method Description voidaddScrollId(java.lang.String scrollId)voidfromXContent(org.elasticsearch.common.xcontent.XContentParser parser)java.util.List<java.lang.String>getScrollIds()java.util.List<java.lang.String>scrollIds()voidscrollIds(java.util.List<java.lang.String> scrollIds)voidsetScrollIds(java.util.List<java.lang.String> scrollIds)org.elasticsearch.common.xcontent.XContentBuildertoXContent(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params)ActionRequestValidationExceptionvalidate()voidwriteTo(StreamOutput out)Write this into the StreamOutput.Methods inherited from class org.elasticsearch.transport.TransportRequest
getParentTask, setParentTaskMethods inherited from class org.elasticsearch.transport.TransportMessage
remoteAddress, remoteAddressMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.tasks.TaskAwareRequest
createTask, getDescription, setParentTask
-
Constructor Details
-
ClearScrollRequest
public ClearScrollRequest() -
ClearScrollRequest
- Throws:
java.io.IOException
-
-
Method Details
-
getScrollIds
public java.util.List<java.lang.String> getScrollIds() -
setScrollIds
public void setScrollIds(java.util.List<java.lang.String> scrollIds) -
addScrollId
public void addScrollId(java.lang.String scrollId) -
scrollIds
public java.util.List<java.lang.String> scrollIds() -
scrollIds
public void scrollIds(java.util.List<java.lang.String> scrollIds) -
validate
- Specified by:
validatein classActionRequest
-
writeTo
Description copied from interface:WriteableWrite this into the StreamOutput.- Specified by:
writeToin interfaceWriteable- Overrides:
writeToin classActionRequest- Throws:
java.io.IOException
-
toXContent
public org.elasticsearch.common.xcontent.XContentBuilder toXContent(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params) throws java.io.IOException- Specified by:
toXContentin interfaceorg.elasticsearch.common.xcontent.ToXContent- Throws:
java.io.IOException
-
fromXContent
public void fromXContent(org.elasticsearch.common.xcontent.XContentParser parser) throws java.io.IOException- Throws:
java.io.IOException
-