public static class CollectionAdminRequest.CreateShard extends CollectionAdminRequest.CollectionShardAsyncAdminRequest<CollectionAdminRequest.CreateShard>
CollectionAdminRequest.AddReplica, CollectionAdminRequest.AddReplicaProp, CollectionAdminRequest.AddRole, CollectionAdminRequest.AsyncCollectionAdminRequest<T extends CollectionAdminRequest<T>>, CollectionAdminRequest.BalanceShardUnique, CollectionAdminRequest.ClusterProp, CollectionAdminRequest.ClusterStatus, CollectionAdminRequest.CollectionAdminRoleRequest<T extends CollectionAdminRequest<T>>, CollectionAdminRequest.CollectionShardAdminRequest<T extends CollectionAdminRequest<T>>, CollectionAdminRequest.CollectionShardAsyncAdminRequest<T extends CollectionAdminRequest<T>>, CollectionAdminRequest.CollectionSpecificAdminRequest<T extends CollectionAdminRequest<T>>, CollectionAdminRequest.CollectionSpecificAsyncAdminRequest<T extends CollectionAdminRequest<T>>, 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.Reload, CollectionAdminRequest.RemoveRole, CollectionAdminRequest.RequestStatus, CollectionAdminRequest.SplitShard
SolrRequest.METHOD
Modifier and Type | Field and Description |
---|---|
protected String |
nodeSet |
protected Properties |
properties |
asyncId
collection, shardName
action
Constructor and Description |
---|
CreateShard() |
Modifier and Type | Method and Description |
---|---|
String |
getNodeSet() |
SolrParams |
getParams() |
Properties |
getProperties() |
protected CollectionAdminRequest.CreateShard |
getThis() |
CollectionAdminRequest.CreateShard |
setNodeSet(String nodeSet) |
CollectionAdminRequest.CreateShard |
setProperties(Properties properties) |
CollectionAdminRequest.CreateShard |
setShardName(String shardName)
Provide the name of the shard to be created.
|
getAsyncId, setAsyncId
getCollectionName, getShardName, setCollectionName
addProperties, createResponse, getContentStreams, setAction
getBasicAuthPassword, getBasicAuthUser, getMethod, getPath, getQueryParams, getResponseParser, getStreamingResponseCallback, process, process, setBasicAuthCredentials, setMethod, setPath, setQueryParams, setResponseParser, setStreamingResponseCallback
protected String nodeSet
protected Properties properties
public CollectionAdminRequest.CreateShard setNodeSet(String nodeSet)
public String getNodeSet()
public Properties getProperties()
public CollectionAdminRequest.CreateShard setProperties(Properties properties)
public CollectionAdminRequest.CreateShard setShardName(String shardName)
setShardName
in class CollectionAdminRequest.CollectionShardAdminRequest<CollectionAdminRequest.CreateShard>
IllegalArgumentException
- if the shard name contains invalid characters.public SolrParams getParams()
protected CollectionAdminRequest.CreateShard getThis()
getThis
in class CollectionAdminRequest<CollectionAdminRequest.CreateShard>
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.