Class GetFieldMappingsRequestBuilder
java.lang.Object
org.elasticsearch.action.ActionRequestBuilder<GetFieldMappingsRequest,GetFieldMappingsResponse>
org.elasticsearch.action.admin.indices.mapping.get.GetFieldMappingsRequestBuilder
public class GetFieldMappingsRequestBuilder
extends ActionRequestBuilder<GetFieldMappingsRequest,GetFieldMappingsResponse>
A helper class to build
GetFieldMappingsRequest
objects-
Field Summary
Fields inherited from class org.elasticsearch.action.ActionRequestBuilder
action, client, request
-
Constructor Summary
ConstructorDescriptionGetFieldMappingsRequestBuilder(ElasticsearchClient client, GetFieldMappingsAction action, String... indices)
-
Method Summary
Modifier and TypeMethodDescriptionaddIndices(String... indices)
includeDefaults(boolean includeDefaults)
Indicates whether default mapping settings should be returnedSets the fields to retrieve.setIndices(String... indices)
setIndicesOptions(IndicesOptions indicesOptions)
-
Constructor Details
-
GetFieldMappingsRequestBuilder
public GetFieldMappingsRequestBuilder(ElasticsearchClient client, GetFieldMappingsAction action, String... indices)
-
-
Method Details
-
setIndices
-
addIndices
-
setTypes
-
addTypes
-
setIndicesOptions
-
setFields
Sets the fields to retrieve. -
includeDefaults
Indicates whether default mapping settings should be returned
-