Class OpenRequest
java.lang.Object
org.opensearch.client.opensearch._types.RequestBase
org.opensearch.client.opensearch.indices.OpenRequest
- All Implemented Interfaces:
ToCopyableBuilder<OpenRequest.Builder,OpenRequest>
@Generated("org.opensearch.client.codegen.CodeGenerator")
public final class OpenRequest
extends RequestBase
implements ToCopyableBuilder<OpenRequest.Builder,OpenRequest>
Opens an index.
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.opensearch.client.opensearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Endpoint<OpenRequest, OpenResponse, ErrorResponse> Endpoint "indices.open". -
Method Summary
Modifier and TypeMethodDescriptionfinal BooleanIffalse, the request returns an error if any wildcard expression, index alias, or_allvalue targets only missing or closed indexes.protected voidapplyQueryParameters(Map<String, String> params) static OpenRequest.Builderbuilder()final TimeOperation timeout for connection to cluster-manager node.booleanfinal List<ExpandWildcard> Type of index that wildcard patterns can match.inthashCode()final BooleanIffalse, the request returns an error if it targets a missing or closed index.index()Required - Comma-separated list of data streams, indexes, and aliases used to limit the request.final TimeDeprecated.static OpenRequestfinal TimeExplicit task execution timeout, only useful whenwait_for_completionis false, defaults to1h.final Timetimeout()Period to wait for a response.Create a new builderToCopyableBuilderthat is initialised with the current state of this object.final WaitForActiveShardsThe number of shard copies that must be active before proceeding with the operation.final BooleanShould this request wait until the operation has completed before returning.Methods inherited from class org.opensearch.client.opensearch._types.RequestBase
errorTrace, humanMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_ENDPOINT
Endpoint "indices.open".
-
-
Method Details
-
of
-
allowNoIndices
Iffalse, the request returns an error if any wildcard expression, index alias, or_allvalue targets only missing or closed indexes. This behavior applies even if the request targets other open indexes.API name:
allow_no_indices -
clusterManagerTimeout
Operation timeout for connection to cluster-manager node.API name:
cluster_manager_timeout -
expandWildcards
Type of index that wildcard patterns can match. If the request can target data streams, this argument determines whether wildcard expressions match hidden data streams. Supports comma-separated values, such asopen,hidden. Valid values are:all,open,closed,hidden,none.API name:
expand_wildcards -
index
Required - Comma-separated list of data streams, indexes, and aliases used to limit the request. Supports wildcards (*). By default, you must explicitly name the indexes you using to limit the request. To limit a request using_all,*, or other wildcard expressions, change theaction.destructive_requires_namesetting to false. You can update this setting in theopensearch.ymlfile or using the cluster update settings API.API name:
index -
masterTimeout
Deprecated.Period to wait for a connection to the cluster-manager node. If no response is received before the timeout expires, the request fails and returns an error.API name:
master_timeout -
taskExecutionTimeout
Explicit task execution timeout, only useful whenwait_for_completionis false, defaults to1h.API name:
task_execution_timeout -
timeout
Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.API name:
timeout -
waitForActiveShards
The number of shard copies that must be active before proceeding with the operation. Set toallor any positive integer up to the total number of shards in the index (number_of_replicas+1).API name:
wait_for_active_shards -
waitForCompletion
Should this request wait until the operation has completed before returning.API name:
wait_for_completion -
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<OpenRequest.Builder,OpenRequest> - Returns:
- a new builder instance.
-
builder
-
applyQueryParameters
- Overrides:
applyQueryParametersin classRequestBase
-
hashCode
public int hashCode() -
equals
-