org.elasticsearch.action.bulk
Class BulkItemResponse.Failure

java.lang.Object
  extended by org.elasticsearch.action.bulk.BulkItemResponse.Failure
Enclosing class:
BulkItemResponse

public static class BulkItemResponse.Failure
extends java.lang.Object

Represents a failure.


Constructor Summary
BulkItemResponse.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.
 java.lang.String type()
          The type of the action.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BulkItemResponse.Failure

public BulkItemResponse.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.