org.elasticsearch.action.get
Class MultiGetResponse.Failure

java.lang.Object
  extended by org.elasticsearch.action.get.MultiGetResponse.Failure
All Implemented Interfaces:
Streamable
Enclosing class:
MultiGetResponse

public static class MultiGetResponse.Failure
extends java.lang.Object
implements Streamable

Represents a failure.


Constructor Summary
MultiGetResponse.Failure(java.lang.String index, java.lang.String type, java.lang.String id, java.lang.String message)
           
 
Method Summary
 java.lang.String getId()
          The id of the action.
 java.lang.String getIndex()
          The index name of the action.
 java.lang.String getMessage()
          The failure message.
 java.lang.String getType()
          The type of the action.
 java.lang.String id()
          The id of the action.
 java.lang.String index()
          The index name of the action.
 java.lang.String message()
          The failure message.
static MultiGetResponse.Failure readFailure(StreamInput in)
           
 void readFrom(StreamInput in)
           
 java.lang.String type()
          The type of the action.
 void writeTo(StreamOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultiGetResponse.Failure

public MultiGetResponse.Failure(java.lang.String index,
                                java.lang.String type,
                                java.lang.String id,
                                java.lang.String message)
Method Detail

index

public java.lang.String index()
The index name of the action.


getIndex

public java.lang.String getIndex()
The index name of the action.


type

public java.lang.String type()
The type of the action.


getType

public java.lang.String getType()
The type of the action.


id

public java.lang.String id()
The id of the action.


getId

public java.lang.String getId()
The id of the action.


message

public java.lang.String message()
The failure message.


getMessage

public java.lang.String getMessage()
The failure message.


readFailure

public static MultiGetResponse.Failure readFailure(StreamInput in)
                                            throws java.io.IOException
Throws:
java.io.IOException

readFrom

public void readFrom(StreamInput in)
              throws java.io.IOException
Specified by:
readFrom in interface Streamable
Throws:
java.io.IOException

writeTo

public void writeTo(StreamOutput out)
             throws java.io.IOException
Specified by:
writeTo in interface Streamable
Throws:
java.io.IOException