|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.elasticsearch.action.get.MultiGetItemResponse
public class MultiGetItemResponse
A single multi get response.
Constructor Summary | |
---|---|
MultiGetItemResponse(GetResponse response,
MultiGetResponse.Failure failure)
|
Method Summary | |
---|---|
boolean |
failed()
Is this a failed execution? |
MultiGetResponse.Failure |
failure()
The failure if relevant. |
MultiGetResponse.Failure |
getFailure()
The failure if relevant. |
java.lang.String |
getId()
The id of the document. |
java.lang.String |
getIndex()
The index name of the document. |
GetResponse |
getResponse()
The actual get response, null if its a failure. |
java.lang.String |
getType()
The type of the document. |
java.lang.String |
id()
The id of the document. |
java.lang.String |
index()
The index name of the document. |
boolean |
isFailed()
Is this a failed execution? |
void |
readFrom(StreamInput in)
|
static MultiGetItemResponse |
readItemResponse(StreamInput in)
|
GetResponse |
response()
The actual get response, null if its a failure. |
java.lang.String |
type()
The type of the document. |
void |
writeTo(StreamOutput out)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MultiGetItemResponse(GetResponse response, MultiGetResponse.Failure failure)
Method Detail |
---|
public java.lang.String index()
public java.lang.String getIndex()
public java.lang.String type()
public java.lang.String getType()
public java.lang.String id()
public java.lang.String getId()
public boolean failed()
public boolean isFailed()
public GetResponse response()
public GetResponse getResponse()
public MultiGetResponse.Failure failure()
public MultiGetResponse.Failure getFailure()
public static MultiGetItemResponse readItemResponse(StreamInput in) throws java.io.IOException
java.io.IOException
public void readFrom(StreamInput in) throws java.io.IOException
readFrom
in interface Streamable
java.io.IOException
public void writeTo(StreamOutput out) throws java.io.IOException
writeTo
in interface Streamable
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |