public static class MultiSearchResponse.Item extends Object implements Streamable
| コンストラクタと説明 |
|---|
Item(SearchResponse response,
Throwable throwable) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
Throwable |
getFailure() |
String |
getFailureMessage()
The actual failure message, null if its not a failure.
|
SearchResponse |
getResponse()
The actual search response, null if its a failure.
|
boolean |
isFailure()
Is it a failed search?
|
void |
readFrom(StreamInput in) |
static MultiSearchResponse.Item |
readItem(StreamInput in) |
void |
writeTo(StreamOutput out) |
public Item(SearchResponse response, Throwable throwable)
public boolean isFailure()
@Nullable public String getFailureMessage()
@Nullable public SearchResponse getResponse()
public static MultiSearchResponse.Item readItem(StreamInput in) throws IOException
IOExceptionpublic void readFrom(StreamInput in) throws IOException
readFrom インタフェース内 StreamableIOExceptionpublic void writeTo(StreamOutput out) throws IOException
writeTo インタフェース内 StreamableIOExceptionpublic Throwable getFailure()
Copyright © 2009–2016. All rights reserved.