Class GetMappingRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.indices.GetMappingRequest
Returns mappings for one or more indices.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>>
-
Field Summary
Modifier and TypeFieldDescriptionstatic final Endpoint<GetMappingRequest,
GetMappingResponse, ErrorResponse> Endpoint "indices.get_mapping
". -
Method Summary
Modifier and TypeMethodDescriptionfinal Boolean
Whether to ignore if a wildcard indices expression resolves into no concrete indices.final List<ExpandWildcard>
Whether to expand wildcard expression to concrete indices that are open, closed or both.final Boolean
Whether specified concrete indices should be ignored when unavailable (missing or closed)final Boolean
Whether to add the type name to the response (default: false)index()
A comma-separated list of index namesfinal Boolean
local()
Return local information, do not retrieve the state from master node (default: false)final Time
Specify timeout for connection to masterstatic GetMappingRequest
type()
A comma-separated list of document typesMethods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
-
Field Details
-
_ENDPOINT
Endpoint "indices.get_mapping
".
-
-
Method Details
-
of
public static GetMappingRequest of(Function<GetMappingRequest.Builder, ObjectBuilder<GetMappingRequest>> fn) -
allowNoIndices
Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes_all
string or when no indices have been specified)API name:
allow_no_indices
-
expandWildcards
Whether to expand wildcard expression to concrete indices that are open, closed or both.API name:
expand_wildcards
-
includeTypeName
Whether to add the type name to the response (default: false)API name:
include_type_name
-
index
A comma-separated list of index namesAPI name:
index
-
local
Return local information, do not retrieve the state from master node (default: false)API name:
local
-
masterTimeout
Specify timeout for connection to masterAPI name:
master_timeout
-
type
A comma-separated list of document typesAPI name:
type
-