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 Object
implements Streamable

Represents a failure.


Constructor Summary
MultiGetResponse.Failure(String index, String type, String id, String message)
           
 
Method Summary
 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.
 String id()
          The id of the action.
 String index()
          The index name of the action.
 String message()
          The failure message.
static MultiGetResponse.Failure readFailure(StreamInput in)
           
 void readFrom(StreamInput in)
           
 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(String index,
                                String type,
                                String id,
                                String message)
Method Detail

index

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


getIndex

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


type

public String type()
The type of the action.


getType

public String getType()
The type of the action.


id

public String id()
The id of the action.


getId

public String getId()
The id of the action.


message

public String message()
The failure message.


getMessage

public String getMessage()
The failure message.


readFailure

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

readFrom

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

writeTo

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


Copyright © 2009-2012. All Rights Reserved.