public static class MultiGetResponse.Failure extends Object implements Streamable
| Constructor and Description |
|---|
MultiGetResponse.Failure(String index,
String type,
String id,
Throwable throwable) |
| Modifier and Type | Method and Description |
|---|---|
Throwable |
getFailure() |
String |
getId()
The id of the action.
|
String |
getIndex()
The index name of the action.
|
String |
getMessage()
The failure message.
|
String |
getType()
The type of the action.
|
static MultiGetResponse.Failure |
readFailure(StreamInput in) |
void |
readFrom(StreamInput in) |
void |
writeTo(StreamOutput out) |
public String getIndex()
public String getType()
public String getId()
public String getMessage()
public static MultiGetResponse.Failure readFailure(StreamInput in) throws IOException
IOExceptionpublic void readFrom(StreamInput in) throws IOException
readFrom in interface StreamableIOExceptionpublic void writeTo(StreamOutput out) throws IOException
writeTo in interface StreamableIOExceptionpublic Throwable getFailure()
Copyright © 2009–2017. All rights reserved.