Package org.elasticsearch.action.index
Class IndexAction
- java.lang.Object
-
- org.elasticsearch.action.GenericAction<Request,Response>
-
- org.elasticsearch.action.Action<IndexRequest,IndexResponse,IndexRequestBuilder>
-
- org.elasticsearch.action.index.IndexAction
-
public class IndexAction extends Action<IndexRequest,IndexResponse,IndexRequestBuilder>
-
-
Field Summary
Fields Modifier and Type Field Description static IndexAction
INSTANCE
static java.lang.String
NAME
-
Method Summary
Modifier and Type Method Description IndexRequestBuilder
newRequestBuilder(ElasticsearchClient client)
Creates a new request builder given the client provided as argumentIndexResponse
newResponse()
Creates a new response instance.-
Methods inherited from class org.elasticsearch.action.GenericAction
equals, getResponseReader, hashCode, name, transportOptions
-
-
-
-
Field Detail
-
INSTANCE
public static final IndexAction INSTANCE
-
NAME
public static final java.lang.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 classGenericAction<IndexRequest,IndexResponse>
-
newRequestBuilder
public IndexRequestBuilder newRequestBuilder(ElasticsearchClient client)
Description copied from class:Action
Creates a new request builder given the client provided as argument- Specified by:
newRequestBuilder
in classAction<IndexRequest,IndexResponse,IndexRequestBuilder>
-
-