Package | Description |
---|---|
org.elasticsearch.action.admin.cluster.snapshots.restore | |
org.elasticsearch.client |
The client module allowing to easily perform actions/operations.
|
org.elasticsearch.client.support |
Modifier and Type | Method and Description |
---|---|
RestoreSnapshotRequest |
RestoreSnapshotRequest.ignoreIndexSettings(List<String> ignoreIndexSettings)
Sets the list of index settings and index settings groups that shouldn't be restored from snapshot
|
RestoreSnapshotRequest |
RestoreSnapshotRequest.ignoreIndexSettings(String... ignoreIndexSettings)
Sets the list of index settings and index settings groups that shouldn't be restored from snapshot
|
RestoreSnapshotRequest |
RestoreSnapshotRequest.includeAliases(boolean includeAliases)
If set to true the restore procedure will restore aliases
|
RestoreSnapshotRequest |
RestoreSnapshotRequest.includeGlobalState(boolean includeGlobalState)
If set to true the restore procedure will restore global cluster state.
|
RestoreSnapshotRequest |
RestoreSnapshotRequest.indexSettings(Map<String,Object> source)
Sets settings that should be added/changed in all restored indices
|
RestoreSnapshotRequest |
RestoreSnapshotRequest.indexSettings(Settings.Builder settings)
Sets settings that should be added/changed in all restored indices
|
RestoreSnapshotRequest |
RestoreSnapshotRequest.indexSettings(Settings settings)
Sets settings that should be added/changed in all restored indices
|
RestoreSnapshotRequest |
RestoreSnapshotRequest.indexSettings(String source)
Sets settings that should be added/changed in all restored indices
|
RestoreSnapshotRequest |
RestoreSnapshotRequest.indices(List<String> indices)
Sets the list of indices that should be restored from snapshot
The list of indices supports multi-index syntax.
|
RestoreSnapshotRequest |
RestoreSnapshotRequest.indices(String... indices)
Sets the list of indices that should be restored from snapshot
The list of indices supports multi-index syntax.
|
RestoreSnapshotRequest |
RestoreSnapshotRequest.indicesOptions(IndicesOptions indicesOptions)
Specifies what type of requested indices to ignore and how to deal with wildcard expressions.
|
protected RestoreSnapshotRequest |
TransportRestoreSnapshotAction.newRequest() |
RestoreSnapshotRequest |
RestoreSnapshotRequest.partial(boolean partial)
Set to true to allow indices with failed to snapshot shards should be partially restored.
|
RestoreSnapshotRequest |
RestoreSnapshotRequest.renamePattern(String renamePattern)
Sets rename pattern that should be applied to restored indices.
|
RestoreSnapshotRequest |
RestoreSnapshotRequest.renameReplacement(String renameReplacement)
Sets rename replacement
See
renamePattern(String) for more information. |
RestoreSnapshotRequest |
RestoreSnapshotRequest.repository(String repository)
Sets repository name
|
RestoreSnapshotRequest |
RestoreSnapshotRequest.settings(Map<String,Object> source)
Sets repository-specific restore settings
See repository documentation for more information.
|
RestoreSnapshotRequest |
RestoreSnapshotRequest.settings(Settings.Builder settings)
Sets repository-specific restore settings.
|
RestoreSnapshotRequest |
RestoreSnapshotRequest.settings(Settings settings)
Sets repository-specific restore settings.
|
RestoreSnapshotRequest |
RestoreSnapshotRequest.settings(String source)
Sets repository-specific restore settings in JSON, YAML or properties format
See repository documentation for more information.
|
RestoreSnapshotRequest |
RestoreSnapshotRequest.snapshot(String snapshot)
Sets the name of the snapshot.
|
RestoreSnapshotRequest |
RestoreSnapshotRequest.source(byte[] source)
Parses restore definition
JSON, YAML and properties formats are supported
|
RestoreSnapshotRequest |
RestoreSnapshotRequest.source(byte[] source,
int offset,
int length)
Parses restore definition
JSON, YAML and properties formats are supported
|
RestoreSnapshotRequest |
RestoreSnapshotRequest.source(BytesReference source)
Parses restore definition
JSON, YAML and properties formats are supported
|
RestoreSnapshotRequest |
RestoreSnapshotRequest.source(Map source)
Parses restore definition
|
RestoreSnapshotRequest |
RestoreSnapshotRequest.source(String source)
Parses restore definition
JSON, YAML and properties formats are supported
|
RestoreSnapshotRequest |
RestoreSnapshotRequest.source(XContentBuilder source)
Parses restore definition
|
RestoreSnapshotRequest |
RestoreSnapshotRequest.waitForCompletion(boolean waitForCompletion)
If this parameter is set to true the operation will wait for completion of restore process before returning.
|
Modifier and Type | Method and Description |
---|---|
protected ClusterBlockException |
TransportRestoreSnapshotAction.checkBlock(RestoreSnapshotRequest request,
ClusterState state) |
protected void |
TransportRestoreSnapshotAction.masterOperation(RestoreSnapshotRequest request,
ClusterState state,
ActionListener<RestoreSnapshotResponse> listener) |
Modifier and Type | Method and Description |
---|---|
static RestoreSnapshotRequest |
Requests.restoreSnapshotRequest(String repository,
String snapshot)
Restores new snapshot
|
Modifier and Type | Method and Description |
---|---|
ActionFuture<RestoreSnapshotResponse> |
ClusterAdminClient.restoreSnapshot(RestoreSnapshotRequest request)
Restores a snapshot.
|
void |
ClusterAdminClient.restoreSnapshot(RestoreSnapshotRequest request,
ActionListener<RestoreSnapshotResponse> listener)
Restores a snapshot.
|
Modifier and Type | Method and Description |
---|---|
ActionFuture<RestoreSnapshotResponse> |
AbstractClusterAdminClient.restoreSnapshot(RestoreSnapshotRequest request) |
void |
AbstractClusterAdminClient.restoreSnapshot(RestoreSnapshotRequest request,
ActionListener<RestoreSnapshotResponse> listener) |
Copyright © 2009–2015. All rights reserved.