Class ExistsRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.indices.ExistsRequest
- All Implemented Interfaces:
ElasticsearchCommonRequest
public final class ExistsRequest extends RequestBase
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classExistsRequest.BuilderBuilder forExistsRequest.Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>> -
Field Summary
Fields Modifier and Type Field Description static Endpoint<ExistsRequest,BooleanResponse,ElasticsearchError>ENDPOINTEndpoint "indices.exists". -
Constructor Summary
Constructors Constructor Description ExistsRequest(ExistsRequest.Builder builder)ExistsRequest(java.util.function.Function<ExistsRequest.Builder,ExistsRequest.Builder> fn) -
Method Summary
Modifier and Type Method Description java.lang.BooleanallowNoIndices()Ignore if a wildcard expression resolves to no concrete indices (default: false)java.util.List<ExpandWildcardOptions>expandWildcards()Whether wildcard expressions should get expanded to open or closed indices (default: open)java.lang.BooleanflatSettings()Return settings in flat format (default: false)java.lang.BooleanignoreUnavailable()Ignore unavailable indexes (default: false)java.lang.BooleanincludeDefaults()Whether to return all default setting for each of the indices.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 master node (default: false)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
ENDPOINT
Endpoint "indices.exists".
-
-
Constructor Details
-
ExistsRequest
-
ExistsRequest
-
-
Method Details
-
index
public java.util.List<java.lang.String> index()A comma-separated list of index namesAPI name:
index -
allowNoIndices
@Nullable public java.lang.Boolean allowNoIndices()Ignore if a wildcard expression resolves to no concrete indices (default: false)API name:
allow_no_indices -
expandWildcards
Whether wildcard expressions should get expanded to open or closed indices (default: open)API name:
expand_wildcards -
flatSettings
@Nullable public java.lang.Boolean flatSettings()Return settings in flat format (default: false)API name:
flat_settings -
includeDefaults
@Nullable public java.lang.Boolean includeDefaults()Whether to return all default setting for each of the indices.API name:
include_defaults -
local
@Nullable public java.lang.Boolean local()Return local information, do not retrieve the state from master node (default: false)API name:
local
-