public static class BulkByScrollTask.StatusOrException extends java.lang.Object implements Writeable, ToXContent
Writeable.Reader<V>, Writeable.Writer<V>
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
EMPTY_PARAMS
Constructor and Description |
---|
StatusOrException(BulkByScrollTask.Status status) |
StatusOrException(java.lang.Exception exception) |
StatusOrException(StreamInput in)
Read from a stream.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Exception |
getException() |
BulkByScrollTask.Status |
getStatus() |
int |
hashCode() |
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
void |
writeTo(StreamOutput out)
Write this into the StreamOutput.
|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
isFragment
public StatusOrException(BulkByScrollTask.Status status)
public StatusOrException(java.lang.Exception exception)
public StatusOrException(StreamInput in) throws java.io.IOException
java.io.IOException
public void writeTo(StreamOutput out) throws java.io.IOException
Writeable
public BulkByScrollTask.Status getStatus()
public java.lang.Exception getException()
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
toXContent
in interface ToXContent
java.io.IOException
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object