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