public static class CollectionAdminRequest.Restore 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.Create, CollectionAdminRequest.CreateAlias, CollectionAdminRequest.CreateShard, CollectionAdminRequest.CreateSnapshot, CollectionAdminRequest.CreateTimeRoutedAlias, CollectionAdminRequest.Delete, CollectionAdminRequest.DeleteAlias, CollectionAdminRequest.DeleteNode, CollectionAdminRequest.DeleteReplica, CollectionAdminRequest.DeleteReplicaProp, CollectionAdminRequest.DeleteShard, CollectionAdminRequest.DeleteSnapshot, CollectionAdminRequest.DeleteStatus, CollectionAdminRequest.ForceLeader, CollectionAdminRequest.List, CollectionAdminRequest.ListAliases, CollectionAdminRequest.ListSnapshots, CollectionAdminRequest.Migrate, CollectionAdminRequest.MigrateClusterState, CollectionAdminRequest.Modify, CollectionAdminRequest.MoveReplica, CollectionAdminRequest.OverseerStatus, CollectionAdminRequest.RebalanceLeaders, CollectionAdminRequest.Reload, CollectionAdminRequest.RemoveRole, CollectionAdminRequest.ReplaceNode, CollectionAdminRequest.RequestStatus, CollectionAdminRequest.RequestStatusResponse, CollectionAdminRequest.Restore, CollectionAdminRequest.SetAliasProperty, CollectionAdminRequest.ShardSpecificAdminRequest, CollectionAdminRequest.SplitShard, CollectionAdminRequest.UtilizeNode
SolrRequest.METHOD
MapWriter.EntryWriter
Modifier and Type | Field and Description |
---|---|
protected Boolean |
autoAddReplicas |
protected String |
backupName |
protected String |
configName |
protected Optional<String> |
createNodeSet |
protected Optional<Boolean> |
createNodeSetShuffle |
protected String |
location |
protected Integer |
maxShardsPerNode |
protected Integer |
nrtReplicas |
protected Properties |
properties |
protected Integer |
pullReplicas |
protected Integer |
replicationFactor |
protected Optional<String> |
repositoryName |
protected Integer |
tlogReplicas |
collection
asyncId, waitForFinalState
action, MODIFIABLE_COLLECTION_PROPERTIES
SUPPORTED_METHODS, useBinaryV2, usev2
Constructor and Description |
---|
Restore(String collection,
String backupName) |
getCollectionName
createResponse, getAsyncId, processAndWait, processAndWait, processAsync, processAsync, setAsyncId, setWaitForFinalState
addProperties, addReplicaByRouteKey, addReplicaProperty, addReplicaToShard, addReplicaToShard, addRole, backupCollection, balanceReplicaProperty, createAlias, createCollection, createCollection, createCollection, createCollectionWithImplicitRouter, createCollectionWithImplicitRouter, createShard, createTimeRoutedAlias, deleteAlias, deleteAllAsyncIds, deleteAsyncId, deleteCollection, deleteNode, deleteReplica, deleteReplica, deleteReplicaProperty, deleteReplicasFromAllShards, deleteReplicasFromShard, deleteShard, forceLeaderElection, getClusterStatus, getOverseerStatus, getV2Request, listCollections, migrateCollectionFormat, migrateData, modifyCollection, rebalanceLeaders, reloadCollection, removeRole, requestStatus, restoreCollection, setAliasProperty, setClusterProperty, setCollectionProperty, splitShard, toString, waitForAsyncRequest, writeMap
getBasePath, getBasicAuthPassword, getBasicAuthUser, getCollection, getContentStreams, getContentWriter, 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
protected final String backupName
protected String location
protected String configName
protected Integer maxShardsPerNode
protected Integer replicationFactor
protected Integer nrtReplicas
protected Integer tlogReplicas
protected Integer pullReplicas
protected Boolean autoAddReplicas
protected Properties properties
public String getLocation()
public CollectionAdminRequest.Restore setLocation(String location)
public CollectionAdminRequest.Restore setRepositoryName(String repositoryName)
public void setCreateNodeSet(String createNodeSet)
public void setCreateNodeSetShuffle(boolean createNodeSetShuffle)
public CollectionAdminRequest.Restore setConfigName(String config)
public String getConfigName()
public Integer getMaxShardsPerNode()
public CollectionAdminRequest.Restore setMaxShardsPerNode(int maxShardsPerNode)
public Integer getReplicationFactor()
public CollectionAdminRequest.Restore setReplicationFactor(Integer replicationFactor)
public Integer getNrtReplicas()
public CollectionAdminRequest.Restore setNrtReplicas(Integer nrtReplicas)
public Integer getTlogReplicas()
public CollectionAdminRequest.Restore setTlogReplicas(Integer tlogReplicas)
public Integer getPullReplicas()
public CollectionAdminRequest.Restore setPullReplicas(Integer pullReplicas)
public Boolean getAutoAddReplicas()
public CollectionAdminRequest.Restore setAutoAddReplicas(boolean autoAddReplicas)
public Properties getProperties()
public CollectionAdminRequest.Restore setProperties(Properties properties)
public SolrParams getParams()
getParams
in class CollectionAdminRequest.AsyncCollectionSpecificAdminRequest
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.