Class CreateIndexAction
- java.lang.Object
-
- org.elasticsearch.action.GenericAction<Request,Response>
-
- org.elasticsearch.action.Action<CreateIndexRequest,CreateIndexResponse,CreateIndexRequestBuilder>
-
- org.elasticsearch.action.admin.indices.create.CreateIndexAction
-
public class CreateIndexAction extends Action<CreateIndexRequest,CreateIndexResponse,CreateIndexRequestBuilder>
-
-
Field Summary
Fields Modifier and Type Field Description static CreateIndexAction
INSTANCE
static java.lang.String
NAME
-
Method Summary
Modifier and Type Method Description CreateIndexRequestBuilder
newRequestBuilder(ElasticsearchClient client)
Creates a new request builder given the client provided as argumentCreateIndexResponse
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 CreateIndexAction INSTANCE
-
NAME
public static final java.lang.String NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
newResponse
public CreateIndexResponse newResponse()
Description copied from class:GenericAction
Creates a new response instance.- Specified by:
newResponse
in classGenericAction<CreateIndexRequest,CreateIndexResponse>
-
newRequestBuilder
public CreateIndexRequestBuilder newRequestBuilder(ElasticsearchClient client)
Description copied from class:Action
Creates a new request builder given the client provided as argument- Specified by:
newRequestBuilder
in classAction<CreateIndexRequest,CreateIndexResponse,CreateIndexRequestBuilder>
-
-