public static class CollectionAdminRequest.Backup extends CollectionAdminRequest.AsyncCollectionSpecificAdminRequest
CollectionAdminRequest.AddReplica, CollectionAdminRequest.AddReplicaProp, CollectionAdminRequest.AddRole, CollectionAdminRequest.AsyncCollectionAdminRequest, CollectionAdminRequest.AsyncCollectionSpecificAdminRequest, CollectionAdminRequest.AsyncShardSpecificAdminRequest, CollectionAdminRequest.Backup, CollectionAdminRequest.BalanceShardUnique, CollectionAdminRequest.ClusterProp, CollectionAdminRequest.ClusterStatus, CollectionAdminRequest.CollectionAdminRoleRequest, CollectionAdminRequest.CollectionProp, CollectionAdminRequest.ColStatus, CollectionAdminRequest.Create, CollectionAdminRequest.CreateAlias, CollectionAdminRequest.CreateCategoryRoutedAlias, CollectionAdminRequest.CreateShard, CollectionAdminRequest.CreateSnapshot, CollectionAdminRequest.CreateTimeRoutedAlias, CollectionAdminRequest.Delete, CollectionAdminRequest.DeleteAlias, CollectionAdminRequest.DeleteBackup, CollectionAdminRequest.DeleteNode, CollectionAdminRequest.DeleteReplica, CollectionAdminRequest.DeleteReplicaProp, CollectionAdminRequest.DeleteShard, CollectionAdminRequest.DeleteSnapshot, CollectionAdminRequest.DeleteStatus, CollectionAdminRequest.DimensionalRoutedAlias, CollectionAdminRequest.ForceLeader, CollectionAdminRequest.List, CollectionAdminRequest.ListAliases, CollectionAdminRequest.ListBackup, CollectionAdminRequest.ListSnapshots, CollectionAdminRequest.Migrate, CollectionAdminRequest.MigrateClusterState, CollectionAdminRequest.Modify, CollectionAdminRequest.MoveReplica, CollectionAdminRequest.OverseerStatus, CollectionAdminRequest.RebalanceLeaders, CollectionAdminRequest.ReindexCollection, CollectionAdminRequest.Reload, CollectionAdminRequest.RemoveRole, CollectionAdminRequest.Rename, CollectionAdminRequest.ReplaceNode, CollectionAdminRequest.RequestStatus, CollectionAdminRequest.RequestStatusResponse, CollectionAdminRequest.Restore, CollectionAdminRequest.RoutedAliasAdminRequest, CollectionAdminRequest.SetAliasProperty, CollectionAdminRequest.ShardSpecificAdminRequest, CollectionAdminRequest.SplitShard, CollectionAdminRequest.UtilizeNode
SolrRequest.METHOD
MapWriter.EntryWriter
Modifier and Type | Field and Description |
---|---|
protected Optional<String> |
commitName |
protected boolean |
incremental |
protected Optional<String> |
indexBackupStrategy |
protected String |
location |
protected Optional<Integer> |
maxNumBackupPoints |
protected String |
name |
protected Optional<String> |
repositoryName |
collection, followAliases
asyncId, waitForFinalState
action, MODIFIABLE_COLLECTION_PROPERTIES, PROPERTY_PREFIX
SUPPORTED_METHODS, useBinaryV2, usev2
Modifier and Type | Method and Description |
---|---|
Optional<String> |
getCommitName() |
Optional<String> |
getIndexBackupStrategy() |
String |
getLocation() |
SolrParams |
getParams() |
Optional<String> |
getRepositoryName() |
CollectionAdminRequest.Backup |
setCommitName(String commitName) |
CollectionAdminRequest.Backup |
setIncremental(boolean incremental)
Deprecated.
|
CollectionAdminRequest.Backup |
setIndexBackupStrategy(String indexBackupStrategy) |
CollectionAdminRequest.Backup |
setLocation(String location) |
CollectionAdminRequest.Backup |
setMaxNumberBackupPoints(int maxNumBackupPoints)
Specifies the maximum number of backup points to keep at the backup location.
|
CollectionAdminRequest.Backup |
setRepositoryName(String repositoryName) |
getCollectionName, setFollowAliases
createResponse, getAsyncId, processAndWait, processAndWait, processAsync, processAsync, setAsyncId, setWaitForFinalState
addProperties, addReplicaByRouteKey, addReplicaProperty, addReplicaToShard, addReplicaToShard, addRole, backupCollection, balanceReplicaProperty, collectionStatus, collectionStatuses, createAlias, createCategoryRoutedAlias, createCollection, createCollection, createCollection, createCollectionWithImplicitRouter, createCollectionWithImplicitRouter, createDimensionalRoutedAlias, createShard, createTimeRoutedAlias, deleteAlias, deleteAllAsyncIds, deleteAsyncId, deleteBackupById, deleteBackupByRecency, deleteBackupPurgeUnusedFiles, deleteCollection, deleteNode, deleteReplica, deleteReplica, deleteReplicaProperty, deleteReplicasFromAllShards, deleteReplicasFromShard, deleteShard, forceLeaderElection, getClusterStatus, getOverseerStatus, getV2Request, listBackup, listCollections, migrateCollectionFormat, migrateData, modifyCollection, moveReplica, propagateBasicAuthCreds, rebalanceLeaders, reindexCollection, reloadCollection, removeRole, renameCollection, requestStatus, restoreCollection, setAliasProperty, setClusterProperty, setCollectionProperty, splitShard, toString, waitForAsyncRequest, writeMap
addHeader, getBasePath, getBasicAuthPassword, getBasicAuthUser, getCollection, getContentStreams, getContentWriter, getHeaders, getMethod, getPath, getQueryParams, getResponseParser, getStreamingResponseCallback, getUserPrincipal, process, process, setBasePath, setBasicAuthCredentials, setMethod, setPath, setQueryParams, setResponseParser, setStreamingResponseCallback, setUseBinaryV2, setUserPrincipal, setUseV2
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
_forEachEntry, _forEachEntry, _forEachEntry, _get, _get, _getStr, _getStr, _size
protected final String name
protected String location
protected boolean incremental
public String getLocation()
public CollectionAdminRequest.Backup setLocation(String location)
public CollectionAdminRequest.Backup setRepositoryName(String repositoryName)
public CollectionAdminRequest.Backup setCommitName(String commitName)
public CollectionAdminRequest.Backup setIndexBackupStrategy(String indexBackupStrategy)
@Deprecated public CollectionAdminRequest.Backup setIncremental(boolean incremental)
incremental
- true to use incremental backups, false otherwise.public CollectionAdminRequest.Backup setMaxNumberBackupPoints(int maxNumBackupPoints)
#maxNumBackupPoints
are retained.
This parameter is ignored if the request uses a non-incremental backup.maxNumBackupPoints
- the number of backup points to retain after the current backuppublic SolrParams getParams()
getParams
in class CollectionAdminRequest.AsyncCollectionSpecificAdminRequest
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.