Class GetMappingRequest
- java.lang.Object
-
- org.opensearch.client.opensearch._types.RequestBase
-
- org.opensearch.client.opensearch.indices.GetMappingRequest
-
public class GetMappingRequest extends RequestBase
Returns mappings for one or more indices.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGetMappingRequest.BuilderBuilder forGetMappingRequest.-
Nested classes/interfaces inherited from class org.opensearch.client.opensearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>>
-
-
Field Summary
Fields Modifier and Type Field Description static Endpoint<GetMappingRequest,GetMappingResponse,ErrorResponse>_ENDPOINTEndpoint "indices.get_mapping".
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.BooleanallowNoIndices()Whether to ignore if a wildcard indices expression resolves into no concrete indices.TimeclusterManagerTimeout()Specify timeout for connection to cluster-managerjava.util.List<ExpandWildcard>expandWildcards()Whether to expand wildcard expression to concrete indices that are open, closed or both.java.lang.BooleanignoreUnavailable()Whether specified concrete indices should be ignored when unavailable (missing or closed)java.util.List<java.lang.String>index()A comma-separated list of index namesjava.lang.Booleanlocal()Return local information, do not retrieve the state from cluster-manager node (default: false)TimemasterTimeout()Deprecated.static GetMappingRequestof(java.util.function.Function<GetMappingRequest.Builder,ObjectBuilder<GetMappingRequest>> fn)
-
-
-
Field Detail
-
_ENDPOINT
public static final Endpoint<GetMappingRequest,GetMappingResponse,ErrorResponse> _ENDPOINT
Endpoint "indices.get_mapping".
-
-
Method Detail
-
of
public static GetMappingRequest of(java.util.function.Function<GetMappingRequest.Builder,ObjectBuilder<GetMappingRequest>> fn)
-
allowNoIndices
@Nullable public final java.lang.Boolean allowNoIndices()
Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes_allstring or when no indices have been specified)API name:
allow_no_indices
-
expandWildcards
public final java.util.List<ExpandWildcard> expandWildcards()
Whether to expand wildcard expression to concrete indices that are open, closed or both.API name:
expand_wildcards
-
ignoreUnavailable
@Nullable public final java.lang.Boolean ignoreUnavailable()
Whether specified concrete indices should be ignored when unavailable (missing or closed)API name:
ignore_unavailable
-
index
public final java.util.List<java.lang.String> index()
A comma-separated list of index namesAPI name:
index
-
local
@Nullable public final java.lang.Boolean local()
Return local information, do not retrieve the state from cluster-manager node (default: false)API name:
local
-
masterTimeout
@Deprecated @Nullable public final Time masterTimeout()
Deprecated.Specify timeout for connection to masterAPI name:
master_timeout
-
clusterManagerTimeout
@Nullable public final Time clusterManagerTimeout()
Specify timeout for connection to cluster-managerAPI name:
cluster_manager_timeout
-
-