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 IndexActionINSTANCEstatic java.lang.StringNAME
-
Method Summary
Modifier and Type Method Description IndexRequestBuildernewRequestBuilder(ElasticsearchClient client)Creates a new request builder given the client provided as argumentIndexResponsenewResponse()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:GenericActionCreates a new response instance.- Specified by:
newResponsein classGenericAction<IndexRequest,IndexResponse>
-
newRequestBuilder
public IndexRequestBuilder newRequestBuilder(ElasticsearchClient client)
Description copied from class:ActionCreates a new request builder given the client provided as argument- Specified by:
newRequestBuilderin classAction<IndexRequest,IndexResponse,IndexRequestBuilder>
-
-