Streamable
, Writeable
, ToXContent
, ToXContentObject
, TaskAwareRequest
public class ClearScrollRequest extends ActionRequest implements ToXContentObject
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
TransportRequest.Empty
Writeable.Reader<V>, Writeable.Writer<V>
EMPTY_PARAMS
Constructor | Description |
---|---|
ClearScrollRequest() |
Modifier and Type | Method | 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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
newWriteableReader
createTask, getDescription, setParentTask
isFragment
remoteAddress, remoteAddress
getParentTask, 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 interface Writeable
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