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.Create, CollectionAdminRequest.CreateAlias, CollectionAdminRequest.CreateShard, CollectionAdminRequest.Delete, CollectionAdminRequest.DeleteAlias, CollectionAdminRequest.DeleteReplica, CollectionAdminRequest.DeleteReplicaProp, CollectionAdminRequest.DeleteShard, CollectionAdminRequest.DeleteStatus, CollectionAdminRequest.ForceLeader, CollectionAdminRequest.List, CollectionAdminRequest.Migrate, CollectionAdminRequest.MigrateClusterState, CollectionAdminRequest.OverseerStatus, CollectionAdminRequest.RebalanceLeaders, CollectionAdminRequest.Reload, CollectionAdminRequest.RemoveRole, CollectionAdminRequest.RequestStatus, CollectionAdminRequest.RequestStatusResponse, CollectionAdminRequest.Restore, CollectionAdminRequest.ShardSpecificAdminRequest, CollectionAdminRequest.SplitShard
SolrRequest.METHOD
Modifier and Type | Field and Description |
---|---|
protected Boolean |
autoAddReplicas |
protected String |
backupName |
protected String |
configName |
protected String |
location |
protected Integer |
maxShardsPerNode |
protected Properties |
properties |
protected Integer |
replicationFactor |
collection
asyncId
action
Constructor and Description |
---|
Restore(String collection,
String backupName) |
Modifier and Type | Method and Description |
---|---|
Boolean |
getAutoAddReplicas() |
String |
getConfigName() |
String |
getLocation() |
Integer |
getMaxShardsPerNode() |
SolrParams |
getParams() |
Properties |
getProperties() |
Integer |
getReplicationFactor() |
CollectionAdminRequest.Restore |
setAsyncId(String id) |
CollectionAdminRequest.Restore |
setAutoAddReplicas(boolean autoAddReplicas) |
CollectionAdminRequest.Restore |
setCollectionName(String collection) |
CollectionAdminRequest.Restore |
setConfigName(String config) |
CollectionAdminRequest.Restore |
setLocation(String location) |
CollectionAdminRequest.Restore |
setMaxShardsPerNode(int maxShardsPerNode) |
CollectionAdminRequest.Restore |
setProperties(Properties properties) |
CollectionAdminRequest.Restore |
setReplicationFactor(Integer repl) |
createResponse, getAsyncId, processAndWait, processAndWait, processAsync, processAsync
addProperties, addReplicaByRouteKey, addReplicaProperty, addReplicaToShard, addRole, backupCollection, balanceReplicaProperty, createAlias, createCollection, createShard, deleteAlias, deleteAllAsyncIds, deleteAsyncId, deleteCollection, deleteReplica, deleteReplicaProperty, deleteShard, forceLeaderElection, getClusterStatus, getContentStreams, getOverseerStatus, listCollections, migrateCollectionFormat, migrateData, rebalanceLeaders, reloadCollection, removeRole, requestStatus, restoreCollection, setClusterProperty, splitShard, waitForAsyncRequest
getBasicAuthPassword, getBasicAuthUser, getMethod, getPath, getQueryParams, getResponseParser, getStreamingResponseCallback, process, process, setBasicAuthCredentials, setMethod, setPath, setQueryParams, setResponseParser, setStreamingResponseCallback
protected final String backupName
protected String location
protected String configName
protected Integer maxShardsPerNode
protected Integer replicationFactor
protected Boolean autoAddReplicas
protected Properties properties
public CollectionAdminRequest.Restore setAsyncId(String id)
setAsyncId
in class CollectionAdminRequest.AsyncCollectionAdminRequest
public CollectionAdminRequest.Restore setCollectionName(String collection)
setCollectionName
in class CollectionAdminRequest.AsyncCollectionSpecificAdminRequest
public String getLocation()
public CollectionAdminRequest.Restore setLocation(String location)
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 repl)
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-2016 Apache Software Foundation. All Rights Reserved.