public static class CollectionAdminRequest.CreateShard extends CollectionAdminRequest.AsyncShardSpecificAdminRequest
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.CreateSnapshot, CollectionAdminRequest.Delete, CollectionAdminRequest.DeleteAlias, CollectionAdminRequest.DeleteNode, CollectionAdminRequest.DeleteReplica, CollectionAdminRequest.DeleteReplicaProp, CollectionAdminRequest.DeleteShard, CollectionAdminRequest.DeleteSnapshot, CollectionAdminRequest.DeleteStatus, CollectionAdminRequest.ForceLeader, CollectionAdminRequest.List, CollectionAdminRequest.ListSnapshots, CollectionAdminRequest.Migrate, CollectionAdminRequest.MigrateClusterState, CollectionAdminRequest.OverseerStatus, CollectionAdminRequest.RebalanceLeaders, CollectionAdminRequest.Reload, CollectionAdminRequest.RemoveRole, CollectionAdminRequest.ReplaceNode, CollectionAdminRequest.RequestStatus, CollectionAdminRequest.RequestStatusResponse, CollectionAdminRequest.Restore, CollectionAdminRequest.ShardSpecificAdminRequest, CollectionAdminRequest.SplitShard
SolrRequest.METHOD
Modifier and Type | Field and Description |
---|---|
protected String |
nodeSet |
protected Properties |
properties |
collection, shard
asyncId
action
Constructor and Description |
---|
CreateShard()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
String |
getNodeSet() |
SolrParams |
getParams() |
Properties |
getProperties() |
CollectionAdminRequest.CreateShard |
setAsyncId(String id)
Deprecated.
|
CollectionAdminRequest.CreateShard |
setCollectionName(String collection)
Deprecated.
|
CollectionAdminRequest.CreateShard |
setNodeSet(String nodeSet) |
CollectionAdminRequest.CreateShard |
setProperties(Properties properties) |
CollectionAdminRequest.CreateShard |
setShardName(String shardName)
Deprecated.
|
createResponse, getAsyncId, processAndWait, processAndWait, processAsync, processAsync
addProperties, addReplicaByRouteKey, addReplicaProperty, addReplicaToShard, addRole, backupCollection, balanceReplicaProperty, createAlias, createCollection, createCollection, createCollectionWithImplicitRouter, createShard, deleteAlias, deleteAllAsyncIds, deleteAsyncId, deleteCollection, deleteReplica, deleteReplicaProperty, deleteReplicasFromAllShards, deleteReplicasFromShard, 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 String nodeSet
protected Properties properties
@Deprecated public CreateShard()
CollectionAdminRequest.createShard(String, String)
public CollectionAdminRequest.CreateShard setNodeSet(String nodeSet)
public String getNodeSet()
public Properties getProperties()
public CollectionAdminRequest.CreateShard setProperties(Properties properties)
@Deprecated public CollectionAdminRequest.CreateShard setCollectionName(String collection)
setCollectionName
in class CollectionAdminRequest.AsyncShardSpecificAdminRequest
@Deprecated public CollectionAdminRequest.CreateShard setShardName(String shardName)
setShardName
in class CollectionAdminRequest.AsyncShardSpecificAdminRequest
IllegalArgumentException
- if the shard name contains invalid characters.@Deprecated public CollectionAdminRequest.CreateShard setAsyncId(String id)
setAsyncId
in class CollectionAdminRequest.AsyncCollectionAdminRequest
public SolrParams getParams()
getParams
in class CollectionAdminRequest.AsyncShardSpecificAdminRequest
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.