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