public class ClearScrollRequest extends ActionRequest implements ToXContentObject
TransportRequest.Empty
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
EMPTY_PARAMS
Constructor and Description |
---|
ClearScrollRequest() |
Modifier and Type | Method and Description |
---|---|
void |
addScrollId(java.lang.String scrollId) |
void |
fromXContent(XContentParser parser) |
java.util.List<java.lang.String> |
getScrollIds() |
void |
readFrom(StreamInput in)
Set this object's fields from a StreamInput.
|
java.util.List<java.lang.String> |
scrollIds() |
void |
scrollIds(java.util.List<java.lang.String> scrollIds) |
void |
setScrollIds(java.util.List<java.lang.String> scrollIds) |
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
ActionRequestValidationException |
validate() |
void |
writeTo(StreamOutput out)
Write this object's fields to a StreamOutput.
|
getShouldStoreResult
getParentTask, setParentTask
remoteAddress, remoteAddress
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isFragment
createTask, getDescription, setParentTask
public java.util.List<java.lang.String> getScrollIds()
public void setScrollIds(java.util.List<java.lang.String> scrollIds)
public void addScrollId(java.lang.String scrollId)
public java.util.List<java.lang.String> scrollIds()
public void scrollIds(java.util.List<java.lang.String> scrollIds)
public ActionRequestValidationException validate()
validate
in class ActionRequest
public void readFrom(StreamInput in) throws java.io.IOException
Streamable
readFrom
in interface Streamable
readFrom
in class ActionRequest
java.io.IOException
public void writeTo(StreamOutput out) throws java.io.IOException
Streamable
writeTo
in interface Streamable
writeTo
in class ActionRequest
java.io.IOException
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
toXContent
in interface ToXContent
java.io.IOException
public void fromXContent(XContentParser parser) throws java.io.IOException
java.io.IOException