Class ExistsRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.indices.ExistsRequest
public class ExistsRequest extends RequestBase
Returns information about whether a particular index exists.
- See Also:
- API specification
-
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,ErrorResponse>_ENDPOINTEndpoint "indices.exists". -
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<ExpandWildcard>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()Required - A comma-separated list of index namesjava.lang.Booleanlocal()Return local information, do not retrieve the state from master node (default: false)static ExistsRequestof(java.util.function.Function<ExistsRequest.Builder,ObjectBuilder<ExistsRequest>> fn)Methods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_ENDPOINT
Endpoint "indices.exists".
-
-
Method Details
-
of
public static ExistsRequest of(java.util.function.Function<ExistsRequest.Builder,ObjectBuilder<ExistsRequest>> fn) -
allowNoIndices
@Nullable public final 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 final java.lang.Boolean flatSettings()Return settings in flat format (default: false)API name:
flat_settings -
includeDefaults
@Nullable public final java.lang.Boolean includeDefaults()Whether to return all default setting for each of the indices.API name:
include_defaults -
index
public final java.util.List<java.lang.String> index()Required - 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 master node (default: false)API name:
local
-