public static class MultiPercolateResponse.Item
extends java.lang.Object
implements org.elasticsearch.common.io.stream.Streamable
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getErrorMessage() |
java.lang.Exception |
getFailure() |
PercolateResponse |
getResponse() |
boolean |
isFailure() |
void |
readFrom(org.elasticsearch.common.io.stream.StreamInput in) |
void |
writeTo(org.elasticsearch.common.io.stream.StreamOutput out) |
@Nullable public PercolateResponse getResponse()
null if there was error.@Nullable public java.lang.String getErrorMessage()
null if the percolate request was successfulpublic boolean isFailure()
true if the percolator request that this item represents failed otherwise
false is returned.public java.lang.Exception getFailure()
public void readFrom(org.elasticsearch.common.io.stream.StreamInput in)
throws java.io.IOException
readFrom in interface org.elasticsearch.common.io.stream.Streamablejava.io.IOExceptionpublic void writeTo(org.elasticsearch.common.io.stream.StreamOutput out)
throws java.io.IOException
writeTo in interface org.elasticsearch.common.io.stream.Streamablejava.io.IOException