public static class CollectionAdminRequest.Create extends CollectionAdminRequest.CollectionSpecificAdminRequest
CollectionAdminRequest.AddReplica, CollectionAdminRequest.AddReplicaProp, CollectionAdminRequest.AddRole, CollectionAdminRequest.BalanceShardUnique, CollectionAdminRequest.ClusterProp, CollectionAdminRequest.ClusterStatus, CollectionAdminRequest.CollectionAdminRoleRequest, CollectionAdminRequest.CollectionShardAdminRequest, CollectionAdminRequest.CollectionSpecificAdminRequest, CollectionAdminRequest.Create, CollectionAdminRequest.CreateAlias, CollectionAdminRequest.CreateShard, CollectionAdminRequest.Delete, CollectionAdminRequest.DeleteAlias, CollectionAdminRequest.DeleteReplica, CollectionAdminRequest.DeleteReplicaProp, CollectionAdminRequest.DeleteShard, CollectionAdminRequest.List, CollectionAdminRequest.Migrate, 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() |
Modifier and Type | Method and Description |
---|---|
String |
getAsyncId() |
Boolean |
getAutoAddReplicas() |
String |
getConfigName() |
String |
getCreateNodeSet() |
Integer |
getMaxShardsPerNode() |
Integer |
getNumShards() |
SolrParams |
getParams() |
Properties |
getProperties() |
Integer |
getReplicationFactor() |
String |
getRouterName() |
String |
getShards() |
Integer |
getStateFormat() |
void |
setAsyncId(String asyncId) |
void |
setAutoAddReplicas(boolean autoAddReplicas) |
void |
setConfigName(String config) |
void |
setCreateNodeSet(String nodeSet) |
void |
setMaxShardsPerNode(Integer numShards) |
void |
setNumShards(Integer numShards) |
void |
setProperties(Properties properties) |
void |
setReplicationFactor(Integer repl) |
void |
setRouterField(String routerField) |
void |
setRouterName(String routerName) |
void |
setRule(String... s) |
void |
setShards(String shards) |
void |
setSnitch(String... s) |
void |
setStateFormat(Integer stateFormat) |
setCollectionName
addProperties, createResponse, getContentStreams, setAction
getMethod, getPath, getQueryParams, getResponseParser, getStreamingResponseCallback, process, process, 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 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 void setStateFormat(Integer stateFormat)
public void setAsyncId(String asyncId)
public void setRule(String... s)
public void 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 void setProperties(Properties properties)
public SolrParams getParams()
getParams
in class CollectionAdminRequest.CollectionSpecificAdminRequest
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.