public static class CollectionAdminRequest.Create extends CollectionAdminRequest.CollectionSpecificAdminRequest<CollectionAdminRequest.Create>
CollectionAdminRequest.AddReplica, CollectionAdminRequest.AddReplicaProp, CollectionAdminRequest.AddRole, CollectionAdminRequest.BalanceShardUnique, CollectionAdminRequest.ClusterProp, CollectionAdminRequest.ClusterStatus, CollectionAdminRequest.CollectionAdminRoleRequest<T extends CollectionAdminRequest<T>>, CollectionAdminRequest.CollectionShardAdminRequest<T extends CollectionAdminRequest<T>>, CollectionAdminRequest.CollectionSpecificAdminRequest<T extends CollectionAdminRequest<T>>, CollectionAdminRequest.Create, CollectionAdminRequest.CreateAlias, CollectionAdminRequest.CreateShard, CollectionAdminRequest.Delete, CollectionAdminRequest.DeleteAlias, CollectionAdminRequest.DeleteReplica, CollectionAdminRequest.DeleteReplicaProp, CollectionAdminRequest.DeleteShard, 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 |
asyncId |
protected Boolean |
autoAddReplicas |
protected String |
configName |
protected String |
createNodeSet |
protected Integer |
maxShardsPerNode |
protected Integer |
numShards |
protected Integer |
replicationFactor |
protected String |
routerField |
protected String |
routerName |
protected String |
shards |
protected Integer |
stateFormat |
collection
action
Constructor and Description |
---|
CollectionAdminRequest.Create() |
getCollectionName, setCollectionName
addProperties, createResponse, getContentStreams, setAction
getBasicAuthPassword, getBasicAuthUser, getMethod, getPath, getQueryParams, getResponseParser, getStreamingResponseCallback, process, process, setBasicAuthCredentials, setMethod, setPath, setQueryParams, setResponseParser, setStreamingResponseCallback
protected String configName
protected String createNodeSet
protected String routerName
protected String shards
protected String routerField
protected Integer numShards
protected Integer maxShardsPerNode
protected Integer replicationFactor
protected Boolean autoAddReplicas
protected Integer stateFormat
protected String asyncId
public CollectionAdminRequest.Create setConfigName(String config)
public CollectionAdminRequest.Create setCreateNodeSet(String nodeSet)
public CollectionAdminRequest.Create setRouterName(String routerName)
public CollectionAdminRequest.Create setShards(String shards)
public CollectionAdminRequest.Create setRouterField(String routerField)
public CollectionAdminRequest.Create setNumShards(Integer numShards)
public CollectionAdminRequest.Create setMaxShardsPerNode(Integer numShards)
public CollectionAdminRequest.Create setAutoAddReplicas(boolean autoAddReplicas)
public CollectionAdminRequest.Create setReplicationFactor(Integer repl)
public CollectionAdminRequest.Create setStateFormat(Integer stateFormat)
public CollectionAdminRequest.Create setAsyncId(String asyncId)
public CollectionAdminRequest.Create setRule(String... s)
public CollectionAdminRequest.Create setSnitch(String... s)
public String getConfigName()
public String getCreateNodeSet()
public String getRouterName()
public String getShards()
public Integer getNumShards()
public Integer getMaxShardsPerNode()
public Integer getReplicationFactor()
public Boolean getAutoAddReplicas()
public Integer getStateFormat()
public String getAsyncId()
public Properties getProperties()
public CollectionAdminRequest.Create setProperties(Properties properties)
public SolrParams getParams()
getParams
in class CollectionAdminRequest.CollectionSpecificAdminRequest<CollectionAdminRequest.Create>
protected CollectionAdminRequest.Create getThis()
getThis
in class CollectionAdminRequest<CollectionAdminRequest.Create>
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.