org.elasticsearch.action.index
Class IndexAction

java.lang.Object
  extended by org.elasticsearch.action.GenericAction<Request,Response>
      extended by org.elasticsearch.action.Action<IndexRequest,IndexResponse,IndexRequestBuilder>
          extended by org.elasticsearch.action.index.IndexAction

public class IndexAction
extends Action<IndexRequest,IndexResponse,IndexRequestBuilder>


Field Summary
static IndexAction INSTANCE
           
static String NAME
           
 
Method Summary
 IndexRequestBuilder newRequestBuilder(Client client)
           
 IndexResponse newResponse()
          Creates a new response instance.
 
Methods inherited from class org.elasticsearch.action.GenericAction
equals, hashCode, name, transportOptions
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final IndexAction INSTANCE

NAME

public static final String NAME
See Also:
Constant Field Values
Method Detail

newResponse

public IndexResponse newResponse()
Description copied from class: GenericAction
Creates a new response instance.

Specified by:
newResponse in class GenericAction<IndexRequest,IndexResponse>

newRequestBuilder

public IndexRequestBuilder newRequestBuilder(Client client)
Specified by:
newRequestBuilder in class Action<IndexRequest,IndexResponse,IndexRequestBuilder>


Copyright © 2009-2012. All Rights Reserved.