public static class CollectionAdminRequest.Create extends CollectionAdminRequest
CollectionAdminRequest.AddReplica, CollectionAdminRequest.CollectionShardAdminRequest, CollectionAdminRequest.Create, CollectionAdminRequest.CreateAlias, CollectionAdminRequest.CreateShard, CollectionAdminRequest.Delete, CollectionAdminRequest.DeleteAlias, CollectionAdminRequest.DeleteShard, CollectionAdminRequest.Reload, CollectionAdminRequest.RequestStatus, CollectionAdminRequest.SplitShard
SolrRequest.METHOD
Modifier and Type | Field and Description |
---|---|
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 |
action, asyncId, collection
Constructor and Description |
---|
CollectionAdminRequest.Create() |
Modifier and Type | Method and Description |
---|---|
Boolean |
getAutoAddReplicas() |
String |
getConfigName() |
String |
getCreateNodeSet() |
Integer |
getMaxShardsPerNode() |
Integer |
getNumShards() |
SolrParams |
getParams() |
Integer |
getReplicationFactor() |
String |
getRouterName() |
String |
getShards() |
void |
setAutoAddReplicas(boolean autoAddReplicas) |
void |
setConfigName(String config) |
void |
setCreateNodeSet(String nodeSet) |
void |
setMaxShardsPerNode(Integer numShards) |
void |
setNumShards(Integer numShards) |
void |
setReplicationFactor(Integer repl) |
void |
setRouterField(String routerField) |
void |
setRouterName(String routerName) |
void |
setShards(String shards) |
createAlias, createCollection, createCollection, createCollection, createCollection, createCollection, createCollection, createCollection, createCollection, createCollection, createShard, createShard, deleteAlias, deleteCollection, deleteCollection, deleteShard, getContentStreams, process, reloadCollection, reloadCollection, requestStatus, setAction, setAsyncId, setCollectionName, splitShard, splitShard, splitShard, splitShard
getMethod, getPath, getResponseParser, getStreamingResponseCallback, setMethod, setPath, 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
public void setConfigName(String config)
public void setCreateNodeSet(String nodeSet)
public void setRouterName(String routerName)
public void setShards(String shards)
public void setRouterField(String routerField)
public void setNumShards(Integer numShards)
public void setMaxShardsPerNode(Integer numShards)
public void setAutoAddReplicas(boolean autoAddReplicas)
public void setReplicationFactor(Integer repl)
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 SolrParams getParams()
getParams
in class CollectionAdminRequest
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.